
Personal Project
AI Social Media Content Engine

Full-stack AI content generation platform that creates platform-optimized social media posts — built with a Python/Flask backend, OpenAI GPT integration with prompt engineering, and a React frontend with real-time preview, tone controls, and multi-platform formatting (Twitter/LinkedIn/Instagram).
Architected a Flask REST API backend with OpenAI GPT integration for generating social media content. The API accepts structured input (topic, target audience, platform, tone, key points) and constructs multi-layered prompts using a template system: a system prompt establishes the AI as a social media strategist with platform-specific expertise, a context prompt injects brand voice guidelines and audience demographics, and a generation prompt specifies the exact output format including character limits, hashtag counts, and emoji usage per platform. Supports batch generation — one API call produces variants for Twitter (280 chars), LinkedIn (1300 chars), and Instagram (2200 chars) simultaneously.
Built a prompt engineering pipeline with chained GPT calls: the first call generates raw content, a second call self-critiques against platform best practices (engagement hooks, readability scores, hashtag relevance), and a third call refines based on the critique. This chain-of-thought approach produces measurably better content than single-shot generation. Temperature and top-p parameters are dynamically adjusted per tone setting — "professional" uses lower temperature (0.3) for consistency, "casual" uses higher (0.8) for creativity.
Developed a React frontend with real-time content preview: users configure topic, platform, tone (professional/casual/humorous/inspirational), target audience, and key points, then see generated posts rendered in platform-accurate mockups — Twitter card with character counter, LinkedIn post with engagement predictions, Instagram caption with hashtag block. Includes an A/B variant generator that creates 3 variations per platform for split-testing, a content calendar for scheduling posts across platforms, and one-click copy with platform-specific formatting preserved.