Vyra Account API

Balance and usage.

GitHub OpenAPI

Operations 2

GET /v1/balance Get the account's billing, limit and balance #
GET /v1/usage Get what the account made and was charged #

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/usevyra-com:usevyra-com-account-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

usevyra-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vyra Account API
  version: 1.0.0
  summary: Send footage and say what you want, and get a finished video back.
  description: 'The Vyra API runs the same editor agent as the Vyra app. You send clips, images or audio with a prompt or a reference video, and the agent cuts, captions, reframes and exports it. Most videos finish in 7 to 15 minutes.


    **Keys.** Anyone with a Vyra account can make a key in the web app under Settings → Developer (https://app.usevyra.com/settings). Send it with every call as `Authorization: Bearer vyra_live_…`. Call the API from your server: it sends no CORS headers.


    **Paying.** Videos are paid from a prepaid balance you add funds to in Settings → Developer ($10 to $5,000 at a time). A video costs a fee set by `max_seconds` and `effort` ($0.50 to $4.50), plus $0.02 a minute of video and $0.01 a minute of audio you send, plus any media the agent generates when you allow it. A failed video costs nothing. While the launch offer lasts, the first 100 accounts get $20 of credit with their first key.


    **Limits.** 3,000 calls a minute per key, a 1 MB request body, 200 footage entries and 3 hours of video per request, 5 references, 20 variations, 10 changes to one cut, 10 keys. Videos being made at once: 3 to 50 per account, set by how much you have added in all.


    **Errors.** Every refusal is `{ "error": { "code", "message", "param" } }`. `message` says what to do and `param` names the field at fault. A video that fails carries `error` with a code such as `LINK_NOT_FOUND`, `FOOTAGE_TOO_LONG`, `MAX_PRICE_EXCEEDED` or `RENDER_FAILED`.


    The full guide, with prices and examples: https://www.usevyra.com/docs/api. The same guide as Markdown: https://www.usevyra.com/docs/api.md.'
  termsOfService: https://www.usevyra.com/terms
  contact:
    name: Vyra
    url: https://www.usevyra.com/docs/api
    email: caleb@usevyra.com
servers:
- url: https://vyra-public-api-dd677jigfq-uc.a.run.app
  description: Production. Every call is under /v1.
security:
- bearerAuth: []
tags:
- name: Account
  description: Balance and usage.
paths:
  /v1/balance:
    get:
      tags:
      - Account
      operationId: getBalance
      summary: Get the account's billing, limit and balance
      description: Any of the account's keys can read it. Amounts are in dollars. `max_running` is answered for every account; the balance and tier are a prepaid account's.
      responses:
        '200':
          description: The balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Balance'
              examples:
                prepaid:
                  summary: A prepaid account
                  value:
                    billing: prepaid
                    currency: USD
                    balance: 42.1
                    held: 1.19
                    paid_in: 60
                    tier: 2
                    max_running: 10
                    next_tier:
                      tier: 3
                      paid_in: 250
                      max_running: 20
                partner:
                  summary: A partner account
                  value:
                    billing: partner
                    currency: USD
                    balance: null
                    held: null
                    paid_in: null
                    tier: null
                    max_running: 25
                    next_tier: null
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
  /v1/usage:
    get:
      tags:
      - Account
      operationId: getUsage
      summary: Get what the account made and was charged
      description: Counts every key of the account. With no dates it covers this month so far, today included. A range is at most 366 days. A video is counted on the day it was created, and a charge on the day it was made.
      parameters:
      - name: from
        in: query
        description: The first UTC day counted, such as 2026-11-01.
        schema:
          type: string
          format: date
      - name: to
        in: query
        description: The day after the last one counted.
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Totals for the range, and each day something was made or charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
              example:
                from: '2026-11-01'
                to: '2026-12-01'
                currency: USD
                price_multiplier: 1
                videos: 42
                completed: 38
                failed: 3
                working: 1
                charged: 51.37
                days:
                - day: '2026-11-12'
                  videos: 4
                  completed: 3
                  failed: 1
                  charged: 4.12
        '400':
          description: 'The range cannot be taken. Codes: `INVALID_RANGE`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  responses:
    ServerError:
      description: 'Ours. Try again. Codes: `INTERNAL`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: 'Ours, for a moment. Try again shortly. Codes: `UNAVAILABLE`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: 'More than 3,000 calls a minute on this key. Code: `RATE_LIMITED`.'
      headers:
        Retry-After:
          description: Seconds to wait.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: 'No key, or a key we do not know or that was revoked. Codes: `API_KEY_REQUIRED`, `API_KEY_INVALID`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: API_KEY_REQUIRED
              message: 'Send your API key as "Authorization: Bearer <key>".'
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
            message:
              type: string
              description: What went wrong and what to do.
            param:
              type: string
              description: The field at fault, such as `max_seconds`, or the entry for a file refusal (`FILE_NOT_FOUND`, `FILE_NOT_UPLOADED`, `FILE_EXPIRED`), such as `footage[3]` or `references[0]`.
    Usage:
      type: object
      required:
      - from
      - to
      - currency
      - price_multiplier
      - videos
      - completed
      - failed
      - working
      - charged
      - days
      properties:
        from:
          type: string
          format: date
        to:
          type: string
          format: date
        currency:
          type: string
          enum:
          - USD
        price_multiplier:
          type: number
          description: 'The account''s rate on the price list: 1, or a partner rate Vyra set. Every charge counted here was made at it.'
        videos:
          type: integer
        completed:
          type: integer
        failed:
          type: integer
        working:
          type: integer
        charged:
          type: number
          description: Dollars, revisions included.
        days:
          type: array
          items:
            type: object
            required:
            - day
            - videos
            - completed
            - failed
            - charged
            properties:
              day:
                type: string
                format: date
              videos:
                type: integer
              completed:
                type: integer
              failed:
                type: integer
              charged:
                type: number
    Balance:
      type: object
      required:
      - billing
      - currency
      - balance
      - held
      - paid_in
      - tier
      - max_running
      - next_tier
      properties:
        billing:
          type: string
          enum:
          - prepaid
          - partner
          description: 'How the account is billed. A partner is billed afterwards from the price list: its `balance`, `held`, `paid_in`, `tier` and `next_tier` are null.'
        currency:
          type: string
          enum:
          - USD
        balance:
          type:
          - number
          - 'null'
          description: Free to spend, launch credit included. Prepaid only; null for a partner.
        held:
          type:
          - number
          - 'null'
          description: What videos being made are holding. Prepaid only; null for a partner.
        paid_in:
          type:
          - number
          - 'null'
          description: Everything added, less refunds. Sets the tier. Prepaid only; null for a partner.
        tier:
          type:
          - integer
          - 'null'
          minimum: 1
          maximum: 4
          description: Prepaid only; null for a partner.
        max_running:
          type: integer
          description: Videos the account may have being made at once. Prepaid and partner alike.
        next_tier:
          type:
          - object
          - 'null'
          description: What you need to have added for the next tier. Null at the top one. Null for a partner.
          properties:
            tier:
              type: integer
            paid_in:
              type: number
            max_running:
              type: integer
    ErrorCode:
      description: Why a call was refused. Other codes may appear; `message` always says what to do.
      anyOf:
      - type: string
        enum:
        - INVALID_BODY
        - UNKNOWN_FIELD
        - INVALID_TEXT
        - TEXT_TOO_LONG
        - INVALID_NUMBER
        - INVALID_OPTION
        - INVALID_IDEMPOTENCY_KEY
        - INVALID_RANGE
        - FOOTAGE_REQUIRED
        - PROMPT_OR_REFERENCE_REQUIRED
        - INVALID_SOURCE
        - TOO_MANY_SOURCES
        - FILE_NOT_FOUND
        - FILE_NOT_UPLOADED
        - FILE_EXPIRED
        - INVALID_EFFORT
        - INVALID_MAX_SECONDS
        - INVALID_VARIATIONS
        - INVALID_VARIATION_BRIEF
        - INVALID_VARIATION_SCOPE
        - VARIATION_SCOPE_MISMATCH
        - INVALID_SIZE
        - INVALID_GENERATED_MEDIA_BUDGET
        - INVALID_MAX_PRICE
        - INVALID_WEBHOOK_URL
        - INVALID_FILENAME
        - FILES_REQUIRED
        - TOO_MANY_FILES
        - INVALID_FILE
        - FILE_TOO_LARGE
        - CHANGE_REQUIRED
        - CUT_REQUIRED
        - INVALID_VIDEO_IDS
        - RESOLUTION_REQUIRED
        - REVISION_LIMIT
        - NO_BALANCE
        - INVALID_REQUEST
        - API_KEY_REQUIRED
        - API_KEY_INVALID
        - INSUFFICIENT_BALANCE
        - VIDEO_NOT_FOUND
        - NOT_FOUND
        - VIDEO_BUSY
        - VIDEO_NOT_FINISHED
        - VIDEO_EXPIRED
        - RATE_LIMITED
        - TOO_MANY_RUNNING
        - UPLOAD_LIMIT
        - INTERNAL
        - UNAVAILABLE
      - type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: vyra_live_…
      description: 'Make a key in the Vyra web app under Settings → Developer. It is shown once. Send it as `Authorization: Bearer vyra_live_…`.'
externalDocs:
  description: Vyra API guide
  url: https://www.usevyra.com/docs/api