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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Queue Video Generation

> Queue a new video generation request.

Call `/video/quote` to get a price estimate, then poll `/video/retrieve` with the returned `queue_id` until complete.

Some models also return a `download_url` for the finished video. Check whether it is present in the response; if it is absent, get the video from `/video/retrieve`. `download_url` is a short-lived delivery URL (a few retries are fine if a download drops); see the [Video Generation guide](https://docs.venice.ai/guides/media/video-generation.md#private-download-links) for details and optional `DELETE` for privacy.

### Seedance 2.0 & 2.5

For `seedance-2-0-*-basic` and `seedance-2-5-*-basic` models (text-to-video, image-to-video, reference-to-video, plus the Seedance 2.0 `-fast-*` variants), see the [Seedance 2.0 & 2.5 Guide](https://docs.venice.ai/guides/media/seedance-2-0.md) for the four-workflow model (Reference / Edit / Extend / Stitch), source-matched `aspect_ratio` / `duration` values, user-settable `bitrate_mode`, family-specific multimodal limits, public API media policy, and pricing details.

### Public Seedance media policy

Public Seedance models do not use consent attestation (`consents.seedance` / `needs_consent`). Media with detectable persons may be rejected upstream. Use the Venice app or Studio for the full Seedance feature set. See the [Seedance guide](https://docs.venice.ai/guides/media/seedance-2-0.md) for details.

### Video upscaling

For the `topaz-video-upscale` model, use `upscale_factor` (1, 2, or 4) instead of `resolution`, and provide a `video_url`. Duration and FPS are detected automatically from the video file. See the [Video Upscaling Guide](https://docs.venice.ai/guides/media/video-upscaling.md) for full details and examples.

***


## OpenAPI

````yaml POST /video/queue
openapi: 3.0.0
info:
  description: The Venice.ai API.
  termsOfService: https://venice.ai/legal/tos
  title: Venice.ai API
  version: '20261130.171848'
  x-guidance: >-
    Venice.ai is an OpenAI-compatible inference API supporting text, image,
    audio, and video generation.


    **Authentication options:**

    - API Key: Use Bearer token in Authorization header

    - x402 Wallet: Use a prepaid x402 credit balance via EVM or Solana wallet
    (no account required)


    **For x402 wallet access:**

    1. POST /x402/top-up without headers to get payment requirements

    2. Choose one of the returned Base or Solana payment options and sign a USDC
    payment using the x402 SDK

    3. POST /x402/top-up with PAYMENT-SIGNATURE header to add credits

    4. Call a chat, image, audio or embeddings endpoint with SIGN-IN-WITH-X
    header (video and voice changer require an API key)


    **Pricing:** Prepaid credits consumed per request. Check /models for
    available models and their capabilities.
servers:
  - url: https://api.venice.ai/api/v1
security:
  - BearerAuth: []
tags:
  - description: >-
      Generate speech/audio, transcribe audio, and manage asynchronous audio
      generation jobs.
    name: Audio
  - description: >-
      Given a list of messages comprising a conversation, the model will return
      a response. Supports multimodal inputs including text, images, audio
      (input_audio), and video (video_url) for compatible models.
    name: Chat
  - description: >-
      Create vector embeddings from text. `input` must be a string or an array
      of strings. Token arrays are not supported. LangChain OpenAIEmbeddings
      must set `check_embedding_ctx_length=False` to send text instead of
      tiktoken IDs.
    name: Embeddings
  - description: >-
      Evaluate a state against typed questions and get structured answers
      (yes/no probabilities, option picks with distributions, rubric scores).
      **Beta**: This API is currently in beta and may be unstable.
      Request/response schemas and behavior may change without notice.
    name: Decisions
  - description: List and describe the various models available in the API.
    name: Models
  - description: Generate and manipulate images using AI models.
    name: Image
  - description: Generate videos using AI models.
    name: Video
  - description: List and retrieve character information for use in completions.
    name: Characters
  - description: >-
      Billing and usage analytics. **Beta**: This API is currently in beta and
      may be unstable. Endpoints, request/response schemas, and behavior may
      change without notice.
    name: Billing
  - description: Proxy JSON-RPC requests to blockchain nodes. Billed per credit.
    name: Crypto RPC
  - description: >-
      Wallet-based API access using the x402 protocol. No API key required —
      authenticate with an EVM or Solana wallet.


      **How it works:**

      1. **Authenticate** — Send a `SIGN-IN-WITH-X` header (base64-encoded
      signed SIWX payload) with any request. EVM wallets sign an EIP-4361 SIWE
      message; Solana wallets sign the Solana SIWX message with Ed25519. See the
      `siwx` security scheme for the exact format.

      2. **Top up** — `POST /x402/top-up` without a payment header returns an
      `accepts` array with Base and Solana USDC payment options. Choose one
      entry, sign it using the x402 SDK (`npm install x402`), and re-submit with
      the `PAYMENT-SIGNATURE` header (the legacy `X-402-Payment` and `X-PAYMENT`
      names are also accepted).

      3. **Use an inference endpoint** — Chat, image, audio and embeddings
      endpoints accept `siwx` as an alternative to `BearerAuth`; video and voice
      changer require `BearerAuth`. Charges are deducted from your x402 credit
      balance.

      4. **Monitor balance** — `GET /x402/balance/{walletAddress}` returns your
      current balance. The `X-Balance-Remaining` response header on inference
      calls also reports it.


      **Quick start (5 lines):**

      ```

      import { VeniceClient } from 'venice-x402-client'

      const venice = new VeniceClient(process.env.WALLET_KEY)

      await venice.topUp(10) // $10 USDC on a supported x402 rail

      const res = await venice.chat({ model: 'zai-org-glm-5-1', messages: [{
      role: 'user', content: 'Hello!' }] })

      ```


      **Payment:** USDC on Base (chain ID 8453) or Solana mainnet. Minimum
      top-up: $5.
    name: x402
externalDocs:
  description: Venice.ai API documentation
  url: https://docs.venice.ai
paths:
  /video/queue:
    post:
      tags:
        - Video
      summary: /api/v1/video/queue
      description: Queue a new video generation request.
      operationId: queueVideo
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueueVideoRequest'
      responses:
        '200':
          description: Video generation request queued successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  model:
                    type: string
                    description: The ID of the model used for video generation.
                    example: video-model-123
                  queue_id:
                    type: string
                    description: The ID of the video generation request.
                    example: 123e4567-e89b-12d3-a456-426614174000
                  download_url:
                    type: string
                    description: >-
                      Pre-signed URL to download the completed video. Only
                      present for VPS-backed models. When provided, the retrieve
                      endpoint returns JSON status only (no video stream). Fetch
                      this URL after status is COMPLETED to get the video/mp4
                      file. Valid for 24 hours.
                  is_draft:
                    type: boolean
                    description: Present and true when this request is a draft.
                    example: true
                  draft_task_id:
                    type: string
                    description: >-
                      Pass as draft_task_id on a new queue request to upgrade
                      this draft to 1080p or 4k.
                    example: 123e4567-e89b-12d3-a456-426614174000
                  draft_expires_at:
                    type: string
                    description: >-
                      ISO timestamp after which the draft can no longer be
                      upgraded.
                    example: '2026-10-20T08:00:00.000Z'
                  can_upgrade_to_hd:
                    type: boolean
                    description: Whether the draft can be upgraded to HD right now.
                    example: false
                required:
                  - model
                  - queue_id
                additionalProperties: false
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedError'
        '401':
          description: |-
            - Authentication failed
            - This model is only available to Pro users
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardError'
        '402':
          description: >-
            Insufficient USD or Diem balance to complete request. Visit
            https://venice.ai/settings/api to add credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardError'
        '403':
          description: >-
            The specified model is unavailable in your region. Use of Tor, VPNs,
            proxies, or other means to circumvent this restriction is a
            violation of our Terms of Service.


            This API key is restricted to configured IP addresses, and this
            request's source IP is not allowed
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/StandardError'
                  - $ref: '#/components/schemas/ApiKeyIpRestrictedError'
        '409':
          description: >-
            Additional consent is required before this request can be queued for
            some models
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - needs_consent
                      message:
                        type: string
                    required:
                      - code
                      - message
                    additionalProperties: false
                  consent_flow:
                    type: string
                    enum:
                      - seedance
                  face_media_roles:
                    type: array
                    items:
                      type: string
                      enum:
                        - image
                        - end_image
                        - reference_image
                        - video
                        - reference_video
                  consent:
                    type: object
                    properties:
                      consent_version:
                        type: string
                      policy_text:
                        type: string
                    required:
                      - consent_version
                      - policy_text
                    additionalProperties: false
                  docs_url:
                    type: string
                required:
                  - error
                  - consent_flow
                  - face_media_roles
                  - consent
                  - docs_url
                additionalProperties: false
        '413':
          description: >-
            The request payload is too large. Please reduce the size of your
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayloadTooLargeError'
        '422':
          description: >-
            Your prompt violates the content policy of Venice.ai or the model
            provider
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentViolationError'
        '500':
          description: Inference processing failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardError'
components:
  schemas:
    QueueVideoRequest:
      type: object
      properties:
        model:
          type: string
          description: The model to use for video generation.
          example: seedance-2-0-text-to-video-basic
        consents:
          type: object
          properties:
            seedance:
              type: object
              properties:
                confirmed_terms_and_privacy:
                  type: boolean
                  enum:
                    - true
                  description: >-
                    Confirms acceptance of the current provider policy text
                    returned in the needs_consent response.
                  example: true
                confirmed_legal_right:
                  type: boolean
                  enum:
                    - true
                  description: >-
                    Confirms the API user has the legal right to use the
                    submitted media.
                  example: true
                confirmed_screening_acknowledged:
                  type: boolean
                  enum:
                    - true
                  description: >-
                    Acknowledges that submitted media may be screened before
                    processing.
                  example: true
              required:
                - confirmed_terms_and_privacy
                - confirmed_legal_right
                - confirmed_screening_acknowledged
          description: >-
            Optional provider-specific consent attestations. Required only for
            models that return a needs_consent response.
        prompt:
          type: string
          minLength: 1
          maxLength: 32000
          description: >-
            The prompt to use for video generation. Required for most models;
            optional for H3 Max Multi-Angle. The maximum length varies by model
            (default 2500 characters, up to 32000 for some models).
          example: Commerce being conducted in the city of Venice, Italy.
        negative_prompt:
          type: string
          maxLength: 32000
          description: >-
            Optional negative prompt. The maximum length varies by model
            (default 2500 characters, up to 32000 for some models).
          example: low resolution, error, worst quality, low quality, defects
        duration:
          type: string
          enum:
            - 1s
            - 2s
            - 3s
            - 4s
            - 5s
            - 6s
            - 7s
            - 8s
            - 9s
            - 10s
            - 11s
            - 12s
            - 13s
            - 14s
            - 15s
            - 16s
            - 17s
            - 18s
            - 19s
            - 20s
            - 21s
            - 22s
            - 23s
            - 24s
            - 25s
            - 26s
            - 27s
            - 28s
            - 29s
            - 30s
            - '-1'
            - 1 gen
            - auto
            - Auto
          description: >-
            The duration of the video to generate. Available options vary by
            model. For Seedance 2.5 reference-to-video edit jobs, `-1` or `auto`
            matches output length to the source clip (requires
            reference_video_urls on queue, or reference_video_total_duration on
            quote; source must be 4–30s).
          example: 10s
        aspect_ratio:
          type: string
          enum:
            - '1:1'
            - '2:1'
            - '2:3'
            - '3:2'
            - '3:4'
            - '4:3'
            - '4:5'
            - '5:4'
            - '9:16'
            - '9:21'
            - '16:9'
            - '21:9'
            - adaptive
            - auto
          description: >-
            The aspect ratio of the video. Available options vary by model. Some
            models do not support aspect_ratio. For Seedance 2.x
            reference-to-video edit/extend, `adaptive` or `auto` matches output
            aspect ratio to the source clip (requires reference_video_urls on
            queue, or reference_video_total_duration on quote).
          example: '16:9'
        omni_reference_task_type:
          type: string
          enum:
            - auto
            - reference
            - edit
            - extend
          description: >-
            Optional Seedance 2.5 reference-to-video task-type hint forwarded to
            BytePlus (`auto` | `reference` | `edit` | `extend`). Aliases
            `editing`→`edit` and `extension`→`extend` are accepted on the queue
            API. Pre-guides classification to reduce async TaskTypeConstraint
            errors. The prompt must still match the chosen type. When omitted,
            Venice infers from the prompt if reference_video_urls are present.
            Not supported on other models.
          example: edit
        resolution:
          type: string
          enum:
            - 256p
            - 360p
            - 480p
            - 540p
            - 580p
            - 720p
            - 768p
            - 1080p
            - 1440p
            - 2160p
            - 2k
            - 4k
            - 1x
            - 2x
            - 4x
            - 2K
            - 480P
            - 768P
            - 1080P
            - true_1080p
          description: >-
            The resolution of the video. Available options vary by model. Some
            models do not support resolution. Use upscale_factor for upscale
            models.
          example: 720p
        upscale_factor:
          type: integer
          description: >-
            For upscale models only. 1 = quality enhancement, 2 = double
            resolution (default), 4 = quadruple.
          enum:
            - 1
            - 2
            - 4
          default: 2
          example: 2
        enhancement_model:
          type: string
          description: >-
            For enhancement models only. The provider-side enhancement model.
            Available values are listed per model in GET /models
            constraints.topaz.models.
          example: Proteus
        target_fps:
          type: integer
          description: >-
            For enhancement models only. Target FPS for frame interpolation
            (16-120). Doubles the price on upscaling endpoints when ≥48; scales
            linearly on interpolation. Omit to keep the source frame rate.
          example: 60
        softness:
          type: number
          minimum: 1
          maximum: 5
          description: >-
            For enhancement models only. Softness level (1-5, sharpest to
            softest).
          example: 3
        creativity:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            For enhancement models only. How much new detail the model invents
            (0.0-1.0).
          example: 0.5
        realism:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            For enhancement models only. Bias generated detail toward
            photorealism (0.0-1.0).
          example: 0.5
        sharp:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            For enhancement models only. Output sharpness (0.0 softens, 0.5
            neutral, 1.0 strong).
          example: 0.5
        compression:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            For enhancement models only. Compression artifact removal level
            (0.0-1.0).
          example: 0.5
        noise:
          type: number
          minimum: 0
          maximum: 1
          description: For enhancement models only. Noise reduction level (0.0-1.0).
          example: 0.5
        halo:
          type: number
          minimum: 0
          maximum: 1
          description: For enhancement models only. Halo reduction level (0.0-1.0).
          example: 0.5
        grain:
          type: number
          minimum: 0
          maximum: 0.1
          description: For enhancement models only. Film grain amount (0.0-0.1).
          example: 0
        recover_detail:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            For enhancement models only. Recover original detail level
            (0.0-1.0).
          example: 0.5
        h264_output:
          type: boolean
          description: >-
            For enhancement models only. Output H.264 instead of the default
            H.265.
          example: false
        output_format:
          type: string
          enum:
            - mp4
            - prores
          description: >-
            For enhancement models only (SDR-to-HDR). Output container: mp4
            (10-bit H265 HDR10) or prores (10-bit ProRes).
          example: mp4
        slowdown_factor:
          type: integer
          description: >-
            For enhancement models only (frame interpolation). Slow-motion
            factor: 2 makes the output twice as long at the target FPS, up to
            8x. Multiplies the billed duration.
          enum:
            - 1
            - 2
            - 4
            - 8
          example: 1
        audio:
          type: boolean
          default: true
          description: >-
            For models which support audio generation and configuration.
            Defaults to true.
          example: true
        hdr:
          type: boolean
          description: >-
            When true, generate HDR. Defaults to false. Returns 400 when the
            model does not support HDR or the resolution is not listed in GET
            /models constraints.hdrResolutions.
          example: false
        camera_trajectory:
          type: array
          items:
            type: object
            properties:
              time:
                type: number
                minimum: 0
                maximum: 1
              azimuth:
                type: number
              elevation:
                type: number
                minimum: -90
                maximum: 90
              distance:
                type: number
                minimum: 0
                exclusiveMinimum: true
            required:
              - time
              - azimuth
              - elevation
              - distance
            additionalProperties: false
          minItems: 2
          maxItems: 12
          description: >-
            For H3 Max Multi-Angle only. 2–12 camera keyframes with strictly
            increasing normalized time (0–1), azimuth in degrees (signed; total
            absolute travel at most 32 turns), elevation in degrees (−90 to 90),
            and positive distance relative to the initial camera (1 =
            unchanged). Omit to leave the camera path to the model. Requires
            image_url; aspect ratio follows that image.
          example:
            - time: 0
              azimuth: 0
              elevation: 0
              distance: 1
            - time: 1
              azimuth: 45
              elevation: 10
              distance: 1
        image_url:
          type: string
          description: >-
            For image-to-video models, the reference image. Must be a URL
            (http/https) or a data URL (data:image/...).
          example: data:image/png;base64,iVBORw0K...
        end_image_url:
          type: string
          description: >-
            For models that support end images or transitions, the end frame
            image. Must be a URL or data URL.
          example: data:image/png;base64,iVBORw0K...
        image_strength:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            How strongly the input image guides an image-to-video generation,
            from 0 to 1. Supported on models that declare image strength.
            Omitted values use the provider default (1). Does not change the
            quoted price.
          example: 1
        audio_url:
          type: string
          description: >-
            For models that support audio input, background music. Must be a URL
            or data URL. Supported: WAV, MP3. Max: 30s, 15MB.
          example: data:audio/mpeg;base64,SUQzBAA...
        video_url:
          type: string
          description: >-
            For models that support video input (video-to-video, upscale). Must
            be a URL or data URL. Supported: MP4, MOV, WebM.
          example: data:video/mp4;base64,AAAAFGZ0eXA...
        reference_image_urls:
          type: array
          items:
            type: string
          maxItems: 30
          description: >-
            For models with reference image support, up to 30 images for
            character/style consistency. Each must be a URL or data URL.
          example:
            - data:image/png;base64,iVBORw0K...
        image_references:
          type: array
          items:
            type: object
            properties:
              image_url:
                type: string
                description: The reference image. Must be a URL or data URL.
              type:
                type: string
                enum:
                  - subject
                  - background
                description: >-
                  Whether the image shows a subject or a background. Used by
                  PixVerse C1 reference-to-video; defaults to subject.
              ref_name:
                type: string
                description: >-
                  The name the prompt uses for the image. Used by PixVerse C1
                  reference-to-video; defaults to Image1, Image2 and so on.
              audio_url:
                type: string
                description: >-
                  The voice of the person or character in this image, on models
                  whose GET /models constraints.per_reference_audio is true. WAV
                  or MP3, as a URL or data URL.
            required:
              - image_url
          maxItems: 30
          description: >-
            For models with reference image support, up to 30 reference images
            given as objects instead of plain URLs, so each one can have a type,
            a name in the prompt or its own voice. Wan 2.7 reference-to-video
            takes at most 5 reference images and videos combined.
          example:
            - image_url: https://example.com/character.png
              audio_url: https://example.com/voice.mp3
        reference_video_urls:
          type: array
          items:
            type: string
          maxItems: 10
          description: >-
            For models with reference video support (e.g. Seedance 2.0 R2V), up
            to 10 reference video URLs (`role: "reference_video"`) used to
            inherit subject motion, camera movement, and overall style. Per-clip
            2–15 s, .mp4 or .mov, ≤50 MB; aggregate duration ≤15 s. Each must be
            a URL or data URL.
          example:
            - https://example.com/reference-clip.mp4
        reference_audio_urls:
          type: array
          items:
            type: string
          maxItems: 10
          description: >-
            For models with reference audio support (e.g. Seedance 2.0 R2V), up
            to 10 reference audio URLs (`role: "reference_audio"`) used as
            donors for vocal timbre, narration, or sound effects. Per-clip 2–15
            s, .wav or .mp3; aggregate duration ≤15 s. Must be paired with at
            least one reference image or reference video — audio-only Reference
            workflows are rejected at validation. Each must be a URL or data
            URL.
          example:
            - data:audio/mpeg;base64,SUQzBAAAAAA...
        video_references:
          type: array
          items:
            type: object
            properties:
              video_url:
                type: string
                description: The reference clip. Must be a URL or data URL.
              ref_name:
                type: string
                description: An optional label for the reference.
              audio_url:
                type: string
                description: >-
                  The voice of the person or character in this clip. WAV or MP3,
                  as a URL or data URL.
            required:
              - video_url
          maxItems: 5
          description: >-
            For models whose GET /models constraints.per_reference_audio is true
            (e.g. Wan 2.7 reference-to-video), up to 5 reference clips, each
            with an optional voice for the person or character in it. Wan 2.7
            takes at most 5 reference images and videos combined.
          example:
            - video_url: https://example.com/reference-clip.mp4
              audio_url: https://example.com/voice.mp3
        reference_document_urls:
          type: array
          items:
            type: string
          maxItems: 1
          description: >-
            For models with document / webpage Omni-Reference (Wan 3.0), up to 1
            URL. Document files and public webpage URLs are fetched by Venice
            and forwarded as `type: "file"` (≤100 MB). Each must be a URL or
            data URL.
          example:
            - https://example.com/brief.pdf
        elements:
          type: array
          items:
            type: object
            properties:
              frontal_image_url:
                type: string
              reference_image_urls:
                type: array
                items:
                  type: string
                maxItems: 3
              video_url:
                type: string
          maxItems: 4
          description: >-
            For models with advanced element support (e.g., Kling O3 R2V). Up to
            4 elements defining characters/objects. Reference in prompt as
            @Element1, @Element2, etc.
          example:
            - frontal_image_url: data:image/png;base64,iVBORw0K...
              reference_image_urls:
                - data:image/png;base64,iVBORw0K...
        scene_image_urls:
          type: array
          items:
            type: string
          maxItems: 4
          description: >-
            For models with advanced element support. Up to 4 scene reference
            images. Reference in prompt as @Image1, @Image2, etc.
          example:
            - data:image/png;base64,iVBORw0K...
        keyframes:
          type: array
          items:
            type: object
            properties:
              image_url:
                type: string
              frame_index:
                type: integer
                minimum: 0
            required:
              - image_url
              - frame_index
          maxItems: 10
          description: >-
            For keyframe-driven models. Up to 10 keyframe images pinned to frame
            positions in the generated 24 fps video. Each frame_index must be
            unique and no greater than duration × 24.
          example:
            - image_url: data:image/png;base64,iVBORw0K...
              frame_index: 0
            - image_url: data:image/png;base64,iVBORw0K...
              frame_index: 120
        draft:
          type: boolean
          description: >-
            Seedance 2.5 only (models with supportsDraftMode). Generate a fast
            480p draft. The response includes draft_task_id; upgrade it to 1080p
            within 7 days by sending draft_task_id.
          example: false
        draft_task_id:
          type: string
          format: uuid
          description: >-
            Seedance 2.5 only. queue_id of your own draft to upgrade to 1080p.
            Duration, aspect ratio and audio follow the draft; media inputs are
            ignored. Cannot be combined with draft.
          example: 123e4567-e89b-12d3-a456-426614174000
      required:
        - model
        - duration
      description: >-
        Request body for video generation. Available fields and valid values
        vary by model.
    DetailedError:
      type: object
      properties:
        details:
          type: object
          properties: {}
          description: Details about the incorrect input
          example:
            _errors: []
            field:
              _errors:
                - Field is required
        error:
          type: string
          description: A description of the error
      required:
        - error
    StandardError:
      type: object
      properties:
        error:
          type: string
          description: A description of the error
      required:
        - error
    ApiKeyIpRestrictedError:
      type: object
      properties:
        error:
          type: string
          enum:
            - >-
              This API key is restricted to configured IP addresses, and this
              request's source IP is not allowed
          description: A description of the error
          example: >-
            This API key is restricted to configured IP addresses, and this
            request's source IP is not allowed
      required:
        - error
    PayloadTooLargeError:
      type: object
      properties:
        code:
          type: string
          enum:
            - PAYLOAD_TOO_LARGE
          description: Machine-readable error code.
          example: PAYLOAD_TOO_LARGE
        error:
          type: string
          description: A description of the error
          example: File exceeds the maximum allowed size of 25 MB.
      required:
        - code
        - error
    ContentViolationError:
      type: object
      properties:
        error:
          type: string
          description: A description of the error
        suggested_prompt:
          type: string
          description: >-
            An optional provider-suggested replacement prompt that complies with
            content policy.
          example: >-
            A cinematic instrumental track inspired by stormy weather and
            dramatic tension.
      required:
        - error
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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