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

Hailuo 1.0 - Text to Video

minimax_t2v_01

Hailuo 1.0 Text to Video converts text prompts into dynamic videos with intelligent scene composition and natural camera motion.

POST /v1/queue/minimax_t2v_01 # Создать задачу
GET /v1/queue/minimax_t2v_01/requests/{request_id}/status # Проверить статус
GET /v1/queue/minimax_t2v_01/requests/{request_id}/response # Получить результат
PUT /v1/queue/minimax_t2v_01/requests/{request_id}/cancel # Отменить задачу
Окно терминала
curl --location "https://odirouter.ai/model/v1/queue/minimax_t2v_01" \
--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": 6,
"resolution": "720P"
}'
prompt string обязательно

Text description for the video. Length must be between 1 and 2000 characters.

duration int

Video duration in seconds. Fixed at 6 seconds and cannot be changed.

Options: 6

Default: 6

resolution string

Video resolution. Fixed at 720P and cannot be changed.

Options: 720P

Default: 720P

prompt_optimizer bool

Whether to enable the prompt optimizer. Set to false for more precise control.

Default: true

aigc_watermark bool

Whether to add a watermark to the generated video.

Default: false

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