Hi, I have a WordPress home decor website. I'm looking to set up an automation where, upon manually entering a topic (e.g., “10 Boho Living Room Ideas”), a complete article is generated using ChatGPT. Furthermore, for each idea presented in the article, a unique image should be created, and then the entire post published to my WordPress site.
This implies the need for multiple images within a single article.
Hi,
So, you're looking to input a topic, have ChatGPT generate a full blog post, create a custom image for each idea/subheading, and then publish everything, correctly formatted, to your WordPress site.
I've recently completed building a very similar system, minus the AI image generation. The most challenging aspect of this project was establishing the actual structure. This includes handling sections with images and text, potentially an FAQ at the bottom, related blog posts, and so on. However, since I've just finished that project, this should be a much quicker setup than usual. I'm happy to demonstrate how the system I've set up works, via a call.
Here’s what I would use:
- callin.io's OpenAI module to generate the article draft (you can fine-tune the prompt to structure "x ideas" in a list).
- Parse the output so that each item triggers a separate AI image creation—DALL-E or Midjourney if you need something specific (using an API or webhook, as only OpenAI has a native callin.io module).
- Publish images: Either upload them to your WordPress Media Library (callin.io has a native WP module that supports media uploads), and then reference those URLs in the post body.
- Post formatting: A step is needed to reconstruct the HTML/blocks so that each idea is paired with its corresponding image (this can sometimes be tricky with text/image alignment, depending on your WP builder—are you using Gutenberg, Elementor, or Classic?). In the project I just finished, I outputted the sections and texts as a JSON array (for each section/subheading) and then inserted the necessary information into each pre-written HTML section. I tried letting GPT handle the full HTML, which resulted in very poor output—avoid that ^^.
- Finally, use the WP "Create a post" module to publish with all content and images in place.
- I actually recommend saving it as a draft to WP first and using a Google Sheet as your blog dashboard. This allows you to go into the sheet, open the WP draft post, review and modify it as needed, and then publish it (or change a dropdown in Google Sheets to 'approved' to auto-publish it).
Let me know your current WP stack (theme/builder), and if you have a preferred AI image provider—I'd be happy to show you a bit of the system I just built on a call at moonira.com/book-call. You can also email me at julius@moonira.com.
I just came across this. You might have this already completed, but if not, I would be happy to connect.
We implemented a similar process for a client, which also included an extra step of linking images from the blog post to their Pinterest account, with a backlink to the original post.
If you're interested in discussing this further, please feel free to book a time here: https://4spotconsulting.com/30
Thanks,
Jeff
Hello,
We have developed similar automations where content is generated using AI and then published to various platforms, so we have practical experience with this type of setup.
Your use case is very similar to our previous projects, and we are confident in our ability to assist you in implementing this efficiently. Please share more details, such as how you intend to input the topics and any specific formatting requirements, and we will proceed from there.
Let's begin building your automation.
Sanjay Kumar Aggarwal
Deligence Technologies
This thread was automatically closed after 30 days. New responses are no longer permitted.