For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generate Image

Generate a JPEG or PNG image at run time for upload or webcam Flows.

Generate image creates a JPEG or PNG during the Run. Use it when the journey needs an image file that does not already exist on the page, such as an upload or a webcam stream.

Generate image Test Step

When to use it

  • Build an image to upload with File.

  • Feed a webcam check with Set webcam.

  • Prefer a fixed Filename so later steps can pick the Generated File reliably.

Example Flow

Generate the image, then upload it with File.

Generate image then File upload

Configure

Basics

Field
What to set

Type

JPEG (default) or PNG

Filename

Text and/or Values

Custom text

Optional text drawn into the generated image

Width

1–2000 (default 600)

Height

1–2000 (default 400)

Advanced

Field
What to set

Status on fail

When should screenshots be taken?

Always or On Failures (default)

Pro tip: Keep Width and Height close to what the upload field expects so the app accepts the file on the first try.

Tags: runner, generate, image

Last updated