Skip to main content

Let your AI assistant make images and video

Add one URL to Claude, ChatGPT, Grok, Cursor or Codex: nothing to install, no API key. Your assistant gets the live model catalog, exact quotes and task creation, and it stops for your confirmation before anything is charged.

Example session
  1. You: Make a product photo of a ceramic teapot in soft window light.

  2. spicyapi_models_listspicyapi_model_get

    Assistant: Found a text-to-image model and read its inputs

  3. spicyapi_task_quote

    Here is the exact price in US dollars. Create the task?

    alibaba/z-image-turbo/text-to-image · $0.01

  4. spicyapi_task_createspicyapi_task_wait

    Done. Here is your download link.

    output.png

The assistant shows the price and waits for your approval. This image costs $0.01.

Connect your AI with one URL

Paste the connector URL into Claude (web, desktop and mobile), ChatGPT or Grok, or add it as a remote MCP server in Claude Code, Codex, Cursor, VS Code, Gemini CLI or Windsurf. Nothing to install and no API key.

Connector URL
https://mcp.spicyapi.ai/mcp
  1. Step 1Copy the URLUse the copy button above.
  2. Step 2Paste it into your client's connectorsIn Claude, open Connectors and choose Add custom connector. In Grok, add a custom connector.
  3. Step 3Log in and set a daily limitLog in on spicyapi.ai and approve access. The daily spending limit is required; a monthly limit is optional.
claude mcp add --transport http spicyapi --scope user https://mcp.spicyapi.ai/mcp

You stay in control

  • A daily limit for every connectionWhen you approve access, you set a daily spending limit for that connection. A monthly limit is optional.
  • Safe defaultsBy default a connection can browse models and prices, get quotes, create and check tasks, and see your balance. Delete abilities are given only if you tick them.
  • Confirmation before it spendsWhen the client supports it, a confirmation card shows the price and your balance. For larger amounts, you confirm on a spicyapi.ai page instead.
  • Connected appsSee what each connection spent today, change its limit or revoke it. Revoking takes effect immediately.Open Connected apps →

Local server

Prefer to run it on your own computer? The @spicyapi/mcp server still works in Claude Code, Codex, Cursor and other tools. Results now come back as clickable links, and long tasks report progress while you wait.

What is an MCP server?

MCP (Model Context Protocol) is a standard way to give an AI assistant new tools. Add the SpicyAPI server and your assistant can browse models, check prices and create images or video for you.

  1. You and your assistantClaude, Cursor, Codex, VS Code…
  2. SpicyAPI MCP serverHosted by SpicyAPI, or local through npx
  3. Image and video modelsLive catalog, exact prices
The assistant decides which tool to call. Anything that costs money stops and waits for your yes.
  • Assets while you codeAsk for a hero image or product clip without leaving the editor.
  • Exploring modelsAsk which model fits a job and what it will cost.
  • Hands-free batchesLet the agent create, wait for and collect several tasks.

What happens when you ask

  1. Step 1Finds a suitable model in the live catalog and reads what it accepts
  2. Step 2Uploads your local file, if there is one
  3. Step 3Gets an exact quote in US dollars and asks you before anything is charged
  4. Step 4Starts the task, waits for it and hands you the result link
Example session
  1. You: Turn beach.jpg into a six-second clip of waves at sunset.

  2. spicyapi_models_listspicyapi_model_get
    Assistant: Found a video model that accepts a start image
  3. spicyapi_upload_file
    Uploaded beach.jpg
  4. spicyapi_task_quote

    Here is the exact price in US dollars. Create the task?

  5. spicyapi_task_createspicyapi_task_wait
    Done. Here is your download link.
Illustration of a typical session. Nothing is charged until you approve.

Add it to your assistant

Every client runs the same local server through npx. Pick yours for the exact command or config block.

{
  "mcpServers": {
    "spicyapi": {
      "command": "npx",
      "args": ["--yes", "--package=@spicyapi/mcp", "spicyapi-mcp"],
      "env": { "SPICY_API_KEY": "YOUR_SERVER_SIDE_KEY" }
    }
  }
}

One stdio server for every MCP client. Put the block in that client’s own config file.

Third-party clients change their config formats between versions. If a snippet here stops matching, the client's own documentation wins.

Using Claude? Generate images and video from Claude →

Tools it exposes

Read-only tools are free. The two tools that spend money, and the one that deletes content, always ask you first.

FreeFree and read-only12

  • spicyapi_service_statusPublic health check, no key needed
  • spicyapi_docs_searchSearch the bundled documentation
  • spicyapi_models_listEnabled models and your prices
  • spicyapi_model_getOne model and its input schema
  • spicyapi_balance_getAvailable, held and total balance
  • spicyapi_usage_getWhat the current key has spent
  • spicyapi_tasks_listRecent tasks for the current key
  • spicyapi_task_getOne task, with ready result links
  • spicyapi_task_waitWait up to 5 minutes for a task to finish
  • spicyapi_task_quotePrice an exact request without creating it
  • spicyapi_upload_fileUpload a local file to use as input
  • spicyapi_download_url_createA fresh download link for a result

Asks before chargingAsks before it runs3

  • spicyapi_task_createStart a generation task
  • spicyapi_task_retryRun a failed or expired task again
  • spicyapi_task_purgePermanently delete a finished task's content

Add the Agent Skill for the call order

The MCP server gives the agent abilities; the Agent Skill tells it how to use them: read the schema, confirm the quote, reuse one idempotency key per attempt. Claude Code and Codex support both.

npx skills add spicyapi-ai/spicy-skill \
  --agent claude-code

Fix common errors

Most first-time problems are one of these three. Each card shows what you see and the one thing to change.

  • tools

    Tools don't show up

    Restart the assistant after editing its config, and check that the JSON is valid.

  • key

    Missing API key

    Put SPICY_API_KEY in the env block of the server's config. Desktop apps don't see a key you exported in your shell.

  • ask

    Can't create tasks

    Your client can't show confirmation prompts. Free tools still work; use a client that supports MCP elicitation to create tasks.

Questions people ask