> ## 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 Text-to-Video

> - Generate videos from text prompts, supports web search for enhanced timeliness
- **Now supports AIGC realistic human materials**
- Supports **draft mode**: set `draft: true` to generate a 480p draft first. If you are satisfied, use [Draft-to-Video](/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-draft-to-video) to convert it into a 1080p final video. The two requests are billed separately
- Asynchronous processing mode, use the returned task ID to [query status](/en/api-manual/task-management/get-task-detail)
- Generated video links are valid for 24 hours, please save them promptly



## OpenAPI

````yaml en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-text-to-video.json POST /v1/videos/generations
openapi: 3.1.0
info:
  title: Seedance 2.5 Text-to-Video API
  description: >-
    Seedance 2.5 text-to-video API, supports generating videos from text prompts
    with web search for enhanced timeliness
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Video Generation
    description: AI video generation endpoints
paths:
  /v1/videos/generations:
    post:
      tags:
        - Video Generation
      summary: Seedance 2.5 Text-to-Video
      description: >-
        - Generate videos from text prompts, supports web search for enhanced
        timeliness

        - **Now supports AIGC realistic human materials**

        - Supports **draft mode**: set `draft: true` to generate a 480p draft
        first. If you are satisfied, use
        [Draft-to-Video](/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-draft-to-video)
        to convert it into a 1080p final video. The two requests are billed
        separately

        - Asynchronous processing mode, use the returned task ID to [query
        status](/en/api-manual/task-management/get-task-detail)

        - Generated video links are valid for 24 hours, please save them
        promptly
      operationId: createSeedance25TextToVideo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationRequest'
            examples:
              basic:
                summary: Basic text-to-video
                value:
                  model: seedance-2.5-text-to-video
                  prompt: >-
                    A macro lens focuses on a green glass frog on a leaf. The
                    focus gradually shifts from its smooth skin to its
                    completely transparent abdomen, where a bright red heart is
                    beating powerfully and rhythmically.
                  duration: 8
                  quality: 720p
                  aspect_ratio: '16:9'
                  generate_audio: true
                  content_filter: true
              web_search:
                summary: Text-to-video with web search
                value:
                  model: seedance-2.5-text-to-video
                  prompt: >-
                    Today's New York weather forecast, with city skyline
                    animation and temperature overlay display
                  duration: 8
                  quality: 720p
                  aspect_ratio: '16:9'
                  model_params:
                    web_search: true
              draft:
                summary: Draft mode (480p)
                value:
                  model: seedance-2.5-text-to-video
                  prompt: >-
                    A macro lens focuses on a green glass frog on a leaf. The
                    focus gradually shifts from its smooth skin to its
                    completely transparent abdomen, where a bright red heart is
                    beating powerfully and rhythmically.
                  duration: 8
                  quality: 480p
                  aspect_ratio: '16:9'
                  generate_audio: true
                  content_filter: true
                  draft: true
      responses:
        '200':
          description: Video generation task created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_parameter
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: Unauthenticated, token invalid or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: Insufficient quota, top-up required
          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: Access denied
          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-text-to-video
                  type: invalid_request_error
        '429':
          description: Rate limit exceeded
          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: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
        '503':
          description: >-
            Service temporarily unavailable; draft_unavailable may be returned
            when draft mode is unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                draft_unavailable:
                  summary: Draft mode temporarily unavailable
                  value:
                    error:
                      code: draft_unavailable
                      message: >-
                        Draft mode is not available on the selected service
                        right now. Retry later or send the request without
                        draft.
                      type: invalid_request_error
components:
  schemas:
    VideoGenerationRequest:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: Video generation model name
          enum:
            - seedance-2.5-text-to-video
          default: seedance-2.5-text-to-video
          example: seedance-2.5-text-to-video
        prompt:
          type: string
          description: >-
            Text prompt describing the desired video. Supports both Chinese and
            English, recommended no more than 500 characters for Chinese or 1000
            words for English. Maximum prompt length: 10000 tokens


            **Note:**

            - This model is text-to-video only and does not support
            `image_urls`, `video_urls`, or `audio_urls` input
          example: >-
            A macro lens focuses on a green glass frog on a leaf. The focus
            gradually shifts from its smooth skin to its completely transparent
            abdomen, where a bright red heart is beating powerfully and
            rhythmically.
        duration:
          type: integer
          description: >-
            Video duration (seconds), defaults to `5` seconds


            **Details:**

            - Supports any integer value between `4`–`30` seconds

            - `-1`: automatic duration, the model picks a length within `4`–`30`
            seconds and billing follows the actual output length

            - Duration directly affects billing
          default: 5
          example: 8
        quality:
          type: string
          description: >-
            Video resolution, defaults to `720p`


            **Options:**

            - `480p`: Lower clarity, lower cost

            - `720p`: Standard clarity, this is the default

            - `1080p`: Ultra HD clarity


            **Draft mode:** When `draft` is `true`, only `480p` is supported. If
            omitted, `quality` automatically defaults to `480p`
          enum:
            - 480p
            - 720p
            - 1080p
          default: 720p
          example: 720p
        draft:
          type: boolean
          default: false
          description: >-
            Draft mode switch, defaults to `false`


            **Details:**

            - `true`: Generate a 480p draft first, with faster turnaround and
            standard 480p billing

            - When enabled, `quality` must be `480p` or omitted. Any other
            resolution returns a 400 parameter error

            - Must be a top-level request body field. Placing it inside
            `model_params` returns a 400 parameter error


            **Convert to a final video:**

            - Once the draft is complete, [querying the
            task](/en/api-manual/task-management/get-task-detail) returns
            `draft_expires_at`

            - Before that time, pass the draft task ID to [Seedance 2.5
            Draft-to-Video](/en/api-manual/video-series/seedance/seedance-2.5/seedance-2.5-draft-to-video)
            to generate a 1080p final video with the same content

            - The final video and draft are billed separately. If you are not
            satisfied with the draft, skip conversion and pay only for the draft

            - The default validity period is 24 hours after the draft completes;
            the actual deadline is `draft_expires_at`. Submit the conversion
            request early: expiration while queued also causes conversion to
            fail


            **Temporary unavailability:** A 503 error may be returned when the
            service is temporarily unavailable. If the error code is
            `draft_unavailable`, retry later or remove `draft` to use normal
            generation mode
          example: false
        aspect_ratio:
          type: string
          description: >-
            Video aspect ratio, defaults to `adaptive`


            **Options:**

            - `16:9` (landscape), `9:16` (portrait), `1:1` (square), `4:3`,
            `3:4`, `21:9` (ultrawide)

            - `adaptive`: The model intelligently selects the best aspect ratio
            based on the prompt


            **Pixel values per resolution:**


            | Aspect Ratio | 480p | 720p | 1080p |

            |:------:|:----:|:----:|:----:|

            | 16:9 | 854×480 | 1280×720 | 1920×1080 |

            | 4:3 | 752×560 | 1112×834 | 1664×1248 |

            | 1:1 | 640×640 | 960×960 | 1440×1440 |

            | 3:4 | 560×752 | 834×1112 | 1248×1664 |

            | 9:16 | 480×854 | 720×1280 | 1080×1920 |

            | 21:9 | 992×432 | 1470×630 | 2206×946 |
          enum:
            - '16:9'
            - '9:16'
            - '1:1'
            - '4:3'
            - '3:4'
            - '21:9'
            - adaptive
          default: adaptive
          example: '16:9'
        generate_audio:
          type: boolean
          description: >-
            Whether to generate synchronized audio, defaults to `true`


            **Options:**

            - `true`: Video includes synchronized audio (voice, sound effects,
            background music) at no additional charge. It is recommended to
            place dialogue within double quotes to optimize audio generation

            - `false`: Output silent video
          default: true
          example: true
        content_filter:
          type: boolean
          description: >-
            Content filter, enabled by default `true`


            **Options:**

            - `true`: Standard content safety check, this is the default

            - `false`: Relaxes content restrictions, billed at +10% (`1.1x`).
            Illegal and prohibited content is always enforced regardless of this
            setting


            **Mutually exclusive with web search:**

            - `content_filter: false` and `model_params.web_search: true` cannot
            be used together; sending both returns a 400 parameter error

            - Keep `content_filter: true` (the default) when web search is
            needed
          default: true
          example: true
        output_format:
          type: string
          description: >-
            Output container format, defaults to `mp4`


            **Options:**

            - `mp4`: H.264 encoding with the best compatibility and standard
            color precision, this is the default

            - `mov`: H.264 + yuv444p chroma sampling + PCM audio for higher
            color fidelity, recommended for color grading, keying and
            compositing workflows. Browser inline playback may not support it;
            download and play with VLC / mpv / ffplay. No extra charge
          enum:
            - mp4
            - mov
          default: mp4
          example: mp4
        model_params:
          type: object
          description: Model extension parameters
          properties:
            web_search:
              type: boolean
              description: >-
                Web search, defaults to `false`


                **Details:**

                - When enabled, the model autonomously decides whether to search
                internet content (e.g., products, weather) based on the prompt,
                improving timeliness

                - May increase latency

                - Fees are only charged when searches are actually triggered;
                multiple searches may occur once enabled


                **Mutually exclusive with the content filter:**

                - Keep `content_filter: true` when web search is enabled; using
                it together with `content_filter: false` returns a 400 parameter
                error
              default: false
              example: false
        callback_url:
          type: string
          description: >-
            HTTPS callback URL for task completion


            **Callback timing:**

            - Triggered when the task is completed or failed

            - Sent after billing confirmation is complete


            **Security restrictions:**

            - Only HTTPS protocol is supported

            - Callbacks to private IP addresses are prohibited (127.0.0.1,
            10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)

            - URL length must not exceed `2048` characters


            **Callback mechanism:**

            - Timeout: `10` seconds

            - Up to `3` retries after failure (at `1`/`2`/`4` seconds after
            failure respectively)

            - Callback response body format is consistent with the task query
            endpoint response format

            - A 2xx status code is considered successful; other status codes
            trigger retries
          format: uri
          example: https://your-domain.com/webhooks/video-task-completed
    VideoGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: Task creation timestamp
          example: 1761313744
        id:
          type: string
          description: Task ID
          example: task-unified-1774857405-abc123
        model:
          type: string
          description: Actual model name used
          example: seedance-2.5-text-to-video
        object:
          type: string
          enum:
            - video.generation.task
          description: Specific type of the task
        progress:
          type: integer
          description: Task progress percentage (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: Task status
          enum:
            - pending
            - processing
            - completed
            - failed
          example: pending
        task_info:
          $ref: '#/components/schemas/VideoTaskInfo'
          description: Video task details
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: Output type of the task
          example: video
        usage:
          $ref: '#/components/schemas/VideoUsage'
          description: Usage and billing information
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code identifier
            message:
              type: string
              description: Error description message
            type:
              type: string
              description: Error type
    VideoTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: >-
            Whether the task can be cancelled. Seedance 2.5 does not support
            user cancellation; this field always returns `false`.
          example: false
        estimated_time:
          type: integer
          description: Estimated completion time (seconds)
          minimum: 0
          example: 165
        video_duration:
          type: integer
          description: Video duration (seconds)
          example: 8
    VideoUsage:
      type: object
      description: Usage and billing information
      properties:
        billing_rule:
          type: string
          description: Billing rule
          enum:
            - per_call
            - per_token
            - per_second
          example: per_second
        credits_reserved:
          type: number
          description: Estimated credits consumed
          minimum: 0
          example: 50
        user_group:
          type: string
          description: User group category
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        ##All endpoints require Bearer Token authentication##


        **Get API Key:**


        Visit the [API Key Management Page](https://evolink.ai/dashboard/keys)
        to obtain your API Key


        **Add to request header:**

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

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