Get started
OpenGrid documentation
One API for video, image and audio models. You name a model; OpenGrid runs it on the lowest-priced healthy provider and moves the job if that provider fails.
Quickstart →A key, one request and a finished file.Create a generation →Every field of the request and the reply.Use your agent →The MCP server and the skill file for Claude Code, Codex and Cursor.
Your first request
The base URL is https://api.opengrid.one/v1. Requests and replies are JSON. A generation is a job: start it and wait on the same request for the result, or read it later by id.
curl "https://api.opengrid.one/v1/generations?wait=60" \
-H "Authorization: Bearer $OPENGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro",
"variant": "2k",
"quantity": 1,
"input": {
"prompt": "A paper boat drifting down a rain gutter, golden hour",
"aspect_ratio": "16:9"
}
}'Set up your agent
Paste this into Claude Code, Codex, Cursor or any agent that can run commands. It reads the skill file, checks your key and is ready to generate.
Set yourself up to use OpenGrid for any image, video, voice-over or music I ask for. Read https://opengrid.one/SKILL.md and follow its setup steps. My API key is in the OPENGRID_API_KEY environment variable; if it is not set, ask me for it and never print it. Tell me the price and wait for my yes before anything that spends credits.
To connect over MCP instead, see MCP server.
Endpoints at a glance
| Endpoint | Key | What it does |
|---|---|---|
GET /v1/models | No | Every model that can run now, with variants and prices. |
GET /v1/models/{id} | No | One model, with its quantity range and input fields. |
GET /v1/status | No | Success rate and typical time per model, last 24 hours. |
POST /v1/estimate | Yes | The price of a request. Charges nothing. |
POST /v1/generations | Yes | Start a generation. ?wait=60 holds the request until it finishes. |
GET /v1/generations/{id} | Yes | One generation. ?wait=60 holds the request until it finishes. |
GET /v1/generations | Yes | Recent generations, newest first. |
GET /v1/balance | Yes | Balance, account tier and limits. |
GET /v1/usage | Yes | Generations and spend per day. |
For machines
- llms.txt: every page of these docs with a one-line description.
- llms-full.txt: all of the docs in one Markdown file.
- SKILL.md: the skill file an agent installs.
- Every docs page has a Markdown copy: add
.mdto its address, or use Copy page at the top.



