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

# Seedance 2.0

> ByteDance Seedance 2.0 動画生成モデル、テキストから動画、画像から動画（最初のフレーム/最初と最後のフレーム）、マルチモーダル参照から動画、音声付き動画をサポート（非同期）

[火山エンジン](https://www.volcengine.com)の Seedance 2.0 モデルを使用して動画を生成します。

**モデルの特徴:**

* **複数の生成モード** - テキストから動画、画像から動画（最初のフレーム/最初と最後のフレーム）、マルチモーダル参照から動画をサポート
* **音声付き動画** - 内蔵音声生成をサポート
* **Fast & Standard モード** - 2.0 Fast（より高速で低コスト）と 2.0 Standard を選択可能
* **柔軟な長さ** - 4〜15秒、または -1 でモデルに自動選択させる


## OpenAPI

````yaml /ja/openapi.yaml POST /generate/vol/seedance-2.0
openapi: 3.0.0
info:
  contact:
    email: support@sinancode.com
    name: API Support
    url: https://sinancode.com/support
  description: AIモデルタスクスケジューリングプラットフォーム API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://sinancode.com/terms-of-service
  title: TikTomato API
  version: '1.0'
servers:
  - url: https://api.sinancode.com/v1
    description: 本番サーバー
security: []
paths:
  /generate/vol/seedance-2.0:
    post:
      tags:
        - public
      summary: Seedance 2.0 動画生成
      description: >-
        ByteDance Seedance 2.0
        動画生成モデル、テキストから動画、画像から動画（最初のフレーム/最初と最後のフレーム）、マルチモーダル参照から動画、音声付き動画をサポート（非同期）
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vol.CreateSeedance20TaskRequest'
        description: タスクパラメータ
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.CreateTaskResponse'
        '400':
          description: パラメータエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '401':
          description: 認証エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '500':
          description: サーバーエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
      security:
        - AccessToken: []
components:
  schemas:
    vol.CreateSeedance20TaskRequest:
      properties:
        duration:
          default: 5
          description: |-
            動画の長さ（オプション、デフォルト 5 秒）
            範囲: 4-15 秒、または -1 に設定してモデルに自動選択させる
          example: 5
          maximum: 15
          minimum: -1
          type: integer
        first_frame:
          description: 最初のフレーム画像 URL（オプション、画像から動画の最初のフレームモード用）
          example: https://example.com/first_frame.jpg
          type: string
        generate_audio:
          default: true
          description: 音声を生成するかどうか（オプション、デフォルト true）
          example: true
          type: boolean
        last_frame:
          description: 最後のフレーム画像 URL（オプション、first_frame と一緒に使用する必要があります）
          example: https://example.com/last_frame.jpg
          type: string
        model:
          default: fast
          description: |-
            モデルバージョン（オプション、デフォルト fast）
            オプション: fast（2.0 Fast、より高速で低コスト）, standard（2.0 Standard）
          enum:
            - fast
            - standard
          example: fast
          type: string
        prompt:
          description: プロンプト（オプション、マルチモーダル参照モードでは省略可能）
          example: 女孩抱着狐狸，女孩睁开眼，温柔地看向镜头
          maxLength: 2000
          type: string
        ratio:
          default: adaptive
          description: アスペクト比（オプション、デフォルト adaptive）
          enum:
            - '16:9'
            - '4:3'
            - '1:1'
            - '3:4'
            - '9:16'
            - '21:9'
            - adaptive
          example: adaptive
          type: string
        reference_images:
          description: |-
            参照画像 URL リスト（オプション、1-9枚、マルチモーダル参照から動画生成用）
            注意：参照画像と最初/最後のフレームモードは排他的です
          items:
            type: string
          maxItems: 9
          type: array
        resolution:
          default: 720p
          description: |-
            解像度（オプション、デフォルト 720p）
            Seedance 2.0 は 1080p に対応していません
          enum:
            - 480p
            - 720p
          example: 720p
          type: string
        watermark:
          default: false
          description: ウォーターマークを追加するかどうか（オプション、デフォルト false）
          example: false
          type: boolean
      required:
        - reference_images
      type: object
    dto.CreateTaskResponse:
      properties:
        task_id:
          description: タスクID
          example: 01234567-89ab-cdef-0123-456789abcdef
          type: string
      required:
        - task_id
      type: object
    apierror.ErrorResponse:
      properties:
        error_code:
          description: '機械可読なエラーコード（例: TASK.INVALID_PARAMS）'
          type: string
        message:
          description: ユーザーフレンドリーなエラーメッセージ
          type: string
      type: object
  securitySchemes:
    AccessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Tokenを使用して認証を行ってください

````