Skip to content
OpenGrid

Popular models

  • Seedance 2.5ByteDance · Video$0.1039
  • Kling 4.0Kuaishou · Video$0.147
  • Nano Banana ProGoogle · Image$0.1412
  • Wan 3.0Alibaba · Video$0.0345
  • Wan 3.0 PrimeAlibaba · Video$0.054
  • Veo 3.1 FastGoogle · Video$0.084
  • Veo 3.1Google · Video$0.336
  • Kling 3.0Kuaishou · Video$0.0706
Get API key

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.

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.

Paste into your agent
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

EndpointKeyWhat it does
GET /v1/modelsNoEvery model that can run now, with variants and prices.
GET /v1/models/{id}NoOne model, with its quantity range and input fields.
GET /v1/statusNoSuccess rate and typical time per model, last 24 hours.
POST /v1/estimateYesThe price of a request. Charges nothing.
POST /v1/generationsYesStart a generation. ?wait=60 holds the request until it finishes.
GET /v1/generations/{id}YesOne generation. ?wait=60 holds the request until it finishes.
GET /v1/generationsYesRecent generations, newest first.
GET /v1/balanceYesBalance, account tier and limits.
GET /v1/usageYesGenerations 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 .md to its address, or use Copy page at the top.