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

# Doubao Seedance 2.0 Fast

> Create asynchronous video tasks with doubao-seedance-2.0-fast via POST /v1/predictions.



## OpenAPI

````yaml en/api-reference/video-series/seedance/doubao-seedance-2.0-fast-video-generate.json POST /v1/predictions
openapi: 3.1.0
info:
  title: Doubao Seedance 2.0 Fast Video Generation
  version: 1.0.0
servers:
  - url: https://api.shuyou.ai
security:
  - bearerAuth: []
paths:
  /v1/predictions:
    post:
      tags:
        - Video Generation
      summary: Doubao Seedance 2.0 Fast
      description: >-
        Doubao Seedance 2.0 Fast (`doubao-seedance-2.0-fast`) supports
        text-to-video and reference-guided generation. Async mode: poll with Get
        a prediction using `data.task_id`, or use top-level `webhook`.
      operationId: createDoubaoSeedance20FastVideoPrediction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DoubaoSeedance20FastVideoPredictionRequest'
            examples:
              text_to_video:
                summary: Text to video (minimal)
                value:
                  model: doubao-seedance-2.0-fast
                  input:
                    prompt: >-
                      A cinematic shot of a majestic lion in the savannah at
                      golden hour
              text_to_video_full:
                summary: Text to video (full params)
                value:
                  model: doubao-seedance-2.0-fast
                  input:
                    prompt: A futuristic city skyline at dusk with flying vehicles
                    aspect_ratio: '16:9'
                    resolution: 720P
                    duration: 15
                    generate_audio: true
              first_last_frame:
                summary: First / last frame
                value:
                  model: doubao-seedance-2.0-fast
                  input:
                    prompt: Smooth transition between the two keyframes
                    aspect_ratio: '16:9'
                    resolution: 480P
                    duration: 8
                    first_frame_url: https://example.com/first-frame.png
                    last_frame_url: https://example.com/last-frame.png
                  webhook: https://your-domain.com/webhook/video-done
              with_references:
                summary: Reference media
                value:
                  model: doubao-seedance-2.0-fast
                  input:
                    prompt: >-
                      A character walking through a neon-lit street, consistent
                      appearance
                    aspect_ratio: '9:16'
                    resolution: 720P
                    duration: 10
                    generate_audio: false
                    reference_image_urls:
                      - https://example.com/character-ref.png
                    reference_video_urls: []
                    reference_audio_urls: []
      responses:
        '200':
          description: Async task created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PredictionTaskResponse'
              example:
                data:
                  task_id: 2c4d50261173430290971a2395a3b607
                  task_status: processing
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Insufficient quota
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Model access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DoubaoSeedance20FastVideoPredictionRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          description: Model ID. Use `doubao-seedance-2.0-fast` for this endpoint.
          enum:
            - doubao-seedance-2.0-fast
          default: doubao-seedance-2.0-fast
          example: doubao-seedance-2.0-fast
        input:
          $ref: '#/components/schemas/DoubaoSeedance20FastVideoInput'
        webhook:
          type: string
          format: uri
          description: >-
            Optional HTTPS callback URL when the task completes, fails, or is
            cancelled (Predictions API).
    PredictionTaskResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            task_id:
              type: string
              description: Async task ID. Use with Get a prediction or webhook correlation.
              example: 2c4d50261173430290971a2395a3b607
            task_status:
              type: string
              description: Current task status, e.g. `processing`.
              example: processing
          required:
            - task_id
            - task_status
      required:
        - data
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            type:
              type: string
    DoubaoSeedance20FastVideoInput:
      type: object
      required:
        - prompt
      properties:
        prompt:
          type: string
          description: Text prompt describing the video to generate.
          maxLength: 1000
          example: A cinematic shot of a majestic lion in the savannah at golden hour
        aspect_ratio:
          type: string
          description: >-
            Aspect ratio of the generated video. Default `16:9`. Note: only
            `16:9` and `9:16` are supported at runtime; other values may be
            rejected.
          enum:
            - '16:9'
            - '9:16'
            - '1:1'
            - '3:4'
            - '4:3'
            - '21:9'
          default: '16:9'
          example: '16:9'
        resolution:
          type: string
          description: Resolution of the generated video. Default `720P`.
          enum:
            - 480P
            - 720P
          default: 720P
          example: 720P
        duration:
          type: integer
          description: Duration of the generated video in seconds. Default `15`.
          enum:
            - 4
            - 5
            - 6
            - 7
            - 8
            - 9
            - 10
            - 11
            - 12
            - 13
            - 14
            - 15
          default: 15
          example: 15
        generate_audio:
          type: boolean
          description: Whether to generate audio for the video. Default `true`.
          default: true
          example: true
        first_frame_url:
          type: string
          format: uri
          description: URL of the first frame of the video.
        last_frame_url:
          type: string
          format: uri
          description: URL of the last frame of the video.
        reference_image_urls:
          type: array
          description: >-
            Reference image URLs for consistent subject appearance. Up to 9
            images.
          items:
            type: string
            format: uri
          maxItems: 9
          default: []
        reference_video_urls:
          type: array
          description: >-
            Reference video URLs for consistent subject appearance. Up to 3
            videos.
          items:
            type: string
            format: uri
          maxItems: 3
          default: []
        reference_audio_urls:
          type: array
          description: >-
            Reference audio URLs for consistent subject appearance. Up to 3
            audios.
          items:
            type: string
            format: uri
          maxItems: 3
          default: []
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer YOUR_API_KEY`'

````