Documentation

← All agent examples

Image variations by email

Email an instruction with reference images and get three different variations back by reply. Reply with feedback to get three more; attach the images to keep working from, since each round generates from the images in the latest email.

Content
Automation
image generation
reference images
email
memory
loop

How it starts

When an email arrives.

Accepts files: Reference images, Other files (ignored)

What it needs

  • Conversation memory — Remembers each email thread's requests, feedback and generated images.

Steps

Record the email

Append Chat Turn

Plan three variations

Prompt Call

For each brief

For Each

For each item:

Generate the variation

Generate Image

Keep the brief

Item Value

After that, in parallel:

Reply with the variations

Send Email

In parallel:

Remember the variations

Append Chat Turn