APIMODELSAPIMODELS

Blog · 2026-12-04

MCP Server for Image, Video, OCR & Speech in Claude Code, Cursor and Codex (2026 Guide)

Model pages: GPT Image 2.6 API · Seedance 2.5 API · Unlimited-OCR-2 API · SparkVoice 1.0 API — pricing, specs and the playground

Short answer: Point Claude Code, Cursor, Codex, or VS Code at the hosted APIMODELS MCP endpoint `https://api.apimodels.app/mcp` (OAuth login, zero local packages) — or run `npx -y apimodels-mcp install` once — to give your coding agent direct tools for 190+ image, video, OCR, SVG, and speech models on one prepaid USD balance, with async task polling so multi-minute video renders never time out the editor.

Coding agents like Claude Code, Cursor, and OpenAI Codex are great at writing components and scripts, yet whenever a task needs a hero illustration, a clean 3 KB SVG logo, a product demo clip, or PDF table extraction, developers still break flow to open separate web UIs and download files manually. Wiring a single multimodal MCP server eliminates that context switch.

Hosted HTTP MCP vs local stdio (`apimodels-mcp`): which mode to pick

Setup ModeEndpoint / CommandAuth MethodBest For
Hosted HTTP MCP`https://api.apimodels.app/mcp`Built-in browser OAuth (no static key stored in JSON)Claude Code, Cursor, Codex, VS Code — zero Node runtime needed
One-command installer`npx -y apimodels-mcp install`Browser OAuth (`apimodels-mcp login`) or `APIMODELS_API_KEY`Detecting and configuring multiple local editors in one step
Local stdio`npx -y apimodels-mcp``APIMODELS_API_KEY` env varClaude Desktop, CI sandboxes, or clients without remote HTTP MCP

Copy-paste setup for Claude Code, Cursor and Codex

# 1) Claude Code (hosted HTTP + OAuth)
claude mcp add --transport http apimodels https://api.apimodels.app/mcp
# Then inside Claude Code run: /mcp -> apimodels -> Authenticate

# 2) Or install across detected clients automatically (preview first with --dry-run)
npx -y apimodels-mcp install --dry-run
npx -y apimodels-mcp install

For Cursor (`~/.cursor/mcp.json`) or Codex (`~/.codex/config.toml`), point directly to the hosted URL:

{
  "mcpServers": {
    "apimodels": { "url": "https://api.apimodels.app/mcp" }
  }
}

What your agent can build end-to-end through one MCP connection

  • Generate and iterate UI & marketing images: call GPT Image 2.6, Nano Banana 2.1, or FLUX.2 Klein 4B ($0.006/image) and inspect the output directly in the repo.
  • Convert raster assets into clean 1–5 KB SVGs: run Unlimited-SVG ($0.01/image) to turn PNG mockups or icons into semantic SVG markup with real `<text>` elements.
  • Parse PDFs and invoices into Markdown for RAG: call Unlimited-OCR-2 ($0.001/page) to extract HTML tables and LaTeX math straight into project docs.
  • Render video clips and voiceovers without timeouts: launch Seedance 2.5 or Kling 4.0 asynchronously and synthesize narration with SparkVoice 1.0 or Fish Audio S2.1 Pro.

For full tool schemas, plugin marketplace commands, and client-specific guides, see the MCP server documentation, Claude Code setup, Cursor setup, and Codex setup.

Fontes

Perguntas frequentes

Does the hosted APIMODELS MCP server require installing Node.js or storing a static API key?

No. Connecting to https://api.apimodels.app/mcp uses remote HTTP transport with browser OAuth sign-in, so you do not need Node.js or a plaintext API key inside your editor JSON.

Why do multi-minute video generations not time out in Claude Code or Codex?

Long-running video jobs return a task handle immediately and can be polled asynchronously without blocking a single MCP tool timeout window, and any failed job bills $0.

How do I cap spending when giving an autonomous coding agent access to image and video tools?

APIMODELS is strictly prepaid with no auto-charge credit card overages (top-up starts at $10, plus $0.20 free trial credit). When the balance hits $0, requests stop cleanly with HTTP 402.