Перейти к содержимому

MiniMax H3 Text to Video

Интеграция

ID модели minimax/h3/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.",
    "duration": 5,
    "resolution": "480P",
    "aspect_ratio": "16:9"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Этот запрос: 0,25 $ 250 API-кредитов · ≈ 26,70 ₽ Запустить на этой странице

Получить API-ключ
MiniMax Текст в видео Вывод в 4K5–15 сдо 4K #motion#soundtrack

Видеомодель MiniMax (Hailuo) для живого движения, от 5 до 15 секунд, до 4K.

Примеры

Результат · ~39 с

ПромптCreate a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.

5 s480P16:90,25 $ · 250 API-кредитов

Промпт от @LudovicCreator в X

Сформировать запрос

Элементы управления сгенерированы из схемы модели. Код и цена обновляются при изменении параметров.

•обязательно 1382 / 50000

Текстовые инструкции для генерации видео.

resolution

Выберите разрешение сгенерированного видео: 2K и 4K получают увеличением базы 768P. При выборе 480P или 768P используется нативная генерация.

aspect_ratio

Соотношение сторон выходного видео.

Длительность видео в секундах.

Расширенные prompt_expansion_mode · target_audio_url · seed
по умолчанию balanced

Интенсивность переписывания промпта перед генерацией: выберите 'quality' для более подробного промпта примерно за 30 секунд или 'fast' для результата примерно за секунду. При 'balanced' выбор выполняется для каждого запроса; 'disabled' отключает расширение.

Перетащите файл или

Необязательный замещающий саундтрек, передаваемый через URL HTTP(S) или URI данных base64; длительность клипа должна быть не менее 2 секунд, а размер — не более 15 MB. Переданное аудио заменяет сгенерированный саундтрек без изменения скорости воспроизведения: лишняя длительность удаляется с конца, а к более коротким клипам добавляется тишина до длительности видео. Для необычно высокой частоты дискретизации может выполняться ресемплинг до 96 kHz.

Сид для случайной генерации; если не указан, выбирается случайно.

POST /run/minimax/h3/text-to-video?wait=20 стоимость → 0,25 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.",
    "duration": 5,
    "resolution": "480P",
    "aspect_ratio": "16:9"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Запустить этот запрос

Ваш ключ хранится в этом браузере: он отправляется только в Doitong API и сохраняется в localStorage только при включении параметра «Запомнить». Получить API-ключ

О MiniMax H3 Text to Video

MiniMax H3 генерирует выразительные движения персонажей и камеры по промпту. Рендеринг выполняется нативно в 480P или 768P; варианты 2K и 4K масштабируют результат 768P. Клип длится от 5 до 15 секунд и поддерживает шесть соотношений сторон; необязательный встроенный переписыватель промпта имеет четыре уровня интенсивности, а собственную аудиодорожку можно зафиксировать как саундтрек.

Параметры

ИмяТип По умолчаниюДопустимые значения Описание
promptобязательно
Типstring
≤ 50 000 символов
Текстовые инструкции для генерации видео.
durationнеобязательно
Типinteger
По умолчанию5
5 – 15
Длительность видео в секундах.
resolutionнеобязательно
Типenum
По умолчанию2K
480P768P2K4K
Выберите разрешение сгенерированного видео: 2K и 4K получают увеличением базы 768P. При выборе 480P или 768P используется нативная генерация.
seedнеобязательно
Типinteger | null
Сид для случайной генерации; если не указан, выбирается случайно.
prompt_expansion_modeнеобязательно
Типstring | null
По умолчаниюbalanced
Интенсивность переписывания промпта перед генерацией: выберите 'quality' для более подробного промпта примерно за 30 секунд или 'fast' для результата примерно за секунду. При 'balanced' выбор выполняется для каждого запроса; 'disabled' отключает расширение.
target_audio_urlнеобязательно
Типurl · audio
Необязательный замещающий саундтрек, передаваемый через URL HTTP(S) или URI данных base64; длительность клипа должна быть не менее 2 секунд, а размер — не более 15 MB. Переданное аудио заменяет сгенерированный саундтрек без изменения скорости воспроизведения: лишняя длительность удаляется с конца, а к более коротким клипам добавляется тишина до длительности видео. Для необычно высокой частоты дискретизации может выполняться ресемплинг до 96 kHz.
aspect_ratioнеобязательно
Типenum
По умолчанию16:9
21:916:94:31:13:49:16
Соотношение сторон выходного видео.
обязательно

Параметры файлов принимают общедоступный https:// URL, data: URI размером до 10 MB или file_url загруженного файла. Файлы

Результат

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "A white kitten chases a butterfly across a sunlit garden, gentle tracking camera, soft afternoon light",
    "duration": 6,
    "resolution": "768P"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "expanded_prompt": "string"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ваши файлы — ваш выборКаждый URL из outputs[].url — это копия в нашем хранилище: она хранится навсегда (оплата за ГБ в месяц) или 7 дней бесплатно — в зависимости от настройки вашего аккаунта или параметра ?storage=.
Одинаковая структура у каждой моделиtype, url, content_type, width, height и duration — одинаково для изображений, видео и аудио. output — собственный объект результата модели.
Поля результата
video
object {url, content_type, file_name, file_size}Видео, созданное моделью.
expanded_prompt
string | nullРасширенный промпт, подготовленный для модели, или null, если расширенный текст отсутствует. Значение null используется при отключённом расширении, если расширение ничего не изменило или если оно обрабатывается внутренне размещённым API модели.

Другие модели: Текст в видео

Для AI-агентов: эта страница в формате Markdown доступна по адресу https://doitong.com/ru/developers/models/minimax/h3/text-to-video.md. Все модели и руководства: https://doitong.com/developers/llms.txt