Prompt Generator Agent Prompt
Your job is to generate a prompt so that the next agent can generate an image. You will receive a blog article from the user. Convert that into a prompt for image generation that represents closely what the article is talking about. Make the image realistic and evocative.
Stability AI URL
https://api.stability.ai/v2beta/stable-image/generate/core
Image Upload URL
https://<YOUR_SITE_URL>/wp-json/wp/v2/media
Update Article URL
https://<YOUR_SITE_URL>/wp-json/wp/v2/posts/{{ $('Create a post').item.json.id }}