text_to_image
Convert text prompts into images using Qwen 2 text-to-image model. Submit a prompt and receive a task ID, status, and generated image URLs.
Instructions
Create a Qwen 2 task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | ||
| timeout_ms | No | ||
| aspect_ratio | No | ||
| callback_url | No | ||
| output_format | No | ||
| poll_interval_ms | No | ||
| enable_safety_checker | No |