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

# Seedance 2.5

> Most advanced Seedance with 30s clips, native audio, and up to 50 references. Default choice for most video generations — quality is head and shoulders above other models, it supports durations up to 30 seconds, and it outputs up to 4k. Reach for this first unless the user asks for a specific model or cost is the priority.

This API endpoint includes Krea prompt enhancement in addition to the base model. When a request carries reference_videos and the prompt reads as an edit of that video, Seedance derives the output ratio and length from the input: Krea sends the adaptive ratio and the -1 duration that task type requires, so aspect_ratio and duration are ignored for those requests rather than rejected. Send them as usual; they do not need to be omitted.

> [accordion] Deprecated request aliases
>
> These aliases are accepted for compatibility only and are not shown in the request schema.
>
> | Deprecated | Use instead | Accepted until |
> | - | - | - |
> | `startImage` | `start_image` | 2026-06-19 |
> | `aspectRatio` | `aspect_ratio` | 2026-06-19 |
> | `endImage` | `end_image` | 2026-06-19 |
> | `referenceImages` | `reference_images` | 2026-06-19 |
> | `referenceVideos` | `reference_videos` | 2026-06-19 |
> | `referenceAudios` | `reference_audios` | 2026-06-19 |


## OpenAPI

````yaml https://api.krea.ai/openapi.json post /generate/video/bytedance/seedance-2-5
openapi: 3.1.0
info:
  title: Krea API
  version: v1
servers:
  - url: https://api.krea.ai
    description: Krea API
security:
  - bearerAuth: []
tags:
  - name: General
    description: Core API operations including job management and billing information
  - name: Krea
    description: Krea-owned generation models including Krea 2
  - name: Assets
    description: >-
      Asset management endpoints for uploading and managing images, videos,
      audio files, and 3D models
  - name: Styles
    description: Style (LoRA) generation and management endpoints
  - name: Node Apps
    description: Executing custom node apps built in our nodes tool
  - name: Image
    description: Image generation endpoints
  - name: Image Enhance
    description: Image enhance endpoints
  - name: Video
    description: Video generation endpoints
  - name: Video Enhance
    description: Video enhance and upscale endpoints
  - name: 3D
    description: 3D model generation endpoints
  - name: Audio
    description: Speech and audio generation endpoints
  - name: Usage
    description: Workspace usage reporting
  - name: Agent
    description: Krea Agent sessions
  - name: Utilities
    description: Miscellaneous utility endpoints
paths:
  /generate/video/bytedance/seedance-2-5:
    post:
      tags:
        - Video
      summary: Seedance 2.5
      description: >-
        Most advanced Seedance with 30s clips, native audio, and up to 50
        references. Default choice for most video generations — quality is head
        and shoulders above other models, it supports durations up to 30
        seconds, and it outputs up to 4k. Reach for this first unless the user
        asks for a specific model or cost is the priority.


        This API endpoint includes Krea prompt enhancement in addition to the
        base model. When a request carries reference_videos and the prompt reads
        as an edit of that video, Seedance derives the output ratio and length
        from the input: Krea sends the adaptive ratio and the -1 duration that
        task type requires, so aspect_ratio and duration are ignored for those
        requests rather than rejected. Send them as usual; they do not need to
        be omitted.
      parameters:
        - name: X-Webhook-URL
          in: header
          required: false
          schema:
            type: string
            format: uri
          description: >-
            URL to receive a POST request when the job completes. The webhook
            will receive the job data including results. Deliveries are signed
            with Ed25519 (EdDSA); verify them with the keys at
            https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-*
            headers). Treat requests without these headers as unauthenticated.
      requestBody:
        content:
          application/json:
            example:
              prompt: Cliffside monasteries, seemingly defying gravity and time.
            schema:
              type: object
              properties:
                start_image:
                  anyOf:
                    - type: string
                      maxLength: 1024
                      format: uri
                      description: >-
                        Can be an external URL, base64 data URI, or uploaded
                        asset URL.
                    - type: 'null'
                aspect_ratio:
                  default: '16:9'
                  type: string
                  enum:
                    - '16:9'
                    - '4:3'
                    - '1:1'
                    - '3:4'
                    - '9:16'
                    - '21:9'
                end_image:
                  anyOf:
                    - type: string
                      maxLength: 1024
                      format: uri
                      description: >-
                        Can be an external URL, base64 data URI, or uploaded
                        asset URL.
                    - type: 'null'
                reference_images:
                  maxItems: 30
                  type: array
                  items:
                    type: string
                    maxLength: 1024
                    format: uri
                    description: >-
                      Can be an external URL, base64 data URI, or uploaded asset
                      URL.
                reference_videos:
                  maxItems: 10
                  type: array
                  items:
                    type: string
                    maxLength: 1024
                    format: uri
                    description: >-
                      Can be an external URL, base64 data URI, or uploaded asset
                      URL.
                reference_audios:
                  maxItems: 10
                  type: array
                  items:
                    type: string
                    maxLength: 1024
                    format: uri
                    description: >-
                      Can be an external URL, base64 data URI, or uploaded asset
                      URL.
                duration:
                  default: 5
                  type: number
                  minimum: 4
                  maximum: 30
                resolution:
                  default: 720p
                  type: string
                  enum:
                    - 480p
                    - 720p
                    - 1080p
                    - 4k
                seed:
                  type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                generate_audio:
                  deprecated: true
                  description: >-
                    Deprecated and ignored. Accepted until 2026-10-30T00:00:00Z,
                    then rejected. Remove this field from requests.
                  type: boolean
                effects:
                  maxItems: 12
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      name:
                        type: string
                        maxLength: 100
                      asset_url:
                        type: string
                        maxLength: 1024
                        format: uri
                        description: >-
                          Can be an external URL, base64 data URI, or uploaded
                          asset URL.
                      asset_type:
                        type: string
                        enum:
                          - image
                          - video
                    required:
                      - id
                      - name
                      - asset_url
                      - asset_type
                enhance_prompt:
                  default: false
                  description: >-
                    When true, rewrites the prompt for Seedance 2 using Krea
                    prompt enhancement before video generation.
                  type: boolean
                draft:
                  default: false
                  description: >-
                    When true, generates a fast 480p draft of the video instead
                    of a full-quality one, billed at the 480p rate. Use it to
                    validate scene structure, motion, and prompt intent cheaply.
                    Once the draft job completes, render it at full quality by
                    sending its job id as draft_job_id within 7 days. Any
                    resolution sent alongside is ignored.
                  type: boolean
                prompt:
                  type: string
                draft_job_id:
                  description: >-
                    Renders a completed draft at full quality: the job id of a
                    Seedance 2.5 job submitted with draft: true in the last 7
                    days. The model regenerates the draft from its own prompt,
                    references, seed, duration, and aspect ratio, so every other
                    input is ignored except resolution, which is 4k when
                    requested and 1080p otherwise. Billed as a full generation
                    at that resolution for the draft's duration; cost estimates
                    price the request's duration, so sending the draft's
                    duration brings the quote closer, but the final charge can
                    still differ (drafts with reference videos bill on the
                    tokens ByteDance reports). Rendering the same draft at the
                    same resolution again returns the existing job.
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
              additionalProperties: false
              anyOf:
                - required:
                    - prompt
                - required:
                    - draft_job_id
      responses:
        '200':
          description: >-
            The resulting job data. This will be returned in a pending state
            until the job is completed. See
            [`/jobs/{id}`](#tag/default/get/jobs/{id}) for retrieving the
            results.
          content:
            application/json:
              schema:
                type: object
                properties:
                  job_id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  status:
                    type: string
                    enum:
                      - backlogged
                      - queued
                      - scheduled
                      - processing
                      - sampling
                      - intermediate-complete
                      - finalizing
                      - completed
                      - failed
                      - cancelled
                  created_at:
                    type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                  completed_at:
                    type: 'null'
                  result:
                    type: 'null'
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        description: >-
                          Why the job failed. `invalid_request` means the
                          request broke a rule, such as a media limit or a file
                          that cannot be read or downloaded. `validation_failed`
                          means a value is outside its parameter's schema. For
                          both codes, change the parameter named in `param`
                          before you resubmit. Other codes are `content_policy`,
                          `model_unavailable`, `insufficient_balance`,
                          `timeout`, `auto_cancelled`, `provider_error`,
                          `internal`, and `node_app_node_failed`. Treat an
                          unknown code as `internal`.
                      message:
                        type: string
                      param:
                        description: >-
                          The request parameter to change, present with
                          `invalid_request` and `validation_failed`.
                        type: string
                    required:
                      - code
                    additionalProperties: false
                  progress:
                    anyOf:
                      - type: number
                        minimum: 0
                        maximum: 1
                      - type: 'null'
                  export_progress:
                    description: >-
                      Motion exports only, while running: frames rendered of the
                      total, then `finishing` while the sound is added, then
                      `saving` while the MP4 is filed.
                    type: object
                    properties:
                      phase:
                        type: string
                        enum:
                          - rendering
                          - finishing
                          - saving
                      done:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      total:
                        type: integer
                        exclusiveMinimum: 0
                        maximum: 9007199254740991
                    required:
                      - phase
                      - done
                      - total
                    additionalProperties: false
                required:
                  - job_id
                  - status
                  - created_at
                  - completed_at
                  - result
                additionalProperties: false
        '400':
          description: The request body is invalid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '401':
          description: You are not authenticated.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '402':
          description: You have run out of credits.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '429':
          description: You have reached the maximum number of concurrent jobs.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      bearerFormat: Bearer
      type: http

````

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