Wan Text to Video
Applies to Wan series text-to-video models. The platform currently supports Ali wan2.7-t2v. After submitting a task, query its status via GET /v1/videos/{task_id}.
Public fields: model, prompt, seconds, size, prompt_extend, watermark, seed, negative_prompt.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Body
Wan text-to-video model. The platform currently supports wan2.7-t2v.
wan2.7-t2v Text prompt describing the desired video content. Supports Chinese and English, up to 800 characters.
Video duration (seconds) as a string. Default is "5".Range: [2, 15].
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 Output video resolution tier. wan2.7-t2v defaults to 1080P on the platform. Options: 720P, 1080P.
720P, 1080P Whether to enable intelligent prompt rewriting. The platform passes this field through to the upstream provider.
Whether to add a watermark to the video.
Random seed, range [0, 2147483647].
Negative prompt describing content you do not want in the video. Up to 500 characters.
Response
Submitted successfully. Returns a video task object.
Unique task identifier.
Task ID (same as id).
"video"
Model name used.
Task status.
pending, queued, running, succeeded, failed, cancelled Task progress (percentage).
Creation time as a Unix timestamp (seconds).