text_to_image
Generate Qwen AI images from text prompts, returning task IDs, status, and output URLs. Choose aspect ratios, formats, and seeds, then poll or receive webhook callbacks for completed results.
Instructions
Create a Qwen Image task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Integer seed for reproducible results. | |
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | Image generation prompt. | |
| timeout_ms | No | ||
| aspect_ratio | No | Output aspect ratio. | |
| callback_url | No | Webhook URL for asynchronous task updates. | |
| output_format | No | Output image format. | |
| poll_interval_ms | No |