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).
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.
openapi: 3.2.0
info:
title: varg Jobs 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 (47 KB total) ---
# Full source: https://artifacts.apis.io/varg-ai/openapi/varg-ai-jobs-api-openapi.yml