エージェントUse · AI agents
An image tool for your agent at $0.003 a call.
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:
claude mcp add --transport http animeapi https://animeapi.ai/mcpOr with a key, for headless agents and CI:
claude mcp add --transport http animeapi https://animeapi.ai/mcp \
--header "Authorization: Bearer $ANIMEAPI_KEY"Cursor and other clients that read a JSON config:
{
"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:
npx skills add animeapi-ai/animeapi-skillClient-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.
{
"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
}
“cover image for a blog post about weekend hiking: a girl with a backpack on a mountain ridge at sunrise”anime · $0.003 · 4.0s · 1280×832
04Limits to know first
- A person has to be involved once: to approve the OAuth sign-in or to create a key. An agent cannot open an account by itself.
- Chat apps add it by URL as a custom connector. It is not in their built-in connector directories.
- Image links are not permanent storage. Have the agent download the file it wants to keep.
- AnimeAPI does not generate adult content. Explicit prompts are refused and not charged.
- The video tool is priced per second ($0.016 at 480p, $0.04 at 768p) and takes minutes. Tell your agent to ask before it uses it.
- For images with readable text (covers, diagrams with labels) the agent should pick
ultra($0.01) orultra-max($0.02).
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.
06Links
- MCP guideClaude, ChatGPT, Cursor, Codex and other clients
- MCP server listingserver.json for the official MCP registry (ai.animeapi/mcp)
- Agent skillSKILL.md with Node and Python helpers
- Claude Code skillInstall by hand
- pricing.jsonPrices in a form an agent can read
07Other uses
- SillyTavern and roleplay front endsScene and character images from the chat
- Discord botsA /anime slash command
- Visual novel and game artBackgrounds and sprites in a batch
- n8n workflowsCommunity node or the HTTP Request node
- OpenAI images API drop-inChange the base URL, keep the code