Skip to content
Halaman ini belum tersedia dalam bahasa anda, jadi kandungannya dipaparkan dalam bahasa Inggeris.
MiniMax · MiniMax H3

MiniMax-H3 API

MiniMax-H3 generates videos with audio from text, images, and multimodal references on APISea.

Penjanaan videoVideoTugas tak segerak
ID model
MiniMax-H3

Harga API MiniMax-H3

Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.

PilihanAPISeaRasmiJimat
2KLalai$0.1006$0.13−23%
768P$0.06283$0.08−21%

Harga dinyatakan dalam bagi setiap saat.

Bahan input

PilihanUnitAPISeaRasmi
Defaultbagi setiap imej$0.02517$0.04
Defaultbagi setiap saat$0.1006$0.13
2Kbagi setiap saat$0.1006$0.13
768Pbagi setiap saat$0.06283$0.08

Apakah itu MiniMax-H3?

MiniMax-H3 is MiniMax’s video generation model for applications that turn text descriptions and visual references into short videos with an audio track. It supports text-to-video, image-to-video with first-frame, last-frame, or combined frame control, and multimodal reference-to-video using images, videos, and audio. Outputs can run from 4 to 15 seconds at 2K or 768P, with six supported aspect ratios. Requests automatically select the generation mode from the input fields and return a task ID for asynchronous tracking.

On APISea, call MiniMax-H3 through the video generation endpoint using your API key. Pricing is pay-as-you-go, with billing only for successful requests: 2K costs $0.1006 per second and 768P costs $0.06283 per second. Reference inputs have separate rates, and the default configuration is about 23% below the provider list price.

Sorotan MiniMax-H3

Three Generation Modes

Generate from text, control first and last frames with images, or supply multimodal references. The request fields select the mode automatically; no mode field is needed.

Video With Audio

Generate videos with an audio track at 2K or 768P resolution. Output duration supports integers from 4 to 15 seconds.

Explicit Frame Control

Set a starting image, an ending image, or both for image-to-video generation. Reference image arrays are treated as references, not frame controls.

Async Task Tracking

Submission returns a task ID for subsequent queries. A webhook can receive a notification when the task succeeds or fails.

Cara memanggil API MiniMax-H3 dalam 4 langkah

  1. 01

    Dapatkan API key

    Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.

  2. 02

    Tetapkan base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.

  3. 03

    Hantar permintaan

    Panggil POST /v1/videos/generations dengan "model": "MiniMax-H3" dan parameter di bawah.

  4. 04

    Urus respons

    Respons mengandungi task_id. Lakukan tinjauan berkala menggunakan GET /v1/tasks/{task_id} sehingga status menjadi completed, kemudian muat turun URL hasil.

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "MiniMax-H3",
    "prompt": "A boy playing basketball by the sea at dusk, waves crashing, cinematic camera work",
    "duration": 5,
    "resolution": "2K",
    "aspect_ratio": "16:9"
  }'

Parameter

ParameterJenisWajibLalaiPenerangan
modelstringWajib—Fixed value: `MiniMax-H3`
nsfw_checkbooleanPilihanfalseWhether to run content moderation before submitting the video task.
promptstringWajib—Video content description. **Required and non-empty in every scenario**, max **7000** characters per request.
durationintegerPilihan5Output duration (seconds)
resolutionstringPilihan2KVideo resolution
aspect_ratiostringPilihan—Aspect ratio. You may also pass `size` or `ratio` with the same effect.
watermarkbooleanPilihanfalseWhether to add an AIGC watermark
webhookstringPilihan—URL that receives a push when the task reaches a terminal state (success / failure)
first_frame_imagestringPilihan—First-frame image URL
last_frame_imagestringPilihan—Last-frame image URL
image_urlsstring[]Pilihan—Array of reference image URLs
video_urlsstring[]Pilihan—Array of reference video URLs
audio_urlsstring[]Pilihan—Array of reference audio URLs
image_with_rolesobject[]Pilihan—Role-tagged image array. Can replace `first_frame_image` / `last_frame_image` / `image_urls`. Each element:
urlstringWajib—Image URL
rolestringWajib—Image role. Allowed values:

Perkara yang boleh anda bina dengan MiniMax-H3

Prompt-to-Video Tools

Build an interface that turns scene, subject, motion, and style descriptions into short videos with audio.

Image Animation Workflows

Let users supply a starting image or ending image to guide a video, with optional control over both endpoints.

Reference-Based Creative Tools

Create video workflows that accept reference images and videos, plus optional audio references, alongside a required prompt.

Multi-Format Content Production

Build short-video creation tools with selectable landscape, square, and portrait aspect ratios, including 16:9, 1:1, and 9:16.

Petua untuk hasil yang lebih baik

  • 01

    Describe the Scene Clearly

    Include scene, subject, motion, and style in your prompt. A non-empty prompt is required in every mode and must stay within 7000 characters.

  • 02

    Keep Modes Separate

    Use first_frame_image and last_frame_image for frame control, or image_urls, video_urls, and audio_urls for references. Mixing these two groups returns HTTP 400.

  • 03

    Set Cost Controls Explicitly

    Specify duration and resolution instead of relying on the 5-second and 2K defaults. APISea charges $0.06283 per second for 768P versus $0.1006 per second for 2K; reference inputs have separate charges.

  • 04

    Track Completion Asynchronously

    Save the returned task ID for status queries, or provide webhook for terminal-state notifications. Use webhook rather than callback_url, which is not accepted from users.

Had dan perkara yang perlu diketahui

  • Output duration must be an integer from 4 to 15 seconds, and resolution must be 2K or 768P.

  • Reference arrays allow at most 9 images and 3 videos; audio references require at least one reference image or video.

  • Generation is asynchronous: submission returns a task ID rather than a completed video.

Soalan lazim API MiniMax-H3

How much does MiniMax-H3 cost on APISea?

Output pricing is $0.1006 per second for 2K and $0.06283 per second for 768P. Reference images cost $0.02517 per image (first 5 free); reference videos cost $0.1006 per second for Default or 2K and $0.06283 per second for 768P. The default configuration is about 23% below the provider list price, and APISea bills only for successful requests.

How do I call the MiniMax-H3 API?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication, model set explicitly to MiniMax-H3, and a non-empty prompt. The response returns a task ID for subsequent queries; you can also supply webhook for completion notifications.

Does MiniMax-H3 support image-to-video and reference inputs?

Yes: it supports first-frame, last-frame, and first-plus-last-frame image-to-video, as well as multimodal reference generation using images, videos, and audio. Frame-control fields cannot be combined with multimodal reference fields, and audio cannot be supplied alone.

What durations, resolutions, and aspect ratios are supported?

Duration supports integers from 4 to 15 seconds, with a default of 5; resolution supports 2K and 768P, with 2K as the default. Supported aspect ratios are 21:9, 16:9, 4:3, 1:1, 3:4, and 9:16; aspect_ratio also accepts the aliases size and ratio.

Can I use MiniMax-H3 videos commercially?

Commercial use is subject to the provider's terms. Review the applicable terms for your intended use; the supplied documentation does not establish commercial usage rights.

Can I reuse my MiniMax-Hailuo integration?

MiniMax-H3 shares the submit and query APIs used by MiniMax-Hailuo-02 and MiniMax-Hailuo-2.3. Existing Hailuo clients can switch by explicitly setting model to MiniMax-H3, while checking that request fields follow H3's mode and input restrictions.

Model berkaitan

Pilihan: 250+ model · Tambah nilai minimum $50

Mula membina dengan MiniMax-H3

Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.