API Access
Generate your secure API key to access our models.
Please login to generate an API Key
Documentation
Reference for the Anima REST API.
Chat API
POST
/v1/chat/completionsCreate a model response for the given chat conversation.
curl https://api.anima/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $ANIMA_API_KEY" -d '{
"model": "anima-2.0",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}'Image Generation API
POST
/v1/images/generationsGenerate images from text prompts.
curl https://api.anima/v1/images/generations -H "Content-Type: application/json" -H "Authorization: Bearer $ANIMA_API_KEY" -d '{
"prompt": "A futuristic city with flying cars, neon lights, cyberpunk style",
"n": 1,
"size": "1024x1024",
"response_format": "url"
}'Video Generation API
POST
/v1/video/generationsGenerate short video clips from text prompts.
curl https://api.anima/v1/video/generations -H "Content-Type: application/json" -H "Authorization: Bearer $ANIMA_API_KEY" -d '{
"prompt": "A cat playing with a ball of yarn, cinematic lighting, slow motion",
"model": "anima-video-1.0",
"duration": 5,
"aspect_ratio": "16:9"
}'