Мазмұнға өту

MiniMax H3 Text to Video

Интеграциялау

Модель идентификаторы 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 кредиті Осы бетте іске қосу

API кілтін алу
MiniMax Мәтіннен бейнеге 4K шығысы5–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 кредиті

X желісіндегі @LudovicCreator пайдаланушысының промпты

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті 1382 / 50000

Бейне генерациялауға арналған мәтіндік нұсқаулар.

resolution

Генерацияланған бейненің ажыратымдылығын таңдаңыз; 2K және 4K 768P негізін масштабтау арқылы алынады. 480P немесе 768P таңдалса, табиғи генерация пайдаланылады.

aspect_ratio

Шығыс бейнесінің кадр пішімі.

Бейне ұзақтығы секундпен өлшенеді.

Қосымша prompt_expansion_mode · target_audio_url · seed
әдепкі balanced

Генерация алдындағы нұсқауды қайта жазу қарқындылығы: шамамен 30 секундқа дейін мазмұнырақ нұсқау үшін 'quality', шамамен бір секундтағы нәтиже үшін 'fast' мәнін таңдаңыз. 'balanced' кезінде таңдау әр сұрау үшін жасалады; 'disabled' кеңейтуді өшіреді.

Файлды тастаңыз немесе

HTTP(S) URL немесе base64 деректер URI арқылы берілетін қосымша саундтрек; үзіндінің ұзақтығы кемінде 2 секунд және өлшемі 15 MB-тан аспауы керек. Берілген аудио ойнату жылдамдығын өзгертпей, генерацияланған саундтректің орнына қолданылады: артық ұзақтық соңынан қысқартылады, ал қысқа үзінділер бейнеге сәйкес келуі үшін үнсіздікпен толықтырылады. Ерекше жоғары дискреттеу жиіліктері үшін 96 kHz-ке қайта дискреттеу орын алуы мүмкін.

Кездейсоқ генерацияға арналған seed; көрсетілмесе, кездейсоқ таңдалады.

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-ге жіберіледі және Remember параметрін белгілеcеңіз ғана 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
Кездейсоқ генерацияға арналған seed; көрсетілмесе, кездейсоқ таңдалады.
prompt_expansion_modeміндетті емес
Түріstring | null
Әдепкіbalanced
Генерация алдындағы нұсқауды қайта жазу қарқындылығы: шамамен 30 секундқа дейін мазмұнырақ нұсқау үшін 'quality', шамамен бір секундтағы нәтиже үшін 'fast' мәнін таңдаңыз. 'balanced' кезінде таңдау әр сұрау үшін жасалады; 'disabled' кеңейтуді өшіреді.
target_audio_urlміндетті емес
Түріurl · audio
HTTP(S) URL немесе base64 деректер URI арқылы берілетін қосымша саундтрек; үзіндінің ұзақтығы кемінде 2 секунд және өлшемі 15 MB-тан аспауы керек. Берілген аудио ойнату жылдамдығын өзгертпей, генерацияланған саундтректің орнына қолданылады: артық ұзақтық соңынан қысқартылады, ал қысқа үзінділер бейнеге сәйкес келуі үшін үнсіздікпен толықтырылады. Ерекше жоғары дискреттеу жиіліктері үшін 96 kHz-ке қайта дискреттеу орын алуы мүмкін.
aspect_ratioміндетті емес
Түріenum
Әдепкі16:9
21:916:94:31:13:49:16
Шығыс бейнесінің кадр пішімі.
міндетті

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың 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"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдей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/kk/developers/models/minimax/h3/text-to-video.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt