Skip to main content
RunAnywhere.images generates an image from a prompt.

Signatures

Options

Watching it appear

With reportPartials: true, the stream emits intermediate images so you can show progress rather than a spinner.

Reproducing an image

Fix the seed and every other option, and the same prompt produces the same image.

Cost

Image generation is the heaviest thing in the SDK. A 512×512 image at 20 steps takes far longer than a text completion and warms the device noticeably. Show progress, allow cancellation by cancelling the enclosing Task, and do not run it on a timer.