Key Capabilities
- Text-to-image — Generate images from text descriptions
- Flexible sizes — Specify output resolution via
size - URL or Base64 — Choose the return format via
response_format
Quick Example
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be wan2.6-t2i |
prompt | string | Yes | Image description text |
n | integer | No | Number of images to generate, default 1 |
size | string | No | Output size, e.g. 1024x1024 |
response_format | string | No | url (default) or b64_json |
Response Fields
| Field | Description |
|---|---|
data[].url | Image download URL (valid ~24 hours) |
data[].b64_json | Base64-encoded image (only returned when response_format=b64_json) |
data[].revised_prompt | Actual prompt after AI expansion |
created | Creation timestamp |
API Reference
View the interactive API Playground for Wan2.6 T2I.

