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 }'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: 一只小猫在月光下奔跑
For wan2.2-t2v-plus, duration is fixed at 5 seconds and cannot be changed.
Fixed value: 5
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
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
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_id | string | Идентификатор задачи, используемый во всех последующих операциях. |
response_url | string | URL для получения итогового результата. |
status_url | string | URL для проверки статуса задачи. |
cancel_url | string | URL для отмены задачи. |
queue_position | int | Текущая позиция в очереди. |