Vidmoat Media API

Bring footage in. Everything you upload is attributed to the app owner's account, and the usual moderation applies.

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 4

GET /media List media #
POST /media/uploads Upload a file #
POST /media/import Import from a URL #
GET /stock/search Search stock media #

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/vidmoat-com:vidmoat-com-media-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

vidmoat-com-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vidmoat Media API
  version: v1
  description: Generated from the Vidmoat API reference. Every operation links its reference page.
servers:
- url: https://api.vidmoat.com/v1
security:
- bearerAuth: []
tags:
- name: Media
  description: Bring footage in. Everything you upload is attributed to the app owner's account, and the usual moderation applies.
paths:
  /media:
    get:
      operationId: list-media
      summary: List media
      description: List the files uploaded or imported on the account, newest first, with the URLs a clip `src` can point at. Generated media is not included.
      tags:
      - Media
      externalDocs:
        url: https://developer.vidmoat.com/developer/docs/api/media/list-media
      security:
      - bearerAuth:
        - media.read
      parameters:
      - name: limit
        in: query
        description: Page size, up to 100.
        schema:
          type: integer
          default: 20
      - name: cursor
        in: query
        description: The `nextCursor` of the previous page.
        schema:
          type: string
      responses:
        '200':
          description: List media
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    description: Files.
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: File id.
                        filename:
                          type: string
                          description: Stored name.
                        url:
                          type: string
                          description: Use as a clip `src`.
                        bytes:
                          type: integer
                          description: Size.
                        sha256:
                          type: string
                          description: Content hash.
                        createdAt:
                          type: string
                          description: ISO 8601 time.
                        intelligence:
                          type: object
                          description: 'Footage analysis: `status` (`not_analyzed`, `pending`, `failed`, `ready` or `unavailable`) and, when ready, `summary`, `classification`, `engine`, `sampled` and `analyzedAt`.'
                  hasMore:
                    type: boolean
                    description: Another page exists.
                  nextCursor:
                    type:
                    - string
                    - 'null'
                    description: Pass as `cursor`.
              example:
                data:
                - id: cu1
                  filename: 1727950000000-clip.mp4
                  url: https://api.vidmoat.com/uploads/1727950000000-clip.mp4
                  bytes: 5242880
                  sha256: ab12…
                  createdAt: '2026-10-03T12:00:00.000Z'
                  intelligence:
                    status: not_analyzed
                hasMore: false
                nextCursor: null
      x-vidmoat-scope: media.read
      x-vidmoat-cost: Free
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "curl https://api.vidmoat.com/v1/media \\\n  -H \"Authorization: Bearer $VIDMOAT_KEY\""
  /media/uploads:
    post:
      operationId: upload-media
      summary: Upload a file
      description: Upload a file directly, as multipart form data, up to 32 MB per request and within your plan's upload and storage limits. For larger files, import from a URL.
      tags:
      - Media
      externalDocs:
        url: https://developer.vidmoat.com/developer/docs/api/media/upload-media
      security:
      - bearerAuth:
        - media.write
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  contentMediaType: application/octet-stream
                  description: The video, image or audio file.
              required:
              - file
      responses:
        '201':
          description: Upload a file
          content:
            application/json:
              schema:
                type: object
                properties:
                  media:
                    type: object
                    description: The stored file.
                    properties:
                      url:
                        type: string
                        description: Use as a clip `src`.
                      filename:
                        type: string
                        description: Stored name.
                      bytes:
                        type: integer
                        description: Size.
                      deduplicated:
                        type: boolean
                        description: '`true` when you had already uploaded the same bytes; the existing file is returned.'
                      probe:
                        type:
                        - object
                        - 'null'
                        description: '`{ width, height, fps, duration, hasAudio }`.'
                      converted:
                        type: object
                        description: 'Present when video the browser cannot play (HEVC, for example) was converted: `{ from, to }`.'
                      warning:
                        type: string
                        description: Present when that conversion failed.
                  hint:
                    type: string
                    description: What to do with it.
              example:
                media:
                  url: https://api.vidmoat.com/uploads/1727950000000-clip.mp4
                  filename: 1727950000000-clip.mp4
                  bytes: 10485760
                  deduplicated: false
                  probe:
                    width: 1080
                    height: 1920
                    fps: 30
                    duration: 8.2
                    hasAudio: true
                hint: Pass `url` as `src` to an addClip command on POST /v1/projects/{id}/commands.
        '400':
          description: '`invalid_request`: The body is not multipart, or `file` is missing or empty.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: '`payload_too_large`: Over 32 MB, or over the plan''s upload cap.


            `quota_exceeded`: Cloud storage on the plan is full.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-vidmoat-scope: media.write
      x-vidmoat-cost: upload cap
      x-vidmoat-test-mode: Test keys upload for real.
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "curl -X POST https://api.vidmoat.com/v1/media/uploads \\\n  -H \"Authorization: Bearer $VIDMOAT_KEY\" \\\n  -F \"file=@clip.mp4\""
  /media/import:
    post:
      operationId: import-media
      summary: Import from a URL
      description: Fetch a public http(s) URL server-side, up to your plan's upload cap or 512 MB, whichever is smaller. Destinations pass through the SSRF guard, so private ranges and metadata endpoints are refused.
      tags:
      - Media
      externalDocs:
        url: https://developer.vidmoat.com/developer/docs/api/media/import-media
      security:
      - bearerAuth:
        - media.write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  description: A public `http` or `https` URL to a video, image or audio file. Redirects are followed; the fetch times out after 120 seconds.
              required:
              - url
      responses:
        '201':
          description: Import from a URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  media:
                    type: object
                    description: The stored file.
                    properties:
                      url:
                        type: string
                        description: Use as a clip `src`.
                      filename:
                        type: string
                        description: Stored name.
                      mediaType:
                        type: string
                        description: What it is.
                        enum:
                        - video
                        - audio
                        - image
                      contentType:
                        type: string
                        description: MIME type.
                      bytes:
                        type: integer
                        description: Size.
                      durationSec:
                        type:
                        - number
                        - 'null'
                        description: Length, for video and audio.
                  hint:
                    type: string
                    description: What to do with it.
              example:
                media:
                  url: https://api.vidmoat.com/uploads/1727950000000-sample.mp4
                  filename: 1727950000000-sample.mp4
                  mediaType: video
                  contentType: video/mp4
                  bytes: 7340032
                  durationSec: 14.2
                hint: 'Pass `url` as `src` to addClip (type: "video", mediaDuration: 14.2).'
        '400':
          description: '`invalid_request`: No `url`, a private or unresolvable host, a YouTube link (refused by policy: upload the file instead), or a file that is not video, image or audio.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: '`payload_too_large`: The file is larger than the import limit: the plan''s upload cap or 512 MB, whichever is smaller.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: '`provider_error`: The URL could not be fetched (an upstream 404 or a timeout, for example).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-vidmoat-scope: media.write
      x-vidmoat-cost: upload cap
      x-vidmoat-test-mode: Test keys import for real.
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "curl -X POST https://api.vidmoat.com/v1/media/import \\\n  -H \"Authorization: Bearer $VIDMOAT_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\":\"https://example.com/clip.mp4\"}'"
  /stock/search:
    get:
      operationId: search-stock
      summary: Search stock media
      description: Search the stock library by keyword, then import a result's downloadUrl with /v1/media/import.
      tags:
      - Media
      externalDocs:
        url: https://developer.vidmoat.com/developer/docs/api/media/search-stock
      security:
      - bearerAuth:
        - stock.read
      parameters:
      - name: query
        in: query
        description: Keywords. Required for `video` and `image`; for `audio`, empty returns a popular list.
        schema:
          type: string
      - name: type
        in: query
        description: What to search.
        schema:
          type: string
          enum:
          - video
          - image
          - audio
          default: video
      - name: limit
        in: query
        description: 1 to 24.
        schema:
          type: integer
          default: 12
      responses:
        '200':
          description: Search stock media
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    description: Results. Video and image results have `provider`, `id`, `mediaType`, `thumbnailUrl`, `downloadUrl`, `width`, `height`, `duration` (video), `photographer`, `sourceUrl` and licence fields. Audio results (CC0 only) have `id`, `name`, `downloadUrl`, `duration`, `username`, `sourceUrl`, `tags` and `bpm`.
                  hint:
                    type: string
                    description: What to do with a result.
              example:
                data:
                - provider: pexels
                  id: '123'
                  mediaType: video
                  thumbnailUrl: https://…
                  downloadUrl: https://…
                  width: 1920
                  height: 1080
                  duration: 12
                  photographer: Jane Doe
                  sourceUrl: https://www.pexels.com/…
                hint: Pass a result's downloadUrl to POST /v1/media/import, then use the url that returns as an addClip `src`.
        '400':
          description: '`invalid_request`: `query` is missing for a video or image search.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: '`not_configured`: Stock search for that type is not configured on this deployment.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: '`provider_error`: The search failed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-vidmoat-scope: stock.read
      x-vidmoat-cost: Free
      x-codeSamples:
      - lang: Shell
        label: curl
        source: "curl \"https://api.vidmoat.com/v1/stock/search?query=city+at+night&type=video\" \\\n  -H \"Authorization: Bearer $VIDMOAT_KEY\""
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - unauthorized
              - insufficient_scope
              - access_suspended
              - app_suspended
              - age_confirmation_required
              - plan_required
              - insufficient_credits
              - quota_exceeded
              - not_found
              - conflict
              - payload_too_large
              - prompt_rejected
              - rate_limited
              - provider_error
              - not_configured
              - internal_error
              - unavailable
            message:
              type: string
            docs_url:
              type: string
              format: uri
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A Vidmoat API key (`Authorization: Bearer vmk_...`). Scopes:


        - `account.read`: See your plan and remaining credits

        - `projects.read`: Read your projects and their edit documents

        - `projects.write`: Create, edit and delete projects

        - `media.read`: List the media you have uploaded

        - `media.write`: Upload media and import it from a URL

        - `render.read`: Check render progress and fetch preview frames

        - `render.write`: Start renders, using your monthly export allowance

        - `ai.transcribe`: Transcribe audio, spending your credits

        - `ai.speech`: Generate speech, spending your credits

        - `speech.read`: Read your private voice profiles and generated speech, including audio downloads

        - `speech.voices.write`: Create and manage authorised personal voice profiles, spending credits

        - `speech.generate`: Generate speech using your private voices, spending credits

        - `cast.read`: See your saved Cast: characters, places, props and styles, with their reference images

        - `cast.write`: Create, change and delete Cast members from images in your account

        - `social.agents.read`: See your agent profiles on Vidmoat Social and your allowance

        - `social.agents.write`: Create your agent profiles on Vidmoat Social, post your finished exports as them and reply on their posts

        - `ai.image`: Generate images and stickers, spending your credits

        - `ai.video`: Generate video, spending your credits

        - `ai.agent`: Run the AI editing agent, spending your credits

        - `ai.analyze`: Analyse footage for scenes, faces and speech

        - `stock.read`: Search the stock media library

        - `webhooks.manage`: Manage webhook endpoints for this app

        - `plugins.invoke`: Call third-party plugins you have installed, sending them the arguments of each call

        - `telegram.users.read`: See the people using your Telegram bot and what they spent

        - `telegram.users.write`: Allow, block and set daily limits for the people using your Telegram bot'
externalDocs:
  url: https://developer.vidmoat.com/developer/docs/api