Agents
Use your agent
Give Claude Code, Codex, Cursor or any agent your key and it can find a model, price a job and run it.
The quick way
Paste this into your agent. It reads the skill file, checks your key and is ready.
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.
Two ways to connect
| Skill file | MCP server | |
|---|---|---|
| What it is | A Markdown file that teaches the agent to call the REST API. | The API as tools the agent calls directly. |
| Works in | Any agent that can run shell commands. | Hosts that accept an MCP server with an Authorization header. |
| Set up | Paste the prompt above, or save SKILL.md. | One command. See MCP server. |
They do the same thing and you can use both. Details: Skill file and MCP server.
Before you hand over a key
- Create a separate key for the agent on the API keys page and give it a spend limit. That limit is the most the agent can use.
- Set the key in your own terminal as
OPENGRID_API_KEY. Do not type it into the chat. - The skill and the MCP server both tell the agent to show you the price and wait for your yes before it spends.
- A failed generation costs nothing, whoever started it.
Try it
Use OpenGrid to make a 5 second video of a paper boat in a rain gutter for under $1.50.


