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

# Seedance 2.5 Flash Reference to Video

> Seedance 2.5 Flash reference to video at 480p or 720p for 4–30 seconds with synchronized audio

> [!TIP]
>
> 1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
> 2. Regardless of whether `callback_url` is provided, you can retrieve the result through the unified [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) endpoint.

## Models

* **seedance-2.5-flash/reference-to-video** - Seedance 2.5 Flash Reference to Video

## Input modes

* This model uses reference images, videos, and optional audio for multimodal guidance.
* Provide at least one reference image or reference video. Reference audio is used together with them. Refer to reference media in the prompt in upload order as `@Image1`, `@Video1`, and `@Audio1`.

## Notes

* `prompt` and `duration` are required; `resolution` is optional and defaults to `720p`.
* `duration` accepts integer values from 4 to 30 seconds.
* `resolution` accepts `480p` or `720p`.
* `aspect_ratio` accepts `auto`, `21:9`, `16:9`, `4:3`, `1:1`, `3:4`, or `9:16`.
* Reference inputs accept up to 10 images, 5 videos (MP4 or MOV), and 5 audio files (MP3 or WAV). Each video or audio clip runs 2–30 seconds, and reference videos and reference audios are each limited to 30 seconds in total.
* All media URLs must be publicly accessible and directly downloadable.
* Billing uses duration and resolution: the standard rate is 18.5 credits/s at 480p and 41 credits/s at 720p; with reference video, 11.5 credits/s at 480p and 25.5 credits/s at 720p, and each reference video's floored duration is added to the billed seconds.


## OpenAPI

````yaml api-manual/video-series/seedance-2-5-flash-reference-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Seedance 2.5 Flash Reference to Video
  description: >-
    Seedance 2.5 Flash Reference to Video through the Vidgo unified generation
    API.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Seedance 2.5 Flash Reference to Video
      summary: Submit Seedance 2.5 Flash Reference to Video Task
      operationId: submitSeedance25FlashReferenceToVideoTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              default:
                summary: Seedance 2.5 Flash Reference to Video
                value:
                  model: seedance-2.5-flash/reference-to-video
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A cinematic scene with natural lighting and coherent
                      motion
                    duration: 5
                    resolution: 480p
                    reference_image_urls:
                      - https://cdn.vidgo.ai/temp/reference-1.jpg
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: Invalid request parameters
        '401':
          description: Unauthorized
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          example: seedance-2.5-flash/reference-to-video
        callback_url:
          type: string
          format: uri
          description: Optional webhook callback URL.
        input:
          type: object
          required:
            - prompt
            - duration
          additionalProperties: false
          properties:
            prompt:
              type: string
              description: >-
                Prompt describing the new scene. Refer to reference media in
                upload order as @Image1, @Video1, and @Audio1.
              minLength: 1
            duration:
              type: integer
              description: Output duration in seconds.
              minimum: 4
              maximum: 30
            resolution:
              type: string
              description: Output resolution.
              enum:
                - 480p
                - 720p
              default: 720p
            aspect_ratio:
              type: string
              description: >-
                Output aspect ratio. Image-to-video accepts only auto when
                provided.
              enum:
                - auto
                - '21:9'
                - '16:9'
                - '4:3'
                - '1:1'
                - '3:4'
                - '9:16'
            generate_audio:
              type: boolean
              description: Whether to generate an audio track.
            reference_image_urls:
              type: array
              description: Reference images.
              minItems: 1
              maxItems: 10
              items:
                type: string
                format: uri
            reference_video_urls:
              type: array
              description: >-
                Reference videos (MP4 or MOV), each 2–30 seconds, with a
                combined length of up to 30 seconds. Their whole-second
                durations are included in billing.
              minItems: 1
              maxItems: 5
              items:
                type: string
                format: uri
            reference_audio_urls:
              type: array
              description: >-
                Reference audio (MP3 or WAV), each 2–30 seconds, with a combined
                length of up to 30 seconds. Requires a reference image or video.
              maxItems: 5
              items:
                type: string
                format: uri
          description: >-
            Provide at least one of `reference_image_urls`,
            `reference_video_urls`.
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
            status:
              type: string
              enum:
                - not_started
                - running
                - failed
            created_time:
              type: string
              format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Use `Authorization: Bearer VIDGO_API_KEY`.'

````

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