The MakeUGC Platform API allows partners to programmatically generate AI-powered videos using our platform. This documentation provides details on authentication, endpoints, and usage examples.
All API requests require authentication using an API key. Include your API key in the request headers:
X-Api-Key: YOUR_API_KEY
https://app.makeugc.ai/api/platform
Creates a new AI video with specified avatar and voice script.
POST /video/generate
{
"avatar_id": "string", // Required: ID of the avatar to use
"voice_script": "string", // Required: Script for the voice (max 1000 chars)
"video_name": "string", // Optional: Custom name for the video (defaults to "API Generated Video")
"voice_settings": { // Optional: Voice generation settings
"stability": 0.75, // Range: 0-1
"similarity_boost": 0.4, // Range: 0-1
"style": 0, // Range: 0-1
"use_speaker_boost": true
}
}
{
"status": true,
"message": "Video generation started",
"data": {
"id": "video_123" // Use this ID to check video status
}
}
Check the status of a video generation request.
GET /video/status
id
: Video ID (required){
"status": true,
"message": "Video is processing",
"data": {
"status": "processing" | "completed" | "failed",
"url": "https://..." // Present when status is "completed"
}
}
Retrieve a list of available avatars (both template and custom).
GET /video/avatars
gender
: Filter avatars by gender (optional) - "Male" or "Female"{
"status": true,
"message": "Avatars fetched",
"data": [
{
"id": "avatar_123",
"name": "Avatar Name",
"thumbnail": "https://...",
"gender": "Male"
}
]
}
For API support or questions, please contact: