Skip to main content
DomoAI Enterprise API uses Bearer Token authentication based on API Keys. Each API key is associated with your organization for secure access.

Get Your API Key

To authenticate with DomoAI Enterprise API, you’ll need an API key. Visit the Dashboard - API Keys to generate your API key and manage your organization settings.

Authentication Examples

Video Generation Request

Include your API key in the Authorization header of every request:
curl -X POST "https://api.domoai.app/v1/video/text2video" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -d '{
    "prompt": "A beautiful sunset over mountains with golden clouds",
    "model": "v2-4-faster",
    "duration": 5
  }'

Check Task Status

curl -H "Authorization: Bearer <YOUR_API_KEY>" \
  "https://api.domoai.app/v1/tasks/<YOUR_TASK_ID>"

Expected Response Format

Successful Authentication Response:
{
  "data": {
    "task_id": "<YOUR_TASK_ID>"
  }
}
Authentication Error Response:
{
    "detail": "Invalid or revoked API Key"
}

Next Steps

Ready to start building? Here are your next steps: