> ## Documentation Index
> Fetch the complete documentation index at: https://evolink.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Minimax H3 全パラメータガイド

> Minimax H3 シリーズ共通の統合 API です。`model` パラメータで生成モードを選択します。

**3つの生成モード：**

| モード | モデル ID | 入力素材 |
|:---|:---|:---|
| Text-to-Video | `minimax-h3-text-to-video` | `prompt` のみ |
| Image-to-Video | `minimax-h3-image-to-video` | `prompt` + `image_start` および/または `image_end` |
| Reference-to-Video | `minimax-h3-reference-to-video` | `prompt` + `image_urls` / `video_urls` / `audio_urls` |

**共通機能：**
- 出力時間は `5`〜`15` 秒。現在は `2k` のみ対応
- 非同期処理。返却されたタスク ID で[タスクを照会](/ja/api-manual/task-management/get-task-detail)
- Minimax H3 のタスクはキャンセル不可
- 生成動画の URL は24時間有効です。早めに保存してください



## OpenAPI

````yaml ja/api-manual/video-series/minimax/minimax-h3/minimax-h3-overview.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Minimax H3 全モデル API
  description: テキストから動画、画像から動画、マルチモーダル参照から動画まで、Minimax H3 の3モデルを網羅する統合 API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
tags:
  - name: 動画生成
    description: AI動画生成関連API
paths:
  /v1/videos/generations:
    post:
      tags:
        - 動画生成
      summary: Minimax H3 動画生成（全モデル）
      description: >-
        Minimax H3 シリーズ共通の統合 API です。`model` パラメータで生成モードを選択します。


        **3つの生成モード：**


        | モード | モデル ID | 入力素材 |

        |:---|:---|:---|

        | Text-to-Video | `minimax-h3-text-to-video` | `prompt` のみ |

        | Image-to-Video | `minimax-h3-image-to-video` | `prompt` +
        `image_start` および/または `image_end` |

        | Reference-to-Video | `minimax-h3-reference-to-video` | `prompt` +
        `image_urls` / `video_urls` / `audio_urls` |


        **共通機能：**

        - 出力時間は `5`〜`15` 秒。現在は `2k` のみ対応

        - 非同期処理。返却されたタスク ID
        で[タスクを照会](/ja/api-manual/task-management/get-task-detail)

        - Minimax H3 のタスクはキャンセル不可

        - 生成動画の URL は24時間有効です。早めに保存してください
      operationId: createMinimaxH3VideoGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationRequest'
            examples:
              text_to_video:
                summary: テキストから動画
                value:
                  model: minimax-h3-text-to-video
                  prompt: >-
                    壮大なスペースオペラ映画の予告編。女性艦長が巨大な展望窓の前に一人で立ち、窓の外では最後の艦隊が集結している。艦隊がワープするとまばゆい白い光が炸裂し、艦橋が激しく揺れる。光が消えた後、彼女だけが静かな深宇宙に取り残される。映画的な照明、ゆっくりとしたドリーイン、壮大でありながら抑制された雰囲気。
                  duration: 5
                  quality: 2k
                  aspect_ratio: '16:9'
              image_to_video:
                summary: 画像から動画（開始フレーム駆動）
                value:
                  model: minimax-h3-image-to-video
                  prompt: >-
                    手前のラーメン鉢から奥の人物へゆっくりとフォーカスを移す。湯気は鉢から立ち上り続け、空気中に自然に漂う。人物の同一性と店内の環境を維持しながら、カメラをわずかに前進させる。
                  image_start: >-
                    https://cdn.hailuoai.com/prod/hailuo_demo/testsets/H3_AA_I2VA/gallery/sr_v17_variants_seed42_43_20260724/inputs/4a3a90bf9100_KDmcbkhzYo5sjjxr9FqcVmWVnzb.png
                  duration: 5
                  quality: 2k
              reference_to_video:
                summary: マルチモーダル参照（画像 + 動画 + 音声）
                value:
                  model: minimax-h3-reference-to-video
                  prompt: >-
                    Video 1 の人物を Image 1 のキャラクターに置き換え、Image 1
                    の顔、髪型、衣装を維持する。Video 1 の動き、テンポ、構図、カメラワークを完全に保持し、Audio 1
                    の声で台詞を演じてリップシンクさせる。
                  image_urls:
                    - >-
                      https://cdn.hailuoai.com/prod/hailuo_demo/testsets/H3_AA_I2VA/gallery/sr_v17_variants_seed42_43_20260724/inputs/4a3a90bf9100_KDmcbkhzYo5sjjxr9FqcVmWVnzb.png
                  video_urls:
                    - >-
                      https://cdn.hailuoai.com/prod/hailuo_demo/testsets/h3_promo_eval_ref2va/gallery/sr_v2p26_trio_seed42_20260724/inputs/297573323635_00_%E8%A7%86%E9%A2%911_YnyRbxEwio_video_20260525_163755_1927e9d3.mp4
                  audio_urls:
                    - >-
                      https://cdn.hailuoai.com/prod/hailuo_demo/testsets/h3_promo_eval_ref2va/gallery/sr_v2p26_trio_seed42_20260724/inputs/f463d523c5ce_01_%E9%9F%B3%E9%A2%911_RSLcbpzJPo_6%E6%9C%885%E6%97%A5(1).mp3
                  duration: 5
                  quality: 2k
                  aspect_ratio: adaptive
      responses:
        '200':
          description: 動画生成タスクの作成に成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
        '400':
          description: リクエストパラメータエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_request
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: 未認証、Tokenが無効または期限切れ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: クォータ不足、チャージが必要
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: アクセス権限なし
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: >-
                    Token does not have access to model:
                    minimax-h3-text-to-video
                  type: invalid_request_error
        '429':
          description: リクエスト頻度が上限を超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: サーバー内部エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    VideoGenerationRequest:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: >-
            動画生成モデル名。


            | モデル ID | モード | 素材パラメータ |

            |:---|:---|:---|

            | `minimax-h3-text-to-video` | テキストから動画 | メディア素材は指定不可 |

            | `minimax-h3-image-to-video` | 画像から動画 | `image_start` および/または
            `image_end` |

            | `minimax-h3-reference-to-video` | マルチモーダル参照から動画 | `image_urls` /
            `video_urls` / `audio_urls` |
          enum:
            - minimax-h3-text-to-video
            - minimax-h3-image-to-video
            - minimax-h3-reference-to-video
          example: minimax-h3-text-to-video
        prompt:
          type: string
          minLength: 1
          description: >-
            生成したい動画の内容を記述します。必須で、空文字列は使用できません。


            **プロンプト要件：**

            - 中国語と英語に対応しています

            - 中国語は `500` 文字以内、英語は `1000` 語以内を推奨します。長すぎるプロンプトでは一部の詳細が無視される場合があります


            **モデル別の使い方：**

            - **Text-to-Video：** シーン、被写体、動作、カメラ、雰囲気を記述し、メディアフィールドは指定しません

            - **Image-to-Video：** 開始/終了フレーム内の被写体の動きとカメラの変化を記述し、`image_start`
            および/または `image_end` を使用します

            - **Reference-to-Video：** 参照素材の使用方法を記述します。素材は `Image 1`、`Image
            2`、`Video 1`、`Audio 1` などの名前で参照し、Seedance 形式の `@image1` や `@video1`
            は使用しません。番号は `1` から始まり、各 URL 配列の順序に対応します
          example: 映画的なシーン。宇宙飛行士が月面基地の展望窓の前に立ち、カメラがゆっくり前進する中、遠くの地平線から地球が昇る。
        image_start:
          type: string
          format: uri
          description: |-
            **対応モデル：**
            - `minimax-h3-image-to-video` のみ
            - テキストから動画および参照から動画では使用できません

            開始フレーム画像の HTTP(S) URL。

            **組み合わせ規則：**
            - `image_start` と `image_end` の少なくとも一方を指定します
            - `image_start` のみ：開始フレームから動画を生成します
            - 両方：開始・終了フレーム間の動画を生成します
            - 開始フレームは最大 `1` 枚で、このフィールドには 1 つの URL を指定します

            **画像要件：**
            - 形式：JPG、JPEG、PNG、WEBP、HEIC、HEIF
            - サイズ：`30MB` 以下
            - 幅と高さ：それぞれ `256`～`5760` px
            - アスペクト比（幅/高さ）：`0.4`～`2.5`
            - URL は HTTP(S) を使用し、サービスから直接アクセスできる必要があります
            - JSON リクエスト本文全体は `64MB` 以下です。Base64 と `mm_file://` 入力は受け付けません
          example: >-
            https://cdn.hailuoai.com/prod/hailuo_demo/testsets/H3_AA_I2VA/gallery/sr_v17_variants_seed42_43_20260724/inputs/4a3a90bf9100_KDmcbkhzYo5sjjxr9FqcVmWVnzb.png
        image_end:
          type: string
          format: uri
          description: |-
            **対応モデル：**
            - `minimax-h3-image-to-video` のみ
            - テキストから動画および参照から動画では使用できません

            終了フレーム画像の HTTP(S) URL。

            **組み合わせ規則：**
            - `image_end` と `image_start` の少なくとも一方を指定します
            - `image_end` のみ：このフレームで終わる自然な動きを生成します
            - 両方：開始・終了フレーム間の動画を生成します
            - 終了フレームは最大 `1` 枚で、このフィールドには 1 つの URL を指定します

            **画像要件：**
            - 形式：JPG、JPEG、PNG、WEBP、HEIC、HEIF
            - サイズ：`30MB` 以下
            - 幅と高さ：それぞれ `256`～`5760` px
            - アスペクト比（幅/高さ）：`0.4`～`2.5`
            - URL は HTTP(S) を使用し、サービスから直接アクセスできる必要があります
            - JSON リクエスト本文全体は `64MB` 以下です。Base64 と `mm_file://` 入力は受け付けません
          example: >-
            https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1920&q=85
        image_urls:
          type: array
          description: |-
            **対応モデル：**
            - `minimax-h3-reference-to-video` のみ
            - テキストから動画および画像から動画では使用できません

            参照画像の HTTP(S) URL 配列。デフォルトは `[]`、最大 `9` 枚です。

            **役割と番号：**
            - すべての画像は `reference_image` として使用されます
            - 配列の先頭が `Image 1`、2 番目が `Image 2` となります

            **画像要件：**
            - 形式：JPG、JPEG、PNG、WEBP、HEIC、HEIF
            - サイズ：1 枚あたり `30MB` 以下
            - 幅と高さ：それぞれ `256`～`5760` px
            - アスペクト比（幅/高さ）：`0.4`～`2.5`
            - URL は HTTP(S) を使用し、サービスから直接アクセスできる必要があります
            - JSON リクエスト本文全体は `64MB` 以下です。Base64 と `mm_file://` 入力は受け付けません

            **組み合わせ規則：**
            - 参照画像を `1` 枚以上、または参照動画を `1` 本以上指定します
            - `audio_urls` だけを指定するとパラメータエラーになります
          default: []
          maxItems: 9
          items:
            type: string
            format: uri
          example:
            - >-
              https://cdn.hailuoai.com/prod/hailuo_demo/testsets/H3_AA_I2VA/gallery/sr_v17_variants_seed42_43_20260724/inputs/4a3a90bf9100_KDmcbkhzYo5sjjxr9FqcVmWVnzb.png
        video_urls:
          type: array
          description: |-
            **対応モデル：**
            - `minimax-h3-reference-to-video` のみ
            - テキストから動画および画像から動画では使用できません

            参照動画の HTTP(S) URL 配列。デフォルトは `[]`、最大 `3` 本です。

            **役割と番号：**
            - すべての動画は `reference_video` として使用されます
            - 配列の先頭が `Video 1`、2 番目が `Video 2` となります

            **動画要件：**
            - コンテナ：MP4（`.mp4`）、MOV（`.mov`）
            - 動画コーデック：H.264/AVC、H.265/HEVC
            - 内蔵音声コーデック：AAC、MP3
            - サイズ：1 本あたり `50MB` 以下
            - 長さ：1 本 `2`～`15` 秒、参照動画の合計は `15` 秒以下
            - 幅と高さ：それぞれ `256`～`5760` px
            - アスペクト比（幅/高さ）：`0.4`～`2.5`
            - フレームレート：`23.976`～`60` FPS
            - URL は HTTP(S) を使用し、サービスから直接アクセスできる必要があります
            - JSON リクエスト本文全体は `64MB` 以下です。Base64 と `mm_file://` 入力は受け付けません

            **料金：**
            - 参照動画の入力時間も課金対象です

            **組み合わせ規則：**
            - 参照画像を `1` 枚以上、または参照動画を `1` 本以上指定します
            - `audio_urls` だけを指定するとパラメータエラーになります
          default: []
          maxItems: 3
          items:
            type: string
            format: uri
          example:
            - >-
              https://cdn.hailuoai.com/prod/hailuo_demo/testsets/h3_promo_eval_ref2va/gallery/sr_v2p26_trio_seed42_20260724/inputs/297573323635_00_%E8%A7%86%E9%A2%911_YnyRbxEwio_video_20260525_163755_1927e9d3.mp4
        audio_urls:
          type: array
          description: |-
            **対応モデル：**
            - `minimax-h3-reference-to-video` のみ
            - テキストから動画および画像から動画では使用できません

            参照音声の HTTP(S) URL 配列。デフォルトは `[]`、最大 `3` 本です。

            **役割と番号：**
            - すべての音声は `reference_audio` として使用されます
            - 配列の先頭が `Audio 1`、2 番目が `Audio 2` となります

            **音声要件：**
            - 形式：WAV、MP3
            - サイズ：1 本あたり `15MB` 以下
            - 長さ：1 本 `2`～`15` 秒、参照音声の合計は `15` 秒以下
            - URL は HTTP(S) を使用し、サービスから直接アクセスできる必要があります
            - JSON リクエスト本文全体は `64MB` 以下です。Base64 と `mm_file://` 入力は受け付けません

            **組み合わせ規則：**
            - 参照音声だけでは使用できません
            - `audio_urls` を使用する場合は、参照画像を `1` 枚以上、または参照動画を `1` 本以上あわせて指定します
          default: []
          maxItems: 3
          items:
            type: string
            format: uri
          example:
            - >-
              https://cdn.hailuoai.com/prod/hailuo_demo/testsets/h3_promo_eval_ref2va/gallery/sr_v2p26_trio_seed42_20260724/inputs/f463d523c5ce_01_%E9%9F%B3%E9%A2%911_RSLcbpzJPo_6%E6%9C%885%E6%97%A5(1).mp3
        duration:
          type: integer
          description: |-
            出力動画の長さ（秒）。デフォルトは `5` 秒です。

            **値の制限：**
            - `5`～`15` の整数のみ使用できます（境界値を含む）
            - 小数、数字文字列、`auto`、`-1` は使用できません
            - 出力時間は料金に直接影響します

            **対応モデル：**
            - Minimax H3 の全3モデル
          default: 5
          minimum: 5
          maximum: 15
          example: 5
        quality:
          type: string
          description: |-
            出力動画の解像度。デフォルトは `2k` です。

            **使用可能な値：**
            - `2k`：現在使用できる唯一の解像度

            **注意：**
            - `768p` はまだ提供されておらず、指定するとパラメータエラーになります
            - 出力ビットレート、フレームレート、動画コーデック、音声コーデックはプラットフォームが決定し、リクエストでは設定できません

            **対応モデル：**
            - Minimax H3 の全3モデル
          enum:
            - 2k
          default: 2k
          example: 2k
        aspect_ratio:
          type: string
          description: >-
            出力動画のアスペクト比。デフォルトは `adaptive` です。


            **対応モデル：**

            - `minimax-h3-text-to-video` に対応

            - `minimax-h3-reference-to-video` に対応

            - **`minimax-h3-image-to-video`
            には非対応です。画像から動画のリクエストではこのパラメータを送信しないでください**


            **選択可能な値：**

            - `adaptive`：プロンプトまたは参照素材に基づいてモデルが適切なアスペクト比を選択

            - `21:9`：ウルトラワイド

            - `16:9`：横長

            - `4:3`：標準横長

            - `1:1`：正方形

            - `3:4`：標準縦長

            - `9:16`：縦長
          enum:
            - adaptive
            - '21:9'
            - '16:9'
            - '4:3'
            - '1:1'
            - '3:4'
            - '9:16'
          default: adaptive
          example: adaptive
        callback_url:
          type: string
          description: >-
            タスク完了後の HTTPS コールバックアドレス


            **コールバックタイミング：**

            - タスク完了（completed）または失敗（failed）時にトリガー

            - 課金確認完了後に送信


            **セキュリティ制限：**

            - HTTPS プロトコルのみ対応

            -
            プライベートIPアドレスへのコールバックは禁止（127.0.0.1、10.x.x.x、172.16-31.x.x、192.168.x.x
            など）

            - URL の長さは `2048` 文字以内


            **コールバックメカニズム：**

            - タイムアウト：`10` 秒

            - 失敗後最大 `3` 回リトライ（失敗後 `1`/`2`/`4` 秒でそれぞれリトライ）

            - コールバックレスポンスボディのフォーマットはタスク照会APIの返却フォーマットと同一

            - 2xx ステータスコードを成功とみなし、その他のステータスコードでリトライをトリガー


            **対応モデル：**

            - Minimax H3 の全3モデル
          format: uri
          example: https://your-domain.com/webhooks/video-task-completed
          pattern: ^https://
      additionalProperties: false
    VideoGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: タスク作成タイムスタンプ
          example: 1761313744
        id:
          type: string
          description: タスクID
          example: task-unified-1774857405-abc123
        model:
          type: string
          description: 実際に使用されたモデル名
          example: minimax-h3-text-to-video
        object:
          type: string
          enum:
            - video.generation.task
          description: タスクの具体的なタイプ
        progress:
          type: integer
          description: タスク進捗パーセンテージ (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: タスクステータス
          enum:
            - pending
            - processing
            - completed
            - failed
          example: pending
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: 動画タスクの詳細情報
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: タスクの出力タイプ
          example: video
        usage:
          $ref: '#/components/schemas/VideoUsage'
          description: 使用量と課金情報
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: エラーコード識別子
            message:
              type: string
              description: エラー説明情報
            type:
              type: string
              description: エラータイプ
    VideoTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: タスクをキャンセルできるかどうか。Minimax H3 はキャンセル非対応で、常に `false` です。
          example: false
          enum:
            - false
          default: false
        estimated_time:
          type: integer
          description: 推定完了時間（秒）
          minimum: 0
          example: 165
        video_duration:
          type: integer
          description: 動画の再生時間（秒）
          example: 8
    VideoUsage:
      type: object
      description: 使用量と課金情報
      properties:
        billing_rule:
          type: string
          description: 課金ルール
          enum:
            - per_call
            - per_token
            - per_second
          example: per_second
        credits_reserved:
          type: number
          description: 推定消費クレジット数
          minimum: 0
          example: 50
        user_group:
          type: string
          description: ユーザーグループカテゴリ
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##すべてのAPIはBearer Tokenによる認証が必要です##

        **APIキーの取得：**

        [APIキー管理ページ](https://evolink.ai/dashboard/keys) にアクセスしてAPIキーを取得してください

        **リクエストヘッダーに以下を追加：**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````