AIContentCreator is a web application that helps you generate and optimize social media posts. It uses OpenAI's ChatGPT to create relevant text content, DALLE-3 to generate images, and Google's Gemini AI to optimize posts for search engines.
You can access the live application here: https://ai-social-media-poster-a1f841196f5b.herokuapp.com/
Users are prompted to input various choices and text to create a prompt that is sent to ChatGPT. ChatGPT generates relevant text for the type of content post.
The application generates a DALLE-3 prompt to create a relevant image for the content post.
Users can click the "Optimize Post" button to send the post to Google's Gemini AI for optimization for search engines.
Users can create a custom DALLE-3 prompt by clicking "Click Here" in the footnote, entering their custom prompt, and generating an image relevant to their content post.
git clone https://github.com/your-repo/AIContentCreator.git cd AIContentCreator
Navigate to both the server and client folders and run npm install.
cd server npm install cd ../client npm install
Create a .env file in the server directory with the following variables:
OPENAI_API_KEY=your_openai_api_key GEMINI_API_KEY=your_gemini_api_key
Change all API calls in the application to point to localhost instead of the live URL.
Start the server and the client.
cd server npm run start cd ../client npm run start
Open your browser and navigate to http://localhost:3000 to use the application locally.
Generate a Post:
Fill in the required fields to generate a prompt. Click the "Generate Post" button. View the generated text content. Generate an Image:
Click the "Complete with DALLE-3 AI" button. View the generated image. Optimize Post:
Click the "Optimize Post with Gemini" button. View the optimized post content. Custom Image Prompt:
Click the "Click Here" link in the footnote. Enter a custom DALLE-3 prompt. Click the "Try Custom Prompt" button. View the custom generated image.
Feel free to submit issues and pull requests for improvements and fixes. Any contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.