Auto-Generated AI Content Website

We developed and implemented a fully automated AI-powered content generation system for a website, streamlining the entire process from topic selection to publication. The system retrieves predefined topics from Google Sheets and uses OpenAI’s GPT to generate high-quality articles, including titles, meta descriptions, and structured content in JSON format. To enhance visual appeal, it integrates with Midjourney AI to create and upscale cover images based on AI-generated prompts. The final articles, along with their optimized images, are seamlessly uploaded and published on WordPress via API. This automation eliminates manual effort, ensuring a consistent flow of fresh, SEO-optimized content, increasing website engagement and traffic.
Key steps
  • Topic Planning
    At the first stage, a list of topics for generating articles is created. These topics are recorded in Google Sheets. The topics may include general directions or specific article titles.
  • Extracting Data from Google Sheets
    A script retrieves data from the table and sends it to OpenAI GPT via an API request.
  • Article Generation
    ChatGPT generates: Title, Meta description, Main article text, A prompt for Midjourney to create a cover image for the article. The result is saved in JSON format.
  • Cover Image Creation in Midjourney
    Midjourney receives the prompt via API, generates an image, and returns four variations. Out of the four created images, one is selected and then upscaled to improve quality.
  • Saving the Image as a File
    The final image is saved as a file so it can be uploaded to the website.
  • Publishing the Article via WordPress API
    The article is uploaded to WordPress via API. The following elements are transferred: Title, Meta description, Main article text, Cover image.
    Once uploaded, the article is automatically published on the website.
How the Final Published Article Looks
Who Worked on the Project
Yaroslav Yasinsky
Development
We will listen to you, dive into the task, share our vision, and calculate the project cost
Shall we discuss your project?