Wan V2.7 Pro
Authorizations
API Key for API endpoints
Body
Text prompt describing the desired output or edit. Supports Chinese and English.
1 - 2000Optional reference images for edit mode (1-4 images). Each image must be at least 384x384 pixels. When provided, the model runs image edit.
4Content to avoid in the generated image. Max 500 characters.
500Aspect ratio used to derive output size.
1:1, 3:4, 9:16, 4:3, 16:9 Random seed for reproducibility (0-2147483647).
0 <= x <= 2147483647Number of images to generate. Text mode supports up to 5; edit mode supports up to 4.
1 <= x <= 5Number of results to generate (1-4)
1 <= x <= 4Response
Generation submission accepted
Generation id.
Queue status
IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED, CANCELED Normalized input payload for the generation task.
Credit usage breakdown for the request
Machine-readable generation error code. Present when status is FAILED.
Sanitized human-readable failure message. Present when status is FAILED.