text_to_image
Generate images from text prompts with adjustable aspect ratio and resolution. Submit a prompt and receive a task ID, status, and output URLs.
Instructions
Create a Flux 2 task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| aspect_ratio | No | ||
| output_resolution | No | ||
| 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. |