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

# Seedance 2.5 Flash

> Generate a Seedance 2.5 Flash video from text or 1-2 images. One image is used as the first frame; two images are used as the first and last frames.

Seedance 2.5 Flash is the faster, lower-cost tier of [Seedance 2.5](/api-reference/video-generations/seedance-2-5). It takes **exactly the same parameters** and offers the same quality options (`480p` and `720p`), so switching is just a change of `model`.

**Pricing** — per second of generated video, in tokens (USD at $0.02/token):

| resolution | tokens/s | USD/s |
|---|---|---|
| 480p | 5.915 | $0.1183 |
| 720p | 12.675 | $0.2535 |

Native audio is included at no extra charge. Example: a 5-second 720p video costs 63.38 tokens (= $1.2676).

**Parameter notes** (same as Seedance 2.5):

- Only `480p` and `720p` are available.
- `duration` is any integer from 4 to **30 seconds**.
- **Image-to-video only accepts `aspect_ratio: adaptive`** — the output follows the input image. Sending a fixed ratio together with `image_urls` is rejected.

Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use `custom_callback_url`) to get the generated video.



## OpenAPI

````yaml api-reference/video-generations/openapi-seedance-2-5-flash.json POST /api/v1/videos/generations
openapi: 3.1.0
info:
  title: GoEnhance API - Seedance 2.5 Flash
  description: >-
    Seedance 2.5 Flash: faster, lower-cost text-to-video and first/last-frame
    image-to-video generation.
  version: 1.0.0
servers:
  - url: https://api.goenhance.ai
security: []
paths:
  /api/v1/videos/generations:
    post:
      tags:
        - VideoGenerations
      summary: Seedance 2.5 Flash
      description: >-
        Generate a Seedance 2.5 Flash video from text or 1-2 images. One image
        is used as the first frame; two images are used as the first and last
        frames.


        Seedance 2.5 Flash is the faster, lower-cost tier of [Seedance
        2.5](/api-reference/video-generations/seedance-2-5). It takes **exactly
        the same parameters** and offers the same quality options (`480p` and
        `720p`), so switching is just a change of `model`.


        **Pricing** — per second of generated video, in tokens (USD at
        $0.02/token):


        | resolution | tokens/s | USD/s |

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

        | 480p | 5.915 | $0.1183 |

        | 720p | 12.675 | $0.2535 |


        Native audio is included at no extra charge. Example: a 5-second 720p
        video costs 63.38 tokens (= $1.2676).


        **Parameter notes** (same as Seedance 2.5):


        - Only `480p` and `720p` are available.

        - `duration` is any integer from 4 to **30 seconds**.

        - **Image-to-video only accepts `aspect_ratio: adaptive`** — the output
        follows the input image. Sending a fixed ratio together with
        `image_urls` is rejected.


        Returns an `img_uuid`; poll GET /api/v1/jobs/detail (or use
        `custom_callback_url`) to get the generated video.
      parameters:
        - name: Authorization
          in: header
          required: true
          example: Bearer YOUR_API_KEY
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  enum:
                    - seedance-2-5-flash
                  description: Model name. Must be `seedance-2-5-flash`.
                prompt:
                  type: string
                  description: >-
                    Text prompt. Chinese: recommended up to 500 characters;
                    English: recommended up to 1000 words.
                image_urls:
                  type: array
                  items:
                    type: string
                    format: uri
                  minItems: 1
                  maxItems: 2
                  description: >-
                    Optional. One URL creates first-frame image-to-video; two
                    URLs create first/last-frame video. Compatible aliases:
                    `image_url` and `image_end_url`.
                duration:
                  type: integer
                  minimum: 4
                  maximum: 30
                  default: 5
                  description: Any integer from 4 to 30 seconds.
                quality:
                  type: string
                  enum:
                    - 480p
                    - 720p
                  default: 720p
                  description: >-
                    Output resolution. `resolution` is accepted as a compatible
                    alias.
                aspect_ratio:
                  type: string
                  enum:
                    - '16:9'
                    - '9:16'
                    - '1:1'
                    - '4:3'
                    - '3:4'
                    - '21:9'
                    - adaptive
                  default: '16:9'
                  description: >-
                    Output aspect ratio. Text-to-video accepts every value
                    below. **Image-to-video only accepts `adaptive`** and
                    rejects anything else. `ratio` is accepted as a compatible
                    alias.
                generate_audio:
                  type: boolean
                  default: true
                  description: Generate synchronized audio at no additional charge.
                callback_url:
                  type: string
                  format: uri
                  description: >-
                    Optional public HTTPS callback URL. `custom_callback_url` is
                    accepted as a compatible alias.
              required:
                - model
                - prompt
            examples:
              textToVideo:
                summary: Text-to-video
                value:
                  model: seedance-2-5-flash
                  prompt: A cat plays piano in moonlight, cinematic close-up
                  duration: 8
                  quality: 720p
                  aspect_ratio: '16:9'
                  generate_audio: true
              firstLastFrame:
                summary: First and last frame
                value:
                  model: seedance-2-5-flash
                  prompt: A smooth cinematic transition between the two scenes
                  image_urls:
                    - https://example.com/first.jpg
                    - https://example.com/last.jpg
                  duration: 6
                  quality: 720p
                  aspect_ratio: adaptive
      responses:
        '200':
          description: Task submitted or application-level error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      img_uuid:
                        type: string
                      cost:
                        type: number
                        description: >-
                          Tokens deducted for this request. This is the amount
                          actually charged, so it already reflects any discount
                          active on your account and can be lower than the
                          listed price. Tokens are deducted when the task is
                          accepted, and refunded automatically if the generation
                          ends in failure.
                        example: 5.82
                required:
                  - code
                  - msg
              example:
                code: 0
                msg: Success
                data:
                  img_uuid: c12b656c-747a-44fd-9c80-add79b0c52d5
                  cost: 5.82
        '401':
          description: Unauthorized

````

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