Skip to content
Home

Wan 2.7 Image

wan2.7-image

Wan 2.7 Image is a fast image generation model that supports text-to-image, image editing, and multi-image reference generation.

POST /v1/queue/wan2.7-image # Create task
GET /v1/queue/wan2.7-image/requests/{request_id}/status # Check status
GET /v1/queue/wan2.7-image/requests/{request_id}/response # Get result
PUT /v1/queue/wan2.7-image/requests/{request_id}/cancel # Cancel task
Окно терминала
curl --location "https://odirouter.ai/model/v1/queue/wan2.7-image" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"prompt": "A red apple on a white table, clean studio lighting, simple background.",
"size": "1K",
"n": 1,
"watermark": false,
"seed": 12345
}'
role string

Message role. Use user.

prompt string Required

Positive prompt describing the desired image content, style, and composition. Chinese and English are supported.

Maximum length: 5000 characters

size string

Output image resolution. You can use a resolution tier or explicit dimensions such as 1024*1024; aspect ratio limits follow the official constraints.

Options: 1K, 2K

For square text-to-image prompts, size=1K returns a 1024x1024 PNG.

Default: 1K

n int

Number of images to generate. This parameter directly affects cost.

Range: 1 - 4

Default: 4

watermark bool

Whether to add a watermark. The watermark appears in the lower-right corner of the image.

Options: false, true

Default: false

seed int

Random seed. When omitted, the system generates a random seed automatically. A fixed seed can improve reproducibility, but identical results are not guaranteed.

Range: 0 - 2147483647

{
"request_id": "mmsu_01hxyz...",
"response_url": "https://odirouter.ai/model/v1/queue/wan2.7-image/requests/mmsu_01hxyz.../response",
"status_url": "https://odirouter.ai/model/v1/queue/wan2.7-image/requests/mmsu_01hxyz.../status",
"cancel_url": "https://odirouter.ai/model/v1/queue/wan2.7-image/requests/mmsu_01hxyz.../cancel",
"queue_position": 0
}
FieldTypeDescription
request_idstringTask ID used for later status checks, result retrieval, and cancellation
response_urlstringURL for retrieving the final result
status_urlstringURL for checking task status
cancel_urlstringURL for canceling the task
queue_positionintQueue position