AI Media Studio for developers
AI Media Studio has a public REST API, a command-line tool and an MCP server, so you can generate images and videos from your own code or from an AI coding agent. Every call uses the same models and the same workspace credits as the web app. Full reference: developer docs.
Does AI Media Studio have an API?
Yes. The REST API lives at https://app.ai-media-studio.com/api/v1 and authenticates with a bearer API key. Workspace owners and admins create keys in the app under workspace settings, API, and choose the scopes each key gets.
| Method | Endpoint | What it does |
|---|---|---|
| POST | /api/v1/images/generate | Generate or edit an image |
| POST | /api/v1/videos/generate | Generate a video from text or an image |
| GET | /api/v1/models | List the image and video models your key can use |
| POST | /api/v1/uploads | Upload a source image for edits or image-to-video |
Key scopes: image:generate, video:generate, media:read, media:write.
curl -X POST https://app.ai-media-studio.com/api/v1/images/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "a red panda astronaut, studio lighting"}'Which models can I call?
Image models: Nano Banana 2.1, Nano Banana Pro, GPT Image 2.5, Muse Image.
Video models: Kling O3 Pro, Kling v3 Pro, Seedance 2.0, Grok Imagine Video 1.5.
GET /api/v1/models returns the current list with credit costs, so your code does not need to hardcode it. For a readable overview of what each model costs per image or per second of video, see the AI model price list.
Is there a command-line tool?
Yes. Install the CLI from npm and set your API key:
npm install -g @ai-media-studio/cliCan I use AI Media Studio from Claude Code, Cursor or Codex?
Yes. The @ai-media-studio/mcp server works with Claude Code, Cursor, Codex and Claude Desktop. In Claude Code:
claude mcp add aims \
-e AIMS_API_KEY=aims_... \
-- npx -y -p @ai-media-studio/mcp@latest aims-mcpAgent skills are also available:
npx skills add liebhardt-io/aims-agentHow is API usage billed?
API calls draw from the same monthly workspace credits as the web app, at the same per-model credit cost. Paid plans start at $19/month.