Vivideo Videos API

The Videos API from Vivideo — 4 operation(s) for videos.

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 5

GET /v1/models Available video models and credit rates #
POST /v1/videos Create a video (async) #
GET /v1/videos List videos #
GET /v1/videos/{video_id} Video status and result (poll this) #
POST /v1/videos/{video_id}/render Render a free preview after upgrading #

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/vivideo-ai:vivideo-ai-videos-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

vivideo-ai-videos-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vivideo Videos API
  version: 1.0.0
  description: 'The Vivideo public API lets you generate AI videos programmatically —

    the same engine behind https://app.vivideo.ai.


    **Base URL:** `https://api.vivideo.ai`


    **Authentication:** every endpoint (except `GET /v1`) requires an API key

    sent as `Authorization: Bearer vv_live_...` (or `X-API-Key`). Create keys in

    the Vivideo app under **Settings → More → API Keys**

    (https://app.vivideo.ai/account/api-keys).


    **Generation is asynchronous:** `POST /v1/videos` returns immediately with a

    video id; poll `GET /v1/videos/{id}` (respect `poll_interval_seconds`) or

    register a webhook to be notified on `video.completed` / `video.failed`.


    **Free accounts** get one free video project: the first eligible

    `POST /v1/videos` returns `status: "preview"` with a blurred preview image

    instead of rendering. After upgrading at https://app.vivideo.ai/upgrade,

    call `POST /v1/videos/{id}/render` — the first video renders free.


    **Errors** always use one envelope: `{"error": {"code", "message",

    "retryable", "request_id", "links", ...}}`. `429` responses carry a

    `Retry-After` header.'
  contact:
    url: https://developers.vivideo.ai
servers:
- url: https://api.vivideo.ai
security:
- ApiKeyBearer: []
tags:
- name: Videos
paths:
  /v1/models:
    get:
      operationId: listModels
      summary: Available video models and credit rates
      tags:
      - Videos
      responses:
        '200':
          description: Manual-mode models plus the auto-generate pipeline.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Model'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/videos:
    post:
      operationId: createVideo
      summary: Create a video (async)
      description: 'Starts a video generation. Premium accounts are charged credits

        atomically and rendering starts immediately (`status: "processing"`).

        Free accounts receive a one-time preview (`status: "preview"`) with an

        upgrade link instead of a render.


        Send an `Idempotency-Key` header so network retries can never create or

        charge a duplicate video. Identical concurrent requests without one are

        rejected with `409 duplicate_request`.'
      tags:
      - Videos
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CreateVideoAuto'
              - $ref: '#/components/schemas/CreateVideoManual'
              discriminator:
                propertyName: mode
            examples:
              auto:
                summary: Auto-Generate (AI avatar video)
                value:
                  mode: auto
                  prompt: A 30-second product intro for our meal-planning app, upbeat and friendly
                  duration_seconds: 30
                  avatar_id: Abigail_expressive_2024112501
                  voice_id: 1bd001e7e50f421d891986aad5158bc8
                  brand_kit_id: br_1a2b3c4d
                  orientation: landscape
              manual:
                summary: Manual mode (direct model)
                value:
                  mode: manual
                  model: veo31_fast
                  prompt: A golden retriever surfing a wave at sunset, cinematic
                  duration_seconds: 8
                  resolution: 1080p
                  aspect_ratio: '16:9'
      responses:
        '201':
          description: Video accepted (processing) or free preview created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Video'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/UpgradeRequired'
        '409':
          description: Duplicate request (`duplicate_request`) or an Idempotency-Key still in flight (`idempotency_in_flight`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          $ref: '#/components/responses/RateLimited'
    get:
      operationId: listVideos
      summary: List videos
      tags:
      - Videos
      parameters:
      - name: folder_id
        in: query
        schema:
          type: string
        description: Filter to one folder. Defaults to all of the account's videos.
      - name: status
        in: query
        schema:
          type: string
          enum:
          - queued
          - processing
          - completed
          - failed
          - preview
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      responses:
        '200':
          description: Videos, newest first.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Video'
                  count:
                    type: integer
                  total:
                    type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/videos/{video_id}:
    get:
      operationId: getVideo
      summary: Video status and result (poll this)
      description: 'Poll while `status` is `queued`/`processing` (respect

        `poll_interval_seconds`, typically 5s). Terminal states: `completed`

        (with `video_url`) and `failed` (credits auto-refunded). Free previews

        stay in `preview` until rendered after an upgrade.'
      tags:
      - Videos
      parameters:
      - $ref: '#/components/parameters/VideoId'
      responses:
        '200':
          description: Current state of the video.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Video'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/videos/{video_id}/render:
    post:
      operationId: renderVideo
      summary: Render a free preview after upgrading
      description: 'Renders a `status: "preview"` video for real once the account is

        premium. The first video after upgrading is free (comped); later renders

        charge the normal credit price. Idempotent — if the video is already

        rendering or done, the current state is returned without a second charge.'
      tags:
      - Videos
      parameters:
      - $ref: '#/components/parameters/VideoId'
      responses:
        '200':
          description: Render started (or current state if already rendered).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Video'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '403':
          $ref: '#/components/responses/UpgradeRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
        maxLength: 255
      description: Client-chosen key; retries with the same key replay the original response instead of creating a duplicate video.
    VideoId:
      name: video_id
      in: path
      required: true
      schema:
        type: string
  schemas:
    ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - retryable
          - request_id
          properties:
            code:
              type: string
              description: Stable machine-readable code.
              enum:
              - invalid_request
              - missing_api_key
              - invalid_api_key
              - api_key_revoked
              - account_not_found
              - not_found
              - unknown_model
              - invalid_url
              - insufficient_credits
              - upgrade_required
              - free_limit_reached
              - rate_limited
              - duplicate_request
              - idempotency_in_flight
              - payload_too_large
              - webhook_limit_reached
              - upstream_error
              - internal_error
              - method_not_allowed
            message:
              type: string
            retryable:
              type: boolean
            request_id:
              type: string
              example: req_1f2e3d4c5b6a7988
            retry_after_seconds:
              type: integer
            details:
              type: object
              additionalProperties: true
            links:
              type: object
              additionalProperties:
                type: string
              description: Next steps — may include `upgrade`, `buy_credits`, `manage_keys`, `docs`.
    CreateVideoAuto:
      type: object
      required:
      - mode
      - prompt
      properties:
        mode:
          type: string
          enum:
          - auto
        prompt:
          type: string
          maxLength: 5000
        duration_seconds:
          type: integer
          minimum: 5
          maximum: 300
          default: 30
        avatar_id:
          type: string
          description: From GET /v1/avatars (optional).
        voice_id:
          type: string
          description: From GET /v1/voices (optional).
        brand_kit_id:
          type: string
          description: A brand_ref from GET /v1/brand-kits (optional).
        style_id:
          type: string
          description: A HeyGen template/style id (optional).
        file_asset_ids:
          type: array
          items:
            type: string
          description: HeyGen asset_ids from POST /v1/assets — reference files the video agent can weave in.
        orientation:
          type: string
          enum:
          - landscape
          - portrait
        folder_id:
          type: string
        name:
          type: string
          maxLength: 60
    Model:
      type: object
      properties:
        id:
          type: string
          example: veo-3.1-fast
        object:
          type: string
          example: model
        name:
          type: string
        brand:
          type: string
        mode:
          type: string
          enum:
          - manual
          - auto
        requires_premium:
          type: boolean
        operations:
          type: array
          items:
            type: string
            enum:
            - text_to_video
            - image_to_video
            - first_last_frame
            - multiple_images
        credits_per_second:
          type: object
          additionalProperties:
            type: number
          description: Keyed by resolution. Estimate — the create response's `credits_charged` is authoritative.
        durations:
          type: array
          items:
            type: string
            example: 5s
        default_duration:
          type: string
        resolutions:
          type: array
          items:
            type: string
        default_resolution:
          type: string
        aspect_ratios:
          type: array
          items:
            type: string
        default_aspect_ratio:
          type: string
        native_audio:
          type: boolean
        supports_negative_prompt:
          type: boolean
        supports_seed:
          type: boolean
        supports_motion:
          type: boolean
          description: Vidu movement_amplitude control.
        supports_cfg_scale:
          type: boolean
          description: Kling cfg_scale (prompt adherence) control.
        styles:
          type: array
          items:
            type: string
          description: Style presets (e.g. PixVerse anime/3d_animation/…), when the model supports them.
    CreateVideoManual:
      type: object
      required:
      - mode
      - model
      - prompt
      description: 'The operation is inferred from the inputs: text-to-video by default; image_to_video with image_url; first_last_frame with first_frame_url + last_frame_url; multiple_images with image_urls. resolution, duration_seconds, aspect_ratio and style are validated against the chosen model''s allowed values (see GET /v1/models) — a 400 lists what''s allowed.

        '
      properties:
        mode:
          type: string
          enum:
          - manual
        model:
          type: string
          description: A model id from GET /v1/models.
          example: veo31_fast
        prompt:
          type: string
          maxLength: 5000
        duration_seconds:
          type: integer
          description: Must match one of the model's durations (e.g. 4 for '4s').
        resolution:
          type: string
          description: Must be one of the model's resolutions.
        aspect_ratio:
          type: string
          description: Must be one of the model's aspect_ratios.
        negative_prompt:
          type: string
          description: Models with supports_negative_prompt.
        seed:
          type: integer
          description: Models with supports_seed.
        generate_audio:
          type: boolean
          description: Models with native_audio.
        style:
          type: string
          description: One of the model's styles (e.g. PixVerse anime).
        movement_amplitude:
          type: string
          description: Vidu motion control (auto/small/medium/large).
        cfg_scale:
          type: number
          description: Kling prompt-adherence 0–1.
        camera_fixed:
          type: boolean
        auto_fix:
          type: boolean
        image_url:
          type: string
          description: Switches the request to image_to_video.
        first_frame_url:
          type: string
          description: With last_frame_url → first_last_frame.
        last_frame_url:
          type: string
        end_image_url:
          type: string
        image_urls:
          type: array
          items:
            type: string
          description: Reference images → multiple_images (models that support it, e.g. veo31_fast).
        folder_id:
          type: string
        name:
          type: string
          maxLength: 60
    Video:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          example: video
        mode:
          type: string
          enum:
          - auto
          - manual
        model:
          type: string
          example: veo31_fast
        status:
          type: string
          enum:
          - queued
          - processing
          - completed
          - failed
          - preview
        name:
          type: string
        folder_id:
          type: string
        created_at:
          type: string
        credits_charged:
          type: number
        poll_interval_seconds:
          type: integer
          example: 5
        video_url:
          type: string
          description: Present when status=completed.
        video_url_no_captions:
          type: string
        caption_url:
          type: string
        thumbnail_url:
          type: string
        duration_seconds:
          type: number
        progress:
          type: object
          properties:
            status:
              type: string
            queue_position:
              type:
              - integer
              - 'null'
            percent:
              type:
              - number
              - 'null'
        error:
          type: object
          properties:
            code:
              type: string
              example: generation_failed
            message:
              type: string
            credits_refunded:
              type: boolean
        preview:
          type: object
          description: Present when status=preview (free-account funnel).
          properties:
            image_url:
              type:
              - string
              - 'null'
              description: Low-res preview image — display blurred.
            image_note:
              type: string
            message:
              type: string
            upgrade_url:
              type: string
              example: https://app.vivideo.ai/upgrade
  responses:
    NotFound:
      description: The resource does not exist for this account (`not_found`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    UpgradeRequired:
      description: Premium plan required or the free allowance is used (`upgrade_required`, `free_limit_reached`); `links.upgrade` = https://app.vivideo.ai/upgrade.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    BadRequest:
      description: Invalid parameters (`invalid_request`, `unknown_model`, `invalid_url`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: Rate limit hit (`rate_limited`). Honor the `Retry-After` header / `retry_after_seconds` field.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Missing, malformed or revoked API key (`missing_api_key`, `invalid_api_key`, `api_key_revoked`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    InsufficientCredits:
      description: Not enough credits (`insufficient_credits`); `links.buy_credits` points to the top-up page.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: vv_live_...
      description: Vivideo API key. Also accepted as an `X-API-Key` header.