PostGenie AI is an AI-powered platform that transforms a single idea into platform-optimized social media posts. By leveraging Amazon Bedrock’s advanced foundation models, the system generates tailored content for platforms such as LinkedIn, X, Instagram, and Facebook while maintaining a consistent brand voice.
The platform also enables users to edit, regenerate, schedule, and publish posts directly to their connected social accounts. With its modern and intuitive interface, PostGenie AI simplifies and accelerates the entire social media content creation workflow.
This project was built for the AI For Bharat 2026. The goal of the challenge was to design an AI-driven solution that improves digital content creation and workflows, leveraging the power of Amazon Bedrock and serverless architecture.
- Hackathon Name: AI For Bharat 2026
- Track: Student Track
- Problem Statement: Design an AI-driven solution that helps create, manage, personalize, or distribute digital content more effectively.
- Team Name: NeuralCoderz
- Team Members: 1. Bikram Mondal (Solo Participant)
Many creators and businesses struggle to produce optimized content across multiple social media platforms. Each platform demands a distinct tone, format, length, and engagement style—such as platform-specific hooks, hashtags, and writing structure. As a result, adapting the same idea for different platforms becomes time-consuming, and manual cross-posting often leads to inconsistent quality and reduced engagement on some platforms.
PostGenie AI transforms a single idea into multiple platform-ready posts using an AI-driven, multi-model generation strategy. By leveraging the latest foundation models available through Amazon Bedrock, the system tailors content specifically for platforms such as LinkedIn, Twitter (X), and Instagram, while maintaining a consistent brand voice and messaging across all channels.
With a single click, users can generate platform-optimized posts for multiple social media networks simultaneously. PostGenie AI also enables users to instantly publish the generated content to their connected social accounts (LinkedIn & Twitter supported) or schedule posts for a later time, streamlining the entire content distribution workflow.
- AI-Powered Post Generation: Instant generation of posts for LinkedIn, Twitter, and Instagram from a single prompt.
- Platform-Specific Optimization: Automatic adjustment of tone, length, and formatting for each social network.
- Tone & Voice Customization: Create and save custom "System Instructions" (Voice Profiles) to guide the AI in matching your specific brand personality.
- Modern & User-Friendly UI: A clean, intuitive, and responsive interface designed for efficient content creation, editing, and management.
- Multi-platform Post Cards: Visual cards representing how your post will look on each platform before you publish.
- Image Support: Upload images to accompany your posts. AI-based image generation is currently under development as a future enhancement.
- Scheduled Publishing: Plan your content calendar and schedule posts for future publication using Amazon EventBridge.
- Post Editing & Export: Copy generated content, regenerate specific platforms, edit text manually, and export posts for future use.
- Account & Profile Management: Personalize your profile with an avatar, set timezones for accurate scheduling, and update security settings.
graph TD
A[User Idea / Prompt] --> B[Frontend - PostGenie UI]
B --> C[API Gateway]
C --> D[AWS Lambda - Content Handler]
D --> E[Amazon Bedrock / Groq Fallback]
E --> F[Nova Lite: LinkedIn]
E --> G[Nova Micro: Twitter/X]
E --> H[Nova Pro: Instagram]
F & G & H --> I[Review & Edit Dash]
I --> J[Instant Post or Scheduled Publish]
J --> K[DynamoDB / EventBridge]
- User Idea: Input a core concept into the platform.
- AI Processing: The system uses Amazon Bedrock (with Groq fallback) to process the idea.
- Multi-Model Strategy: Different models generate content for different platforms (Nova Lite for LinkedIn, Micro for Twitter, Pro for Instagram).
- Customization: User-defined system instructions are applied to maintain brand consistency.
- Publishing: Content is either sent immediately to social APIs or queued for scheduling.
| AWS Service | Purpose |
|---|---|
| Amazon Bedrock | Core AI engine for post generation (using Nova foundation models) |
| AWS Lambda | Serverless backend execution for API logic and publishing tasks |
| Amazon API Gateway | Secure entry point for the frontend application |
| Amazon DynamoDB | Storage for users, connection tokens, posts, and voice profiles |
| Amazon S3 | Hosting for the frontend static assets and media storage |
| Amazon CloudFront | Global Content Delivery Network (CDN) for fast application access |
| AWS Secrets Manager | Secure storage for social media OAuth credentials |
| Amazon EventBridge | Automated cron jobs for the content scheduling system |
The application is built on a 100% serverless stack for maximum scalability and zero maintenance:
- Frontend: Built with React 18, Vite, TypeScript, Tailwind CSS, and Framer Motion.
- Backend: Node.js Lambda functions managed and deployed with AWS CDK.
- Auth: Custom JWT-based authentication system stored in DynamoDB for secure user sessions.
- AI Layer: Leverages Amazon Bedrock's latest Nova models to ensure high-quality and platform-relevant content.
PostGenie AI uses a specialized "Model-per-Platform" strategy to optimize for both quality and latency:
- LinkedIn: Nova Lite (optimized for longer, professional, and conversational storytelling).
- Twitter (X): Nova Micro (optimized for speed and concise, punchy character-limited text).
- Instagram: Nova Pro (optimized for highly creative, lifestyle-focused captions and emojis).
Each platform is fed unique system instructions that define the formatting, hashtag density, and engagement techniques unique to that network.
- Node.js (v18+)
- AWS Account with Bedrock model access granted
- AWS CLI configured correctly
- Clone the repository and navigate to the root.
- Install Infrastructure dependencies:
cd infrastructure npm install - Deploy the AWS resources:
Note: Ensure your environment variables like
npx cdk deploy
JWT_SECRETare set in your local shell or passed during deployment.
- Navigate to the frontend directory:
cd frontend npm install - Create a
.envfile with yourVITE_API_URL(obtained from the CDK output). - Start the application:
npm run dev
AWS_REGION: AWS region for Bedrock and DynamoDB.GROQ_API_KEY: Fallback AI provider key.JWT_SECRET: Secret for securing user authentication.ENCRYPTION_KEY: Used to encrypt social media access tokens in the database.
VITE_API_URL: The URL of your deployed AWS API Gateway.
- Bikram Mondal – Full Stack Web Developer & AI Engineer
This project is licensed under the MIT License.