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

Hailuo 1.0 Director - Image to Video

minimax_i2v_01_director

Hailuo 1.0 Director Image to Video adds advanced camera control to image-to-video generation, including pan, zoom, and tracking shots.

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

Image used as the first frame of the video. Supports public URLs or Base64 Data URLs such as data:image/jpeg;base64,....

Image formats: JPG, JPEG, PNG, WebP

Image size: less than 20MB

Image dimensions: short side greater than 300px, aspect ratio between 2:5 and 5:2

prompt string

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

Camera-control instructions can be added with [instruction] syntax in the prompt for precise camera control.

Horizontal move: [左移], [右移]

Horizontal pan: [左摇], [右摇]

Push and pull: [推进], [拉远]

Vertical move: [上升], [下降]

Vertical pan: [上摇], [下摇]

Zoom: [变焦推近], [变焦拉远]

Other: [晃动], [跟随], [固定]

Combined camera moves in the same [] take effect together, for example [左摇,上升]. Use at most 3 combined instructions.

Sequential camera moves appear in prompt order, for example [推进] followed by [拉远].

Natural-language camera descriptions are also supported, but standard instructions produce more accurate responses.

duration int

Video duration in seconds.

Options: 6

Default: 6

resolution string

Video resolution.

Options: 720P

Default: 720P

prompt_optimizer bool

Whether to automatically optimize the prompt. 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_i2v_01_director/requests/mmsu_01hxyz.../response",
"status_url": "https://odirouter.ai/model/v1/queue/minimax_i2v_01_director/requests/mmsu_01hxyz.../status",
"cancel_url": "https://odirouter.ai/model/v1/queue/minimax_i2v_01_director/requests/mmsu_01hxyz.../cancel",
"queue_position": 0
}
ПолеТипОписание
request_idstringИдентификатор задачи, используемый во всех последующих операциях.
response_urlstringURL для получения итогового результата.
status_urlstringURL для проверки статуса задачи.
cancel_urlstringURL для отмены задачи.
queue_positionintТекущая позиция в очереди.