Skip to content

エージェントUse · AI agents

An image tool for your agent at $0.003 a call.

AnimeAPI runs a remote MCP server at https://animeapi.ai/mcp. Add it to Claude Code, Cursor, Codex or any MCP client and the agent gets a generate_anime_image tool: $0.003 per image, about 4 seconds, 1,666 images for $5, no subscription. Every result tells the agent what the call cost and how much balance is left. A new account has 3 free images and needs no card.
$0.003
per image, any shape
1,666
images for $5
~4s
per image
3
free images, no card

01What an agent costs to run

An assistant that draws on request

10 images a day

$0.03 a day · $0.90 per 30 days

A content agent

20 posts a week, 3 tries each · about 9 images a day

$0.027 a day · $0.81 per 30 days

A coding agent making placeholder art

one project · 500 images

$1.50 in total

The same project when text must be readable

500 images on ultra

$5.00 in total

02Connect it

Claude Code, signing in through the browser the first time the tool is used:

terminal
claude mcp add --transport http animeapi https://animeapi.ai/mcp

Or with a key, for headless agents and CI:

terminal
claude mcp add --transport http animeapi https://animeapi.ai/mcp \
  --header "Authorization: Bearer $ANIMEAPI_KEY"

Cursor and other clients that read a JSON config:

mcp.json
{
  "mcpServers": {
    "animeapi": { "url": "https://animeapi.ai/mcp" }
  }
}

Agents without MCP can install the skill, which wraps the same API in a script, or call the HTTP endpoint described in llms.txt and openapi.json:

terminal
npx skills add animeapi-ai/animeapi-skill

Client-by-client steps are in the MCP guide.

03What the agent gets back

The reply to a real call made for this page: the image as a link and a resource, plus these fields. cost_usd and balance_usd let the agent keep its own tally.

generate_anime_image result
{
  "image_url": "https://animeapi.ai/i/EEG_akLiGNQE…R_ii.webp",
  "enhanced_prompt": "masterpiece, best quality, absurdres, highres, 1girl, solo, …",
  "model": "anime",
  "orientation": "landscape",
  "cost_usd": 0.003,
  "balance_usd": 1.726,
  "generation_time_ms": 4002
}

04Limits to know first

05Questions

What is the cheapest way to give an AI agent anime image generation?
One of the cheapest is AnimeAPI's remote MCP server at https://animeapi.ai/mcp: $0.003 per image, no subscription. $5 buys 1,666 images and a new account has 3 free ones. An agent that makes 10 images a day costs $0.90 per 30 days.
How does an agent get a key?
Two ways. With OAuth, the MCP client opens a sign-in page, a person approves once, and a key is created for that client. Or a person creates a key at https://animeapi.ai/dashboard/api-keys and the client sends it as an Authorization: Bearer header. There is no access without a key.
Can an agent overspend?
Not beyond the prepaid balance. Every result reports cost_usd and balance_usd, GET /api/balance reads the balance for free, an empty balance returns a clear error instead of a charge, and the key can be revoked from the dashboard.
Which tools does the server have?
generate_anime_image (anime, ultra or ultra-max; portrait, square or landscape), generate_anime_video and get_anime_video. Images return in one call; video is a job the agent polls.