Varosity AI API

Varosity AI API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 23

POST /api/music Multi-Platform Video Production via Varosity (100% Unified) #
POST /api/music/poll Poll a music generation job for completion. #
POST /api/tts Multi-Platform Video Production via Varosity (100% Unified) #
POST /api/v1/image Multi-Platform Video Production via Varosity (100% Unified) #
POST /api/v1/image/generate Reference frames (synchronous, no polling) #
POST /api/v1/images Generate a reference image (optional) for video generation. #
GET /api/v1/models Retrieve the full list of video and image models with capabilities and pricing. #
POST /api/v1/music Production-Grade Video Generation for Any Agent #
POST /api/v1/projects/{projectid}/stitch Stitch rendered clips of a project into a single MP4. #
POST /api/v1/route Smart route request to get a model recommendation for a shot. #
GET /api/v1/skills/custom-video-generation GET /api/v1/skills/custom-video-generation #
GET /api/v1/skills/varosity-video-orchestration GET /api/v1/skills/varosity-video-orchestration #
POST /api/v1/storyboards Create a storyboard project to orchestrate multiple video shots. #
POST /api/v1/storyboards/{id}/render Render all shots in a storyboard, creating a project with rendered clips. #
POST /api/v1/tts Production-Grade Video Generation for Any Agent #
GET /api/v1/video/estimate Estimate the cost of a video render (free). #
POST /api/v1/video/generate Submit a video generation request to a Varosity video model. #
GET /api/v1/voices Multi-Platform Video Production via Varosity (100% Unified) #
POST /music/poll Poll an async music job #
GET /v1/heygen/library List the HeyGen avatar looks and voices you can render with #
GET /v1/jobs/{jobid} Poll a video generation job #
GET /v1/templates List project templates #
POST /v1/video/generate Submit a video generation job #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/varosity-ai:varosity-ai-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

varosity-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Varosity AI API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 23 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Varosity AI has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 2
    documentation: 21
    pages-with-code: 2
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://varosity.ai/api/openapi.json
  - https://varosity.ai/api/v1/skills/custom-video-generation
  - https://varosity.ai/api/v1/skills/varosity-agent-video-sdk
  - https://varosity.ai/api/v1/skills/varosity-video-orchestration
servers:
- url: https://varosity.ai
paths:
  /api/music:
    post:
      operationId: post_api_music
      tags:
      - Api
      summary: Multi-Platform Video Production via Varosity (100% Unified)
      description: Generate music synchronously or asynchronously.
      x-source: https://varosity.ai/api/v1/skills/varosity-video-orchestration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiMusicRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiMusicResponse'
      x-evidence:
        kind: documentation
  /api/music/poll:
    post:
      operationId: post_api_music_poll
      tags:
      - Api
      summary: Poll a music generation job for completion.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiMusicPollRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiMusicPollResponse'
      x-evidence:
        kind: documentation
  /api/tts:
    post:
      operationId: post_api_tts
      tags:
      - Api
      summary: Multi-Platform Video Production via Varosity (100% Unified)
      description: Generate voiceover audio.
      x-source: https://varosity.ai/api/v1/skills/varosity-video-orchestration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiTtsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiTtsResponse'
      x-evidence:
        kind: documentation
  /api/v1/image:
    post:
      operationId: post_api_v1_image
      tags:
      - Api
      summary: Multi-Platform Video Production via Varosity (100% Unified)
      description: Alias for POST /api/v1/images.
      x-source: https://varosity.ai/api/v1/skills/varosity-video-orchestration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ImageRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ImageResponse'
      x-evidence:
        kind: documentation
  /api/v1/image/generate:
    post:
      operationId: post_api_v1_image_generate
      tags:
      - Api
      summary: Reference frames (synchronous, no polling)
      description: Generates a reference image synchronously. Accepts both camelCase and snake_case field names.
      x-source: https://varosity.ai/api/v1/skills/varosity-video-orchestration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ImageGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ImageGenerateResponse'
      x-evidence:
        kind: documentation
  /api/v1/images:
    post:
      operationId: post_api_v1_images
      tags:
      - Api
      summary: Generate a reference image (optional) for video generation.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1ImagesRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ImagesResponse'
      x-evidence:
        kind: documentation
  /api/v1/models:
    get:
      operationId: get_api_v1_models
      tags:
      - Api
      summary: Retrieve the full list of video and image models with capabilities and pricing.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1ModelsResponse'
      x-evidence:
        kind: documentation
  /api/v1/music:
    post:
      operationId: post_api_v1_music
      tags:
      - Api
      summary: Production-Grade Video Generation for Any Agent
      x-source: https://varosity.ai/api/v1/skills/varosity-agent-video-sdk
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1MusicRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1MusicResponse'
      x-evidence:
        kind: documentation
  /api/v1/projects/{projectid}/stitch:
    post:
      operationId: post_api_v1_projects_projectid_stitch
      tags:
      - Api
      summary: Stitch rendered clips of a project into a single MP4.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      parameters:
      - name: projectid
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1ProjectsProjectidStitchResponse'
      x-evidence:
        kind: documentation
  /api/v1/route:
    post:
      operationId: post_api_v1_route
      tags:
      - Api
      summary: Smart route request to get a model recommendation for a shot.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1RouteRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1RouteResponse'
      x-evidence:
        kind: documentation
  /api/v1/skills/custom-video-generation:
    get:
      operationId: get_api_v1_skills_custom_video_generation
      tags:
      - Api
      summary: GET /api/v1/skills/custom-video-generation
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl -s https://varosity.ai/api/v1/skills/custom-video-generation > <your-runtime-skills-path>/custom-video-generation.md`
  /api/v1/skills/varosity-video-orchestration:
    get:
      operationId: get_api_v1_skills_varosity_video_orchestration
      tags:
      - Api
      summary: GET /api/v1/skills/varosity-video-orchestration
      x-source: https://varosity.ai/api/v1/skills/varosity-video-orchestration
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl -s https://varosity.ai/api/v1/skills/varosity-video-orchestration > <your-runtime-skills-path>/varosity-video-orchestration.md`
  /api/v1/storyboards:
    post:
      operationId: post_api_v1_storyboards
      tags:
      - Api
      summary: Create a storyboard project to orchestrate multiple video shots.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1StoryboardsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1StoryboardsResponse'
      x-evidence:
        kind: documentation
  /api/v1/storyboards/{id}/render:
    post:
      operationId: post_api_v1_storyboards_id_render
      tags:
      - Api
      summary: Render all shots in a storyboard, creating a project with rendered clips.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1StoryboardsIdRenderResponse'
      x-evidence:
        kind: documentation
  /api/v1/tts:
    post:
      operationId: post_api_v1_tts
      tags:
      - Api
      summary: Production-Grade Video Generation for Any Agent
      x-source: https://varosity.ai/api/v1/skills/varosity-agent-video-sdk
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1TtsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1TtsResponse'
      x-evidence:
        kind: documentation
  /api/v1/video/estimate:
    get:
      operationId: get_api_v1_video_estimate
      tags:
      - Api
      summary: Estimate the cost of a video render (free).
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1VideoEstimateResponse'
      x-evidence:
        kind: documentation
  /api/v1/video/generate:
    post:
      operationId: post_api_v1_video_generate
      tags:
      - Api
      summary: Submit a video generation request to a Varosity video model.
      x-source: https://varosity.ai/api/v1/skills/custom-video-generation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1VideoGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1VideoGenerateResponse'
      x-evidence:
        kind: documentation
  /api/v1/voices:
    get:
      operationId: get_api_v1_voices
      tags:
      - Api
      summary: Multi-Platform Video Production via Varosity (100% Unified)
      description: List available voice models for TTS.
      x-source: https://varosity.ai/api/v1/skills/varosity-video-orchestration
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1VoicesResponse'
      x-evidence:
        kind: documentation
  /music/poll:
    post:
      operationId: post_music_poll
      tags:
      - Music
      summary: Poll an async music job
      x-source: https://varosity.ai/api/openapi.json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMusicPollRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMusicPollResponse'
      x-evidence:
        kind: documentation
  /v1/heygen/library:
    get:
      operationId: get_v1_heygen_library
      tags:
      - Heygen
      summary: List the HeyGen avatar looks and voices you can render with
      x-source: https://varosity.ai/api/openapi.json
      parameters:
      - name: only
        in: query
        required: false
        schema:
          type: string
        description: Filter to 'avatars' or 'voices'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1HeygenLibraryResponse'
      x-evidence:
        kind: documentation
  /v1/jobs/{jobid}:
    get:
      operationId: get_v1_jobs_jobid
      tags:
      - Jobs
      summary: Poll a video generation job
      x-source: https://varosity.ai/api/openapi.json
      parameters:
      - name: jobid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1JobsJobidResponse'
      x-evidence:
        kind: documentation
  /v1/templates:
    get:
      operationId: get_v1_templates
      tags:
      - Templates
      summary: List project templates
      x-source: https://varosity.ai/api/openapi.json
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1TemplatesResponse'
      x-evidence:
        kind: documentation
  /v1/video/generate:
    post:
      operationId: post_v1_video_generate
      tags:
      - Video
      summary: Submit a video generation job
      x-source: https://varosity.ai/api/openapi.json
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
        description: Any unique string (max 200 characters). A retry with the same key replays the first response instead of charging again.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1VideoGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1VideoGenerateResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiMusicRequest:
      type: object
      properties:
        prompt:
          type: string
          description: Prompt describing desired music
        durationSec:
          type: integer
          description: Desired length in seconds (max 240 for Suno, 300 for ElevenLabs)
        modelId:
          type: string
          description: Music model identifier (e.g., "suno-v4")
        sync:
          type: boolean
          description: If false, returns a trackId for async polling
      required:
      - prompt
    PostApiMusicResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: True if request accepted
        trackId:
          type: string
          description: Identifier for async polling when sync is false
        audioUrl:
          type: string
          description: URL of generated music when sync is true
        costCents:
          type: integer
          description: Credits cost (billed on first successful poll)
    PostApiMusicPollRequest:
      type: object
      properties:
        trackId:
          type: string
      required:
      - trackId
    PostApiMusicPollResponse:
      type: object
      properties:
        status:
          type: string
        audioUrl:
          type: string
    PostApiTtsRequest:
      type: object
      properties:
        text:
          type: string
          description: Text to synthesize
        voiceId:
          type: string
          description: Voice identifier; defaults to Rachel (21m00Tcm4TlvDq8ikWAM)
        modelId:
          type: string
          description: Voice model identifier (e.g., "elevenlabs-tts")
        sync:
          type: boolean
          description: If false, returns a jobId for async polling (not detailed in page)
      required:
      - text
    PostApiTtsResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: True if request succeeded
        audioUrl:
          type: string
          description: URL of generated speech audio
        costCents:
          type: integer
          description: Credits cost (billed on first successful poll)
    PostApiV1ImageRequest:
      type: object
      properties:
        prompt:
          type: string
          description: Prompt for image generation
        modelId:
          type: string
          description: Model identifier, defaults to flux-1-schnell
        aspectRatio:
          type: string
          description: Aspect ratio, defaults to 1:1
        referenceImageUrl:
          type: string
          description: Reference image URL for editing
      required:
      - prompt
    PostApiV1ImageResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: True if request succeeded
        imageUrl:
          type: string
          description: URL of generated image
        model:
          type: string
          description: Model used
    PostApiV1ImageGenerateRequest:
      type: object
      properties:
        prompt:
          type: string
          description: 1–2000 characters describing the image
        modelId:
          type: string
          description: Model identifier, defaults to "flux-1-schnell"
        aspectRatio:
          type: string
          description: One of "16:9", "9:16", "1:1", "4:5", "21:9"; defaults to "1:1"
        referenceImageUrl:
          type: string
          description: URL of an image to edit (image‑to‑image)
        providerOptions:
          type: object
          description: Per‑model optional knobs
      required:
      - prompt
    PostApiV1ImageGenerateResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: Always true on success
        imageUrl:
          type: string
          description: URL of the generated image
        model:
          type: string
          description: Model that generated the image
        attribution:
          type: string
          description: Attribution text
        galleryUrl:
          type: string
          description: Link to Varosity gallery
    PostApiV1ImagesRequest:
      type: object
      properties:
        prompt:
          type: string
        modelId:
          type: string
        aspectRatio:
          type: string
      required:
      - prompt
      - modelId
      - aspectRatio
    PostApiV1ImagesResponse:
      type: object
      properties:
        imageUrl:
          type: string
    GetApiV1ModelsResponse:
      type: object
      properties:
        models:
          type: array
          description: Each model object includes id, aspectRatios, maxDurationSec, pricing, etc.
    PostApiV1MusicRequest:
      type: object
      properties:
        modelId:
          type: string
        prompt:
          type: string
        durationSec:
          type: integer
      required:
      - modelId
      - prompt
      - durationSec
    PostApiV1MusicResponse:
      type: object
      properties:
        ok:
          type: boolean
        trackId:
          type: string
        audioUrl:
          type: string
    PostApiV1ProjectsProjectidStitchResponse:
      type: object
      properties:
        outputUrl:
          type: string
        status:
          type: string
    PostApiV1RouteRequest:
      type: object
      properties:
        prompt:
          type: string
      required:
      - prompt
    PostApiV1RouteResponse:
      type: object
      properties:
        modelId:
          type: string
    PostApiV1StoryboardsRequest:
      type: object
      properties:
        title:
          type: string
        shots:
          type: array
      required:
      - title
      - shots
    PostApiV1StoryboardsResponse:
      type: object
      properties:
        storyboardId:
          type: string
    PostApiV1StoryboardsIdRenderResponse:
      type: object
      properties:
        projectId:
          type: string
        status:
          type: string
    PostApiV1TtsRequest:
      type: object
      properties:
        text:
          type: string
        voiceId:
          type: string
        voiceModel:
          type: string
      required:
      - text
    PostApiV1TtsResponse:
      type: object
      properties:
        ok:
          type: boolean
        audioUrl:
          type: string
    GetApiV1VideoEstimateResponse:
      type: object
      properties:
        estimatedCostCents:
          type: integer
    PostApiV1VideoGenerateRequest:
      type: object
      properties:
        prompt:
          type: string
        modelId:
          type: string
        aspectRatio:
          type: string
        durationSec:
          type: integer
        referenceImageUrl:
          type: string
      required:
      - prompt
      - modelId
      - aspectRatio
      - durationSec
    PostApiV1VideoGenerateResponse:
      type: object
      properties:
        ok:
          type: boolean
        jobId:
          type: string
        status:
          type: string
        outputUrl:
          type: string
          description: null until completed
        billingMode:
          type: string
    GetApiV1VoicesResponse:
      type: object
      properties:
        ok:
          type: boolean
          description: True if request succeeded
        voices:
          type: array
          description: List of available voice objects with fields such as voiceId, name, language, costCents
    PostMusicPollRequest:
      type: object
      properties:
        trackId:
          type: string
          description: Track ID (UUID)
      required:
      - trackId
    PostMusicPollResponse:
      type: object
      properties:
        '200':
          type: string
          description: '{ ok, status } — status is ''succeeded'' with audioUrl when done, or ''failed'' with an error'
        '402':
          type: string
          description: 'Insufficient credits (insufficient_credits): the track is ready but the balance does not cover it'
        '403':
          type: string
          description: 'insufficient_scope: the key lacks the scope this route needs'
        '404':
          type: string
          description: Track not found
        '503':
          type: string
          description: 'billing_unavailable: poll again shortly'
    GetV1HeygenLibraryResponse:
      type: object
      properties:
        '200':
          type: string
          description: '{ ok, source: own_key | credits, avatars[], voices[] }'
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Insufficient scope (needs generate:video)
        '409':
          type: string
          description: No HeyGen key and HeyGen isn't available on Credits right now
        '429':
          type: string
          description: rate_limited
        '502':
          type: string
          description: HeyGen didn't answer
    GetV1JobsJobidResponse:
      type: object
      properties:
        '200':
          type: string
          description: Job status response (details omitted)
        '400':
          type: string
          description: Invalid request
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Insufficient scope
        '404':
          type: string
          description: Job not found
        '429':
          type: string
          description: Rate limited
        '500':
          type: string
          description: Internal server error
    GetV1TemplatesResponse:
      type: object
      properties:
        '200':
          type: string
          description: Template list
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: 'insufficient_scope: the key lacks the scope this route needs'
    PostV1VideoGenerateRequest:
      type: object
      properties:
        prompt:
          type: string
          description: Prompt for the video
        modelId:
          type: string
          description: Model ID from GET /v1/models
        aspectRatio:
          type: string
          description: Aspect ratio for rendering
        durationSec:
          type: integer
          description: Seconds, limited by model maxDurationSec
        referenceImageUrl:
          type: string
          description: Reference image URL
        referenceVideoUrl:
          type: string
          description: Reference video URL
        audioUrl:
          type: string
          description: External audio track for avatar / lip-sync models
        authPreference:
          type: string
          description: Payment preference
        providerOptions:
          type: object
          description: Advanced per-model knobs
      required:
      - prompt
      - modelId
    PostV1VideoGenerateResponse:
      type: object
      properties:
        '200':
          type: string
          description: Job submitted
        '400':
          type: string
          description: Invalid request body or unsupported parameters
        '401':
          type: string
          description: Unauthorized
        '403':
          type: string
          description: Insufficient scope (needs generate:video)
        '409':
          type: string
          description: Model unavailable, provider not configured, or payment not configured
        '429':
          type: string
          description: Rate limited or daily cap exceeded
        '500':
          type: string
          description: 'generate_failed: the job could not be submitted'
        '503':
          type: string
          description: 'spend_guard_error: the daily spend cap could not be checked'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Heygen
- name: Jobs
- name: Music
- name: Templates
- name: Video