> ## 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 video generation model, supports text-to-video, image-to-video (first frame / first & last frame), multimodal reference-to-video, and audio generation (async)

Generate videos using [Volcano Engine](https://www.volcengine.com)'s Seedance 2.0 model.

**Key Features:**

* **Multiple Generation Modes** - Text-to-video, image-to-video (first frame / first+last frame), and multi-modal reference-to-video
* **Audio Generation** - Built-in audio generation support
* **Fast & Standard Modes** - Choose between 2.0 Fast (faster, cheaper) and 2.0 Standard
* **Flexible Duration** - 4-15 seconds, or let the model decide automatically


## OpenAPI

````yaml /en/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 Model Task Scheduling Platform 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: Production server
security: []
paths:
  /generate/vol/seedance-2.0:
    post:
      tags:
        - public
      summary: Seedance 2.0 Video Generation
      description: >-
        ByteDance Seedance 2.0 video generation model, supports text-to-video,
        image-to-video (first frame / first & last frame), multimodal
        reference-to-video, and audio generation (async)
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vol.CreateSeedance20TaskRequest'
        description: Task parameters
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.CreateTaskResponse'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apierror.ErrorResponse'
      security:
        - AccessToken: []
components:
  schemas:
    vol.CreateSeedance20TaskRequest:
      properties:
        duration:
          default: 5
          description: |-
            Video duration (optional, default 5 seconds)
            Range: 4-15 seconds, or set to -1 for automatic selection
          example: 5
          maximum: 15
          minimum: -1
          type: integer
        first_frame:
          description: >-
            First frame image URL (optional, for image-to-video first frame
            mode)
          example: https://example.com/first_frame.jpg
          type: string
        generate_audio:
          default: true
          description: Whether to generate audio (optional, default true)
          example: true
          type: boolean
        last_frame:
          description: >-
            Last frame image URL (optional, must be used together with
            first_frame)
          example: https://example.com/last_frame.jpg
          type: string
        model:
          default: fast
          description: >-
            Model version (optional, default fast)

            Options: fast (2.0 Fast, faster and cheaper), standard (2.0
            Standard)
          enum:
            - fast
            - standard
          example: fast
          type: string
        prompt:
          description: Prompt (optional, can be omitted for multimodal reference mode)
          example: 女孩抱着狐狸，女孩睁开眼，温柔地看向镜头
          maxLength: 2000
          type: string
        ratio:
          default: adaptive
          description: Aspect ratio (optional, default adaptive)
          enum:
            - '16:9'
            - '4:3'
            - '1:1'
            - '3:4'
            - '9:16'
            - '21:9'
            - adaptive
          example: adaptive
          type: string
        reference_images:
          description: >-
            Reference image URL list (optional, 1-9 images, for multimodal
            reference-to-video)

            Note: reference images and first/last frame modes are mutually
            exclusive
          items:
            type: string
          maxItems: 9
          type: array
        resolution:
          default: 720p
          description: |-
            Resolution (optional, default 720p)
            Seedance 2.0 does not support 1080p
          enum:
            - 480p
            - 720p
          example: 720p
          type: string
        watermark:
          default: false
          description: Whether to add watermark (optional, default false)
          example: false
          type: boolean
      required:
        - reference_images
      type: object
    dto.CreateTaskResponse:
      properties:
        task_id:
          description: Task ID
          example: 01234567-89ab-cdef-0123-456789abcdef
          type: string
      required:
        - task_id
      type: object
    apierror.ErrorResponse:
      properties:
        error_code:
          description: Machine-readable error code (e.g., TASK.INVALID_PARAMS)
          type: string
        message:
          description: User-friendly error message
          type: string
      type: object
  securitySchemes:
    AccessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Please use your API Token for authentication

````