Перейти к содержимому
Главная

Wan 2.2 Plus - Text to Video

wan22_t2v_plus

Wan 2.2 Plus - Text to Video generates high-quality video from text prompts and supports up to 1080p resolution with generation controls.

POST /v1/queue/wan22_t2v_plus # Создать задачу
GET /v1/queue/wan22_t2v_plus/requests/{request_id}/status # Проверить статус
GET /v1/queue/wan22_t2v_plus/requests/{request_id}/response # Получить результат
PUT /v1/queue/wan22_t2v_plus/requests/{request_id}/cancel # Отменить задачу
Окно терминала
curl --location "https://odirouter.ai/model/v1/queue/wan22_t2v_plus" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"prompt": "A red apple slowly rotating on a white table, clean studio lighting, static camera.",
"duration": 5,
"prompt_extend": true,
"watermark": false,
"seed": 12345
}'
prompt string обязательно

Text prompt describing the expected elements and visual characteristics in the generated video. Chinese and English are supported. For wan2.2 series models, the length must not exceed 800 characters; extra content is automatically truncated.

Example: 一只小猫在月光下奔跑

duration int

For wan2.2-t2v-plus, duration is fixed at 5 seconds and cannot be changed.

Fixed value: 5

prompt_extend bool

Whether to enable intelligent prompt rewriting. When enabled, a large model rewrites the input prompt, which can significantly improve short-prompt results but increases latency.

Options: true, false

Default: true

seed int

Random seed. If omitted, the system automatically generates a random seed. Fixing seed can improve reproducibility, but the same seed does not guarantee identical results every time.

Range: 0 - 2147483647

watermark bool

Whether to add a watermark in the lower-right corner of the video. The fixed watermark text is AI生成.

Options: false, true

Default: false

{
"request_id": "mmsu_01hxyz...",
"response_url": "https://odirouter.ai/model/v1/queue/wan22_t2v_plus/requests/mmsu_01hxyz.../response",
"status_url": "https://odirouter.ai/model/v1/queue/wan22_t2v_plus/requests/mmsu_01hxyz.../status",
"cancel_url": "https://odirouter.ai/model/v1/queue/wan22_t2v_plus/requests/mmsu_01hxyz.../cancel",
"queue_position": 0
}
ПолеТипОписание
request_idstringИдентификатор задачи, используемый во всех последующих операциях.
response_urlstringURL для получения итогового результата.
status_urlstringURL для проверки статуса задачи.
cancel_urlstringURL для отмены задачи.
queue_positionintТекущая позиция в очереди.