text_to_image
Generate images from text prompts using Wan models on RunAPI. Returns task ID, status, and output URLs. Supports custom aspect ratio, resolution, and polling.
Instructions
Create a Wan task on RunAPI (text to image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| timeout_ms | No | ||
| aspect_ratio | No | ||
| poll_interval_ms | No | ||
| output_resolution | No |