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" }'Text description for the video. Length must be between 1 and 2000 characters.
Video duration in seconds. Fixed at 6 seconds and cannot be changed.
Options: 6
Default: 6
Video resolution. Fixed at 720P and cannot be changed.
Options: 720P
Default: 720P
Whether to enable the prompt optimizer. Set to false for more precise control.
Default: true
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_id | string | Идентификатор задачи, используемый во всех последующих операциях. |
response_url | string | URL для получения итогового результата. |
status_url | string | URL для проверки статуса задачи. |
cancel_url | string | URL для отмены задачи. |
queue_position | int | Текущая позиция в очереди. |