Overview
Use ModelFold from your coding agent
ModelFold ships two Agent skills — a small set of instructions your coding agent (Claude Code, Codex, Cursor and other skill-aware agents) loads on its own. Once installed, you describe the result you want in plain language and the agent makes the API calls. No more pasting docs into the chat.
npx skills add https://ai.modelfold.onlineSet your API key first:
export MODELFOLD_API_KEY=your_key. Don't have one? Create it in Console → API Keys.
Skills
modelfold-models — build with ModelFold models Available
Lets the agent use ModelFold's image, video, speech and chat models directly. It looks up the live model list, picks the right endpoint, sends the request, waits for the result and saves the file where you asked.
- Good for: adding generation to your own app, or producing image, video and audio files directly.
- Types: image · video · speech · chat
- Start here: Install modelfold-models → What the agent can do
modelfold-chat-agents — use ModelFold in coding agents Available
Run Claude Code, Codex CLI or Grok Build on ModelFold chat models, paid with ModelFold credits. ModelFold serves each vendor's native protocol (Anthropic Messages, OpenAI Responses, xAI Responses) with streaming and tool use — you only change the base URL and key.
- Good for: running your coding agent on ModelFold models and billing.
- Covers: Claude Code · Codex CLI · Grok Build
- Start here: Install modelfold-chat-agents → Claude Code / Codex CLI / Grok Build
Example requests
| You want | Example request |
|---|---|
| A file, right now | "Use GPT Image 2 on ModelFold to make a 1:1 product photo of a white ceramic mug, save it to ./public" |
| Generation inside your app | "Add a backend endpoint that calls Veo 3.1 on ModelFold to generate videos" |
| Speech | "Read this intro aloud with a ModelFold TTS model and save it as intro.mp3" |
| Models and prices | "List every video model on ModelFold with its credit price per call" |
| Claude Code on ModelFold credits | "Configure Claude Code to use ModelFold" |
Quick start
Install the skill (once per machine, requires Node.js):
bashnpx skills add https://ai.modelfold.onlineCreate an API key in Console → API Keys.
Export it as
MODELFOLD_API_KEY. The skill reads the key from this variable, so it never goes into your project files.macOS / Linux:
bashexport MODELFOLD_API_KEY=your_keyWindows (PowerShell):
powershell$env:MODELFOLD_API_KEY = "your_key" setx MODELFOLD_API_KEY "your_key"Restart the agent and just ask. For example: "Use the modelfold-models skill to list the image models on ModelFold".
To update to the latest skill version, run the install command again.