text_to_image
Generate images from text prompts using Z Image models. Specify aspect ratio and optional wait for results.
Instructions
Create a Z Image task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| aspect_ratio | Yes | ||
| wait | No | Poll until the task reaches a terminal status. | |
| timeout_ms | No | ||
| poll_interval_ms | No | ||
| model | No | RunAPI model slug for this model line. |