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.com/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": "t2v-2.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.com/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:

Complete API Guide

Deep dive into all API features and best practices

Explore Templates

Browse our collection of professional video templates

Authentication

Learn about security best practices and error handling

Contact Support

Get help from our support team via email