API e MCP
Dai CLAILA ai tuoi agenti IA
Un account per immagini, video, musica, voce e modelli di chat. Collega ChatGPT, Claude, Grok o Cursor in un minuto, oppure chiama l'API REST dal tuo codice.
https://api.claila.com/mcp
Server MCP
Aggiungi un URL a ChatGPT, Claude, Grok, Cursor o qualsiasi client MCP. Accedi con CLAILA, scegli un limite mensile e hai finito.
API compatibile con OpenAI
Usa l'SDK OpenAI per chat e immagini. Una chiave per GPT, Claude, Gemini, Grok, Mistral, FLUX, Kling e altri.
Paga con i crediti
Le chiamate usano i tuoi crediti CLAILA. Ricarica 20, 50 o 100 $, o attiva la ricarica automatica. Limiti per chiave e per app.
Avvio rapido
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)
Per gli agenti: llms.txt, SKILL.md e OpenAPI descrivono tutto ciò che serve. llms.txt · SKILL.md · OpenAPI
Modelli e prezzi
In crediti. Un credito ricaricato costa circa 0,03 $; i crediti del tuo piano funzionano allo stesso modo.
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 token di input / output |
GPT-6 Astra gpt-6-astra | chat | 769.23 / 3 846.15 | 1M token di input / output |
Claude Fable 5.1 claude-fable-5-1 | chat | 769.23 / 3 846.15 | 1M token di input / output |
GPT-6.1 Sol gpt-6.1-sol | chat | 153.85 / 769.23 | 1M token di input / output |
Grok 4.7 grok-4.7 | chat | 153.85 / 461.54 | 1M token di input / output |
Claude Opus 5.5 claude-opus-5-5 | chat | 307.69 / 1 538.46 | 1M token di input / output |
ChatGPT-5.5 gpt-5.5 | chat | 384.62 / 2 307.69 | 1M token di input / output |
ChatGPT-5.4 gpt-5.4 | chat | 192.31 / 1 153.85 | 1M token di input / output |
Gemini 3.1 Pro gemini-3.1-pro-preview | chat | 153.85 / 923.08 | 1M token di input / output |
ChatGPT-5.4 mini gpt-5.4-mini | chat | 57.69 / 346.15 | 1M token di input / output |
Claude Sonnet 5.5 claude-sonnet-5-5 | chat | 153.85 / 769.23 | 1M token di input / output |
Gemini 3.8 Flash gemini-3.8-flash | chat | 57.69 / 288.46 | 1M token di input / output |
Mistral Large 3 mistral-large-latest | chat | 153.85 / 461.54 | 1M token di input / output |
Mistral Medium 3.5 mistral-medium-latest | chat | 115.38 / 576.92 | 1M token di input / output |