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

# Seedance 2.0 Mini Image-to-Video

> Applicable to the `dreamina-seedance-2-0-mini-260615` model.



## OpenAPI

````yaml api-reference/en/zmodelVideo/byteplus/dreamina-seedance-2-0-mini-image-to-video.json POST /v1/videos
openapi: 3.0.1
info:
  title: Seedance 2.0 Mini Image-to-Video
  version: 1.0.0
  description: >-
    Dreamina Seedance 2.0 Mini image-to-video capability. Generates videos from
    starting frame images and text prompts.
  license:
    name: Project License
    url: https://github.com/QuantumNous/new-api/blob/main/LICENSE
servers:
  - url: https://api.powertokens.ai
    description: Baze API server endpoint
security: []
tags:
  - name: Seedance Video
    description: Seedance series video generation capability
paths:
  /v1/videos:
    post:
      tags:
        - Seedance Video
      summary: Seedance 2.0 Mini Image-to-Video
      description: Applicable to the `dreamina-seedance-2-0-mini-260615` model.
      operationId: seedance20MiniImageToVideoEn
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageToVideoRequest'
            examples:
              image_to_video:
                summary: Basic image-to-video
                value:
                  model: dreamina-seedance-2-0-mini-260615
                  media:
                    - type: text
                      text: The camera moves slowly inward, the girl smiles
                    - type: first_frame
                      url: https://example.com/first-frame.jpg
                  seconds: '5'
                  size: 720p
                  ratio: adaptive
      responses:
        '200':
          description: Submission successful, returns a video task object.
      security:
        - BearerAuth: []
components:
  schemas:
    ImageToVideoRequest:
      type: object
      required:
        - model
        - media
      properties:
        model:
          type: string
          enum:
            - dreamina-seedance-2-0-mini-260615
        media:
          type: array
          minItems: 2
          items:
            $ref: '#/components/schemas/VideoMediaInput'
        seconds:
          type: string
          description: >-
            Video generation duration (seconds) in string format. Supports "-1"
            (smart selection) or "4" to "15".
          default: '5'
          example: '5'
          enum:
            - '4'
            - '5'
            - '6'
            - '7'
            - '8'
            - '9'
            - '10'
            - '11'
            - '12'
            - '15'
            - '-1'
        size:
          type: string
          enum:
            - 480p
            - 720p
          description: Video output resolution specification. Defaults to 720p.
          default: 720p
        ratio:
          type: string
          enum:
            - '16:9'
            - '4:3'
            - '1:1'
            - '3:4'
            - '9:16'
            - '21:9'
            - adaptive
          description: Video aspect ratio. First frame image-to-video defaults to adaptive.
          default: adaptive
        seed:
          type: integer
          description: Random seed, range [-1, 4294967295].
          default: -1
          minimum: -1
          maximum: 4294967295
        watermark:
          type: boolean
          description: Whether to add a watermark.
          default: false
        generate_audio:
          type: boolean
          description: >-
            Whether to generate sound synchronized with the visuals. Supported
            by the 2.0 series.
          default: true
        return_last_frame:
          type: boolean
          description: Whether to return the last frame image.
          default: false
        safety_identifier:
          type: string
          description: >-
            Unique identifier for the end user, used for compliance checks.
            Supported only by the 2.0 series, length not exceeding 64
            characters.
    VideoMediaInput:
      type: object
      required:
        - type
      properties:
        type:
          type: string
          enum:
            - text
            - first_frame
          description: >-
            Media type. `text` requires the `text` field; other types require
            the `url` field.
        url:
          type: string
          description: >-
            Media address. Not required when `type=text`; required for other
            types.
        text:
          type: string
          description: >-
            Text content. Required when `type=text`; not required for other
            types.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Pass `Authorization: Bearer <token>` in the request header.'

````