Auto prompt, generate image with stable diffusion and save image in s3 minIO or set feature image on wordpress

Hi everyone, I’m working on something complex an AI Agent for generate daily content on social and website


This is just a piece

The main functionalities are:

  • Know your business and your daily requirements
  • Search for last news and scrape it, translate it and reformulate it
  • Create a new articles like human with a good SEO practice
  • Create and save image for the article and social when is required
  • Create social post from articles and post it
  • Create video/reel/stories and share on social

So today i show you the workflow of image creation

  1. This workflow is activated from another workflow
  2. or from a webhook sent from WordPress when you click a button (created with meta-box) and a little JS script
  3. GPT analyze the content of the article and generates a prompt for the image
  4. Call Stable Diffusion 3.5 large model API and generate the image with the correct aspect ratio
  5. we have a node if we want an image upscaled (from 1024 pixel to 5000px)
  6. we save the image on our self-host minIO s3
  7. or we save the image in the wordpress media
  8. set the image on the correct wordpress post
  9. in case of image for social, we respond with URL of the image uploaded on minIO

If you want some info, write a comment! :smiley:

PS: when is ready, I share the workflow here :slight_smile:

Would love to learn more… especially capabilities around working with Minio…

1 Like

hi, Do you have some specific questions?