Skip to main content

Step 1: Get Your API Key

To get started, you’ll need an API key. Visit the Dashboard - API Keys to generate your Enterprise API key.
You’ll only see your API key once! Store it securely and never share it publicly.

Step 2: Generate Your First Video

Simple Text-to-Video 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 sunrise over mountains with flowing clouds",
    "model": "v2-4-faster",
    "duration": 5
  }'

Expected Response

{
  "data": {
    "task_id": "<YOUR_TASK_ID>"
  }
}

Step 3: Check Your Video Status

Use the task ID to check your video generation status:
curl -H "Authorization: Bearer <YOUR_API_KEY>" \
  "https://api.domoai.app/v1/tasks/<YOUR_TASK_ID>"

Common Quick Start Issues

Problem: “Invalid or revoked API Key”Quick Fix:
  • Double-check your API key is correct
  • Ensure you’re using Bearer <YOUR_API_KEY> format
  • Verify key hasn’t been revoked in Dashboard - API Keys
Problem: “Insufficient credits”Quick Fix:

Next Steps

Congratulations! You’ve generated your first AI video. Here’s what to explore next: