API & MCP
Give your AI agents CLAILA
One account for images, video, music, speech and chat models. Connect ChatGPT, Claude, Grok or Cursor in a minute, or call the REST API from your code.
https://api.claila.com/mcp
MCP server
Add one URL to ChatGPT, Claude, Grok, Cursor or any MCP client. Sign in with CLAILA, choose a monthly limit, done.
OpenAI-compatible API
Use the OpenAI SDK for chat and images. One key for GPT, Claude, Gemini, Grok, Mistral, FLUX, Kling and more.
Pay with credits
Calls use your CLAILA credits. Top up $20, $50 or $100, or turn on auto top-up. Set limits per key and per app.
Quick start
MCP · Claude Code
claude mcp add --transport http claila https://api.claila.com/mcp
REST · curl
curl https://api.claila.com/v1/images/generations \
-H "Authorization: Bearer sk-claila-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "flux-2-pro", "prompt": "cozy coffee shop at sunrise, 35mm photo", "preset": "instagram_post"}'
OpenAI SDK · Python
from openai import OpenAI
client = OpenAI(base_url="https://api.claila.com/v1", api_key="sk-claila-YOUR_KEY")
chat = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "user", "content": "Write 3 Instagram captions for a coffee shop"}],
)
print(chat.choices[0].message.content)
img = client.images.generate(model="flux-2-pro", prompt="cozy coffee shop at sunrise", size="1024x1280")
print(img.data[0].url)
For agents: llms.txt, SKILL.md and OpenAPI describe everything an agent needs. llms.txt · SKILL.md · OpenAPI
Models and prices
In credits. A top-up credit costs about $0.03; credits from your plan work the same way.
FLUX.2 [pro] flux-2-pro | image | 3 | image up to 1 megapixel; 2 MP costs double |
FLUX1.1 [pro] Ultra flux-pro-ultra | image | 5 | image (up to 4 MP) |
FLUX.1 [schnell] flux-schnell | image | 1 | image |
Nano Banana 2 nano-banana-2 | image | 6 | image at 1K; 2K = 9, 4K = 13 credits |
FLUX.2 [pro] Edit flux-2-pro-edit | image | 5 | image |
FLUX.1 Kontext [pro] flux-kontext | image | 4 | image |
Remove background remove-background | image | 2 | image |
SeedVR upscale upscale | image | 3 | image (2x or 4x) |
Kling 2.6 Pro kling-2.6-pro | video | 54 | 5 s video with sound; 10 s = 108; without sound 27 / 54 |
Wan 2.2 image-to-video wan-2.2 | video | 8 | 5 s video, 720p |
MiniMax Music 2.6 minimax-music-2.6 | audio | 12 | song with vocals |
ElevenLabs Music elevenlabs-music | audio | 48 | 60 s track |
Stable Audio 3 stable-audio-3 | audio | 3 | clip up to 30 s |
Text to speech tts | audio | 3 | each 1000 characters |
GPT-6 Luna gpt-6-luna | chat | 7.69 / 38.46 | 1M input / output tokens |
GPT-6 Astra gpt-6-astra | chat | 769.23 / 3 846.15 | 1M input / output tokens |
Claude Fable 5.1 claude-fable-5-1 | chat | 769.23 / 3 846.15 | 1M input / output tokens |
GPT-6.1 Sol gpt-6.1-sol | chat | 153.85 / 769.23 | 1M input / output tokens |
Grok 4.7 grok-4.7 | chat | 153.85 / 461.54 | 1M input / output tokens |
Claude Opus 5.5 claude-opus-5-5 | chat | 307.69 / 1 538.46 | 1M input / output tokens |
ChatGPT-5.5 gpt-5.5 | chat | 384.62 / 2 307.69 | 1M input / output tokens |
ChatGPT-5.4 gpt-5.4 | chat | 192.31 / 1 153.85 | 1M input / output tokens |
Gemini 3.1 Pro gemini-3.1-pro-preview | chat | 153.85 / 923.08 | 1M input / output tokens |
ChatGPT-5.4 mini gpt-5.4-mini | chat | 57.69 / 346.15 | 1M input / output tokens |
Claude Sonnet 5.5 claude-sonnet-5-5 | chat | 153.85 / 769.23 | 1M input / output tokens |
Gemini 3.8 Flash gemini-3.8-flash | chat | 57.69 / 288.46 | 1M input / output tokens |
Mistral Large 3 mistral-large-latest | chat | 153.85 / 461.54 | 1M input / output tokens |
Mistral Medium 3.5 mistral-medium-latest | chat | 115.38 / 576.92 | 1M input / output tokens |