varg.ai Generation API

Create generation jobs (image, video, speech, music, transcription, ffmpeg, render, pipeline)

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 9

POST /image Generate an image #
POST /video Generate a video #
POST /video/analyze Analyze a video #
POST /speech Generate speech (TTS) #
POST /music Generate music #
POST /transcription Transcribe audio #
POST /ffmpeg Run an ffmpeg operation #
POST /render Render TSX to video #
POST /pipeline Run a custom pipeline #

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/varg-ai:varg-ai-generation-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

varg-ai-generation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: varg Generation API
  version: 2.0.0
  description: 'Unified REST API for AI media generation at `api.varg.ai/v2`.


    One API key, ~80 models across 8 providers, async jobs, stable output URLs

    on `s3.varg.ai`, files with lineage, and transparent billing: 1 credit =

    1 cent = $0.01, and models are priced pass-through — you pay what the

    provider charges, no markup. Every amount comes as integer credits

    (`*_cents` / `credits` fields) and as dollars (`*_usd` fields).


    **The async job pattern:** every generation request returns `202 Accepted`

    with a job object (`status: queued`). Poll `GET /jobs/{id}` until the job

    reaches a terminal status (`completed`, `failed`, or `cancelled`), then read

    `output.outputs[0].url`. Alternatively, set `options.webhook_url` in the

    request to receive an HMAC-signed callback when the job finishes.


    **Rate limits** (sliding one-minute windows; a `429` carries `Retry-After`

    and `X-RateLimit-*`):

    - every request with an API key or session: 1,200 a minute per credential;

    - every request without one: 120 a minute per IP;

    - job submits: 60 a minute per key (300 across a team);

    - keyless search (`GET /skills/search`): 3 a minute per IP, then

    `429 sign_in_required` — sign in (`vargai login`) or send a key to keep

    searching.'
servers:
- url: https://api.varg.ai/v2
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (49 KB total) ---
# Full source: https://artifacts.apis.io/varg-ai/openapi/varg-ai-generation-api-openapi.yml