Vivideo Assets API

The Assets API from Vivideo — 4 operation(s) for assets.

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

POST /v1/uploads Get a presigned upload URL (public file → https URL) #
GET /v1/assets List your HeyGen assets #
POST /v1/assets Create a HeyGen asset upload (for auto-mode file_asset_ids) #
DELETE /v1/assets/{asset_id} Delete an asset #
POST /v1/assets/{asset_id}/complete Finalize an asset after uploading its bytes #

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-assets-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-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vivideo Assets 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: Assets
paths:
  /v1/uploads:
    post:
      operationId: createUpload
      summary: Get a presigned upload URL (public file → https URL)
      description: 'Returns a presigned S3 `upload_url` and the resulting public `public_url`. PUT your file bytes to `upload_url` with header `Content-Type: `, then use `public_url` as `image_url` / `first_frame_url` (manual videos), `file_url` (avatar photos) or `logo_url` (brand logos).'
      tags:
      - Assets
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - filename
              - content_type
              properties:
                filename:
                  type: string
                  example: photo.png
                content_type:
                  type: string
                  example: image/png
      responses:
        '201':
          description: Presigned upload created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Upload'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/assets:
    get:
      operationId: listAssets
      summary: List your HeyGen assets
      tags:
      - Assets
      responses:
        '200':
          description: Your uploaded assets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: list
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Asset'
        '401':
          $ref: '#/components/responses/Unauthorized'
    post:
      operationId: createAsset
      summary: Create a HeyGen asset upload (for auto-mode file_asset_ids)
      description: Returns a presigned `upload_url` + `asset_id`. PUT your file bytes to `upload_url` with the returned `upload_headers`, then call POST /v1/assets/{id}/complete. Use `asset_id` as an auto-mode `file_asset_ids` entry, an avatar `asset_id`, or a brand `logo_asset_id`.
      tags:
      - Assets
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - filename
              - content_type
              - size_bytes
              properties:
                filename:
                  type: string
                  example: reference.png
                content_type:
                  type: string
                  example: image/png
                size_bytes:
                  type: integer
                  example: 20480
      responses:
        '201':
          description: Asset upload created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Asset'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/assets/{asset_id}:
    delete:
      operationId: deleteAsset
      summary: Delete an asset
      tags:
      - Assets
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Asset deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  object:
                    type: string
                    example: asset
                  deleted:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
  /v1/assets/{asset_id}/complete:
    post:
      operationId: completeAsset
      summary: Finalize an asset after uploading its bytes
      tags:
      - Assets
      parameters:
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          description: The asset id (as_...) from POST /v1/assets.
      responses:
        '200':
          description: Asset finalized (status ready or processing).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Asset'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  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`.
    Asset:
      type: object
      properties:
        id:
          type: string
          example: as_1a2b3c4d
          description: Our stable asset id (for complete/delete).
        object:
          type: string
          example: asset
        asset_id:
          type: string
          description: HeyGen asset id — use in file_asset_ids / avatar asset_id / brand logo_asset_id.
        upload_url:
          type: string
        upload_headers:
          type: object
          additionalProperties:
            type: string
        status:
          type: string
          enum:
          - uploading
          - processing
          - ready
          - deleted
        asset_type:
          type: string
        url:
          type: string
        content_type:
          type: string
        size_bytes:
          type: integer
    Upload:
      type: object
      properties:
        object:
          type: string
          example: upload
        upload_url:
          type: string
          description: Presigned S3 PUT url.
        public_url:
          type: string
          description: The resulting public https url to reference.
        expires_in_seconds:
          type: integer
        method:
          type: string
          example: PUT
  responses:
    NotFound:
      description: The resource does not exist for this account (`not_found`).
      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'
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: vv_live_...
      description: Vivideo API key. Also accepted as an `X-API-Key` header.