Base URL
Authentication
All requests require theapi-secret header. Get your API secret from Developer → API Keys.
Agent Identifiers
All endpoints use the agent code (e.g.A91XMB7113) to identify agents. This is the same value across all endpoints, referred to as {code}, {agent_code}, or {agent_id} depending on the endpoint.
You receive this code when you generate an agent or find it in your Library — click any agent to see its Agent ID.
Available APIs
Agent Generation
Create new avatar agents from prompts, images, or video
Agent Management
Validate credentials, retrieve agent details, update prompts
Agent Context
Send real-time messages and inject context into live sessions
File Upload
Upload images, audio, video, and documents
Dynamics
Generate and manage avatar movements and gestures
Credits & Billing
Check credit balance, usage rates, and minutes remaining
Common Error Format
All errors follow the same structure:| HTTP Status | Meaning |
|---|---|
200 | Success |
400 | Invalid request parameters |
401 | Invalid or missing api-secret |
402 | Insufficient credits |
404 | Resource not found |
413 | Payload too large |
415 | Unsupported media type |
422 | Validation error |
429 | Rate limit exceeded |
500 | Internal server error |
503 | Service unavailable (workers busy) |
