> ## 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.

# Seedance 2.5 Flash Reference-to-Video マルチモーダル参照動画生成

> - 参照画像（0〜10枚）+ 参照動画（0〜5本）+ 参照音声（0〜5本）+ テキストプロンプトで動画を生成。画像・動画・音声のうち少なくとも1つを指定してください
- 新規生成に適しています：画像・動画・音声をスタイル、被写体、カメラワーク、BGM の参照として使用します
- **既存動画を編集するには [Seedance 2.5 Flash Video Edit](/ja/api-manual/video-series/seedance2.5/seedance-2.5-flash-video-edit) をご利用ください**：本モデルのプロンプトには編集・延長の意図を書かないでください（`prompt` の説明を参照）
- 非同期処理モード。返却されたタスクIDで[照会してください](/ja/api-manual/task-management/get-task-detail)
- 生成された動画リンクの有効期限は24時間です。お早めに保存してください



## OpenAPI

````yaml ja/api-manual/video-series/seedance2.5/seedance-2.5-flash-reference-to-video.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Seedance 2.5 Flash Reference-to-Video API
  description: Seedance 2.5 Flash マルチモーダル参照動画生成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: Seedance 2.5 Flash Reference-to-Video マルチモーダル参照動画生成
      description: >-
        - 参照画像（0〜10枚）+ 参照動画（0〜5本）+ 参照音声（0〜5本）+
        テキストプロンプトで動画を生成。画像・動画・音声のうち少なくとも1つを指定してください

        - 新規生成に適しています：画像・動画・音声をスタイル、被写体、カメラワーク、BGM の参照として使用します

        - **既存動画を編集するには [Seedance 2.5 Flash Video
        Edit](/ja/api-manual/video-series/seedance2.5/seedance-2.5-flash-video-edit)
        をご利用ください**：本モデルのプロンプトには編集・延長の意図を書かないでください（`prompt` の説明を参照）

        -
        非同期処理モード。返却されたタスクIDで[照会してください](/ja/api-manual/task-management/get-task-detail)

        - 生成された動画リンクの有効期限は24時間です。お早めに保存してください
      operationId: createSeedance25FlashReferenceToVideo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationRequest'
            examples:
              multimodal:
                summary: マルチモーダル参照（画像 + 動画 + 音声）
                value:
                  model: seedance-2.5-flash-reference-to-video
                  prompt: >-
                    Use the first-person perspective framing of @video1
                    throughout, and use @audio1 as background music throughout.
                    First-person perspective fruit tea promotional video...
                  image_urls:
                    - https://example.com/ref1.jpg
                    - https://example.com/ref2.jpg
                  video_urls:
                    - https://example.com/reference.mp4
                  audio_urls:
                    - https://example.com/bgm.mp3
                  duration: 10
                  quality: 720p
                  aspect_ratio: '16:9'
                  generate_audio: true
              subject_reference:
                summary: 画像 + 動画参照（被写体 + カメラワーク）
                value:
                  model: seedance-2.5-flash-reference-to-video
                  prompt: >-
                    Make the face cream in @image1 the hero product, and follow
                    the camera rhythm and lighting mood of @video1 to generate a
                    clean product commercial
                  image_urls:
                    - https://example.com/cream.jpg
                  video_urls:
                    - https://example.com/reference.mp4
                  duration: 5
                  quality: 720p
                  aspect_ratio: '16:9'
              multi_video:
                summary: 複数動画参照（複数カットの物語構成）
                value:
                  model: seedance-2.5-flash-reference-to-video
                  prompt: >-
                    The arched window in @video1 opens into the art gallery
                    interior, continuing with @video2; then the camera enters
                    the painting, continuing with @video3
                  video_urls:
                    - https://example.com/part1.mp4
                    - https://example.com/part2.mp4
                    - https://example.com/part3.mp4
                  duration: 8
                  quality: 720p
                  aspect_ratio: '16:9'
                  generate_audio: true
      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_parameter
                  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:
                    seedance-2.5-flash-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:
            - seedance-2.5-flash-reference-to-video
          default: seedance-2.5-flash-reference-to-video
          example: seedance-2.5-flash-reference-to-video
        prompt:
          type: string
          description: >-
            生成したい動画を説明するテキストプロンプト。中国語・英語に対応。中国語は500文字以内を推奨。プロンプトの最大長：10000
            tokens


            **説明：**

            - prompt
            内で入力素材を参照する場合は、「画像1」「動画1」「音声1」のような自然言語表現だけに頼らず、`@image1`、`@video1`、`@audio1`
            のような明示的なタグを優先してください

            - タグ番号は対応する URL 配列の順序と一致し、1 から始まります。`image_urls` の最初の要素は
            `@image1`、`video_urls` の最初の要素は `@video1`、`audio_urls` の最初の要素は
            `@audio1` です

            - 自然言語による番号指定も認識される場合がありますが、明示的なタグのほうが各素材と用途をより正確に対応付けられます


            **編集 / 延長タスクと判定されないために：**

            - タスク種別はプロンプトの意図から判定されます。「動画を編集」「追加」「削除」「変更 / 置換」などの表現は動画編集と判定され、「前方
            / 後方に延長」「続きを書く」などの表現は動画延長と判定されます

            -
            これらのタスクと判定されると、送信時にはエラーにならず、後からタスクが失敗する場合があります。仮押さえされたクレジットは返却されますが、待った時間は無駄になります

            - 編集が目的の場合は `seedance-2.5-flash-video-edit` を直接ご利用ください

            - 参照生成のみを行う場合は、「置き換える」「消す」といった表現を「画面に … が現れる」「@image1
            のスタイルで表現する」のような描写的な表現に言い換えてください
          example: >-
            Use the first-person perspective framing of @video1 throughout, and
            use @audio1 as background music throughout. First-person perspective
            fruit tea promotional video...
        image_urls:
          type: array
          description: >-
            参照画像 URL 配列、**省略可。指定する場合は1〜10枚**


            **必須条件：** `image_urls`、`video_urls`、`audio_urls`
            のうち少なくとも1つを指定してください。


            **役割の説明：**


            | メディアタイプ | 役割 | 典型的な用途 |

            |---------|------|----------|

            | 画像 | `reference_image` | スタイル参照、商品画像、先頭/末尾フレーム（promptで指定） |


            **画像要件：**

            - 対応フォーマット：`.jpeg`、`.png`、`.webp`

            - アスペクト比（幅/高さ）：`0.4` 〜 `2.5`

            - 幅・高さピクセル：`300` 〜 `6000` px

            - 1枚あたりのサイズ：`30MB` 以内

            - リクエストボディの合計サイズは `64MB` 以内。Base64エンコードは使用しないでください

            - 画像URLはサーバーから直接アクセス可能である必要があります
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 10
          example:
            - https://example.com/ref1.jpg
            - https://example.com/ref2.jpg
        video_urls:
          type: array
          description: >-
            参照動画 URL 配列、**省略可。指定する場合は1〜5本**


            **必須条件：** `image_urls`、`video_urls`、`audio_urls`
            のうち少なくとも1つを指定してください。


            **役割の説明：**


            | メディアタイプ | 役割 | 典型的な用途 |

            |---------|------|----------|

            | 動画 | `reference_video` | カメラワーク参照、動作参照 |


            **動画要件：**

            - 対応フォーマット：`.mp4`、`.mov`

            - 解像度：480p、720p、1080p、4K

            - 1本あたりの動画時間：`2` 〜 `30` 秒、最大5本、全動画の合計時間 ≤ `30` 秒

            - アスペクト比（幅/高さ）：`0.4` 〜 `2.5`

            - 幅・高さピクセル：`300` 〜 `6000` px

            - 画面ピクセル（幅 × 高さ）：`409,600` 〜 `8,295,044`（例：640×640 〜 3326×2494）

            - 1本あたりのサイズ：`200MB` 以内

            - フレームレート：`24` 〜 `60` FPS

            - リクエストボディの合計サイズは `64MB` 以内。Base64エンコードは使用しないでください

            - コーデック、解像度などの素材の有効性は、モデル側で追加確認されます

            - 動画参照を使用すると追加料金が発生します（入力動画の再生時間が課金に算入）

            - 動画URLはサーバーから直接アクセス可能である必要があります
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 5
          example:
            - https://example.com/reference.mp4
        audio_urls:
          type: array
          description: >-
            参照音声 URL 配列、**省略可。指定する場合は1〜5本**


            **必須条件：** `image_urls`、`video_urls`、`audio_urls`
            のうち少なくとも1つを指定してください。


            **役割の説明：**


            | メディアタイプ | 役割 | 典型的な用途 |

            |---------|------|----------|

            | 音声 | `reference_audio` | BGM、効果音、音声/セリフ参照 |


            **音声要件：**

            - 対応フォーマット：`.wav`、`.mp3`

            - 1本あたりの音声時間：`2` 〜 `30` 秒、最大5本、全音声の合計時間 ≤ `30` 秒

            - 1本あたりのサイズ：`15MB` 以内

            - リクエストボディの合計サイズは `64MB` 以内。Base64エンコードは使用しないでください

            - 音声URLはサーバーから直接アクセス可能である必要があります
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 5
          example:
            - https://example.com/bgm.mp3
        duration:
          type: integer
          description: |-
            出力動画の再生時間（秒）、デフォルトは `5` 秒

            **説明：**
            - `4`〜`30` 秒の任意の整数値に対応
            - `-1`（自動の長さ）には対応していません。指定すると 400 パラメータエラーになります
            - 再生時間は課金に直接影響します

            **課金ルール：**
            - 秒単位で課金されます
            - 課金対象の長さ：参照動画がない場合は出力時間、参照動画がある場合は `出力時間 + max(参照動画の合計時間, 出力時間)` です
            - 参照動画の合計時間は 1 秒単位で切り上げます
          default: 5
          example: 10
          minimum: 4
          maximum: 30
        quality:
          type: string
          description: |-
            動画の解像度、デフォルトは `720p`

            **選択可能な値：**
            - `480p`：解像度が低め、料金も低め
            - `720p`：標準解像度、デフォルト値
          enum:
            - 480p
            - 720p
          default: 720p
          example: 720p
        aspect_ratio:
          type: string
          description: |-
            動画のアスペクト比、デフォルトは `16:9`

            **選択可能な値：**
            - `16:9`（横向き）、`9:16`（縦向き）、`1:1`（正方形）、`4:3`、`3:4`、`21:9`（ウルトラワイド）
            - `adaptive`（自動比率）には対応していません。指定すると 400 パラメータエラーになります

            **各解像度の対応ピクセル値：**

            | アスペクト比 | 480p | 720p |
            |:------:|:----:|:----:|
            | 16:9 | 854×480 | 1280×720 |
            | 4:3 | 752×560 | 1112×834 |
            | 1:1 | 640×640 | 960×960 |
            | 3:4 | 560×752 | 834×1112 |
            | 9:16 | 480×854 | 720×1280 |
            | 21:9 | 992×432 | 1470×630 |
          enum:
            - '16:9'
            - '9:16'
            - '1:1'
            - '4:3'
            - '3:4'
            - '21:9'
          default: '16:9'
          example: '16:9'
        generate_audio:
          type: boolean
          description: |-
            同期音声を生成するかどうか、デフォルトは `true`

            **選択可能な値：**
            - `true`：動画に同期音声を含む、追加料金なし
            - `false`：無音動画を出力
          default: true
          example: true
        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
    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: seedance-2.5-flash-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: >-
            タスクをキャンセルできるかどうか。Seedance 2.5 Flash はユーザーによるタスクのキャンセルに対応していないため、常に
            `false` を返します。
          example: 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
        ```

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.