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

# Seedance 2.5 Flash I2V

> ByteDance's fast image-to-video model for animating a starting frame or connecting a first and last frame, with native sound. It generates 4 to 30 second clips at 480p or 720p while preserving the starting image's aspect ratio.



## OpenAPI

````yaml /media-model-api/bytedance/bytedance-i2v.json post /bytedance/seedance-2.5-flash-i2v
openapi: 3.1.0
info:
  description: The image-to-video models API from ByteDance.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: ByteDance Image-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The image-to-video models API from ByteDance.
security:
  - bearerAuth: []
paths:
  /bytedance/seedance-2.5-flash-i2v:
    post:
      summary: Seedance 2.5 Flash I2V
      description: >-
        ByteDance's fast image-to-video model for animating a starting frame or
        connecting a first and last frame, with native sound. It generates 4 to
        30 second clips at 480p or 720p while preserving the starting image's
        aspect ratio.
      operationId: seedance25FlashI2vAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Seedance25FlashI2vRequest'
            examples:
              first_frame:
                summary: First-frame generation
                value:
                  first_frame_image: https://example.com/first.jpg
                  prompt: Animate gently with natural camera motion
                  ratio: adaptive
                  duration: 12
                  output_format: mp4
              first_last:
                summary: First-and-last-frame generation
                value:
                  first_frame_image: https://example.com/first.jpg
                  last_frame_image: https://example.com/last.jpg
                  prompt: Smoothly transition between the two frames
                  ratio: adaptive
                  duration: 8
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
components:
  schemas:
    Seedance25FlashI2vRequest:
      type: object
      description: Animate a starting frame or connect a first and last frame.
      required:
        - first_frame_image
      properties:
        first_frame_image:
          type: string
          format: uri
          description: >-
            Starting frame. Use an HTTPS URL or `asset://<asset_id>` from
            [Register Provider
            Asset](https://docs.modellix.ai/api/register-provider-asset).
          minLength: 1
          example: https://example.com/first.jpg
        last_frame_image:
          type: string
          format: uri
          description: >-
            Ending frame. Use an HTTPS URL or `asset://<asset_id>` from
            [Register Provider
            Asset](https://docs.modellix.ai/api/register-provider-asset).
          minLength: 1
          example: https://example.com/last.jpg
        prompt:
          type: string
          description: Text prompt describing the desired animation.
          minLength: 1
          maxLength: 10000
          example: Animate the scene gently with natural motion
        ratio:
          type: string
          description: >-
            Preserves the starting image's aspect ratio. Omit this field or use
            adaptive.
          enum:
            - adaptive
          default: adaptive
          example: adaptive
        resolution:
          type: string
          description: Output resolution.
          enum:
            - 480p
            - 720p
          default: 720p
          example: 720p
        duration:
          type: integer
          description: Output duration in seconds.
          enum:
            - 4
            - 5
            - 6
            - 7
            - 8
            - 9
            - 10
            - 11
            - 12
            - 13
            - 14
            - 15
            - 16
            - 17
            - 18
            - 19
            - 20
            - 21
            - 22
            - 23
            - 24
            - 25
            - 26
            - 27
            - 28
            - 29
            - 30
          default: 5
          example: 5
        generate_audio:
          type: boolean
          description: Whether to generate an audio track with the video
          default: true
          example: true
        output_format:
          type: string
          description: Output video container format.
          enum:
            - mp4
            - mov
          default: mp4
          example: mp4
        execution_expires_after:
          type: integer
          description: Maximum time in seconds before the task expires.
          minimum: 3600
          maximum: 259200
          default: 172800
          example: 172800
        return_last_frame:
          type: boolean
          description: Whether to return the last frame of the generated video
          default: false
          example: false
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier
              example: task-abc123
            model_id:
              type: string
              description: Model ID
              example: model-123
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  description: HTTP method
                  example: GET
                url:
                  type: string
                  description: Full URL to query the task result
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````

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