> ## 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 Reference-to-Video マルチモーダル参照動画生成

> - 参照画像 9 枚、参照動画 3 本、参照音声 3 本まで
- 参照画像または動画が少なくとも 1 つ必要。音声のみは不可
- 出力時間は `5`～`15` 秒、現在は `2k` のみ対応
- タスク ID で[状態を照会](/ja/api-manual/task-management/get-task-detail)
- 生成 URL の有効期間は 24 時間です



## OpenAPI

````yaml ja/api-manual/video-series/minimax/minimax-h3/minimax-h3-reference-to-video.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Minimax H3 Reference-to-Video API
  description: 画像・動画・音声参照に対応する Minimax H3 Reference-to-Video 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 Reference-to-Video マルチモーダル参照動画生成
      description: |-
        - 参照画像 9 枚、参照動画 3 本、参照音声 3 本まで
        - 参照画像または動画が少なくとも 1 つ必要。音声のみは不可
        - 出力時間は `5`～`15` 秒、現在は `2k` のみ対応
        - タスク ID で[状態を照会](/ja/api-manual/task-management/get-task-detail)
        - 生成 URL の有効期間は 24 時間です
      operationId: createMinimaxH3ReferenceToVideo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationRequest'
            examples:
              image_reference:
                summary: 画像参照
                value:
                  model: minimax-h3-reference-to-video
                  prompt: >-
                    Image 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
                  duration: 5
                  quality: 2k
                  aspect_ratio: adaptive
              video_audio_reference:
                summary: 動画・音声参照
                value:
                  model: minimax-h3-reference-to-video
                  prompt: >-
                    Video 1
                    の動き、テンポ、構図、カメラワークを完全に踏襲する。人物は「風に従い、自由に生きる。悩みを置いて、今を楽しもう」と話す。Audio
                    1 の声質を使用し、口の動きを同期させる。
                  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
              multimodal:
                summary: マルチモーダル参照（画像 + 動画 + 音声）
                value:
                  model: minimax-h3-reference-to-video
                  prompt: >-
                    Video 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-reference-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: 動画生成モデル名
          enum:
            - minimax-h3-reference-to-video
          default: minimax-h3-reference-to-video
          example: minimax-h3-reference-to-video
        prompt:
          type: string
          minLength: 1
          description: >-
            参照素材の使い方と生成したい動画の内容を記述します。


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

            - 必須で、空文字列は使用できません

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

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


            **素材の参照規則：**

            - 素材は `Image 1`、`Image 2`、`Video 1`、`Audio 1` などの名前で参照します。Seedance
            形式の `@image1` や `@video1` は使用しません

            - 番号は `1` から始まり、各 URL 配列内の順序に対応します

            - `image_urls` の先頭は `Image 1`、`video_urls` の先頭は `Video
            1`、`audio_urls` の先頭は `Audio 1` です


            **入力制限：**

            - `image_start` と `image_end` は使用できません

            - 参照画像を `1` 枚以上、または参照動画を `1` 本以上指定してください。参照音声だけでは使用できません
          example: >-
            Video 1 の人物を Image 1 のキャラクターに置き換え、顔、髪型、服装を維持する。Video 1
            の動き、テンポ、構図、カメラワークをそのまま保ち、Audio 1 の声で台詞を演じて口の動きを同期させる。
        image_urls:
          type: array
          description: |-
            参照画像の 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: |-
            参照動画の 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: |-
            参照音声の 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` は使用できません
            - 出力時間は料金に直接影響します
          default: 5
          minimum: 5
          maximum: 15
          example: 5
        quality:
          type: string
          description: |-
            出力動画の解像度。デフォルトは `2k` です。

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

            **注意：**
            - `768p` はまだ提供されておらず、指定するとパラメータエラーになります
            - 出力ビットレート、フレームレート、動画コーデック、音声コーデックはプラットフォームが決定し、リクエストでは設定できません
          enum:
            - 2k
          default: 2k
          example: 2k
        aspect_ratio:
          type: string
          description: |-
            出力動画のアスペクト比。デフォルトは `adaptive` です。

            **使用可能な値：**
            - `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 ステータスコードを成功とみなし、その他のステータスコードでリトライをトリガー
          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-reference-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
        ```

````