Avatar Videos

Generate ultra-realistic AI avatar videos with an image or an avatar using top-notch models such as zoice/avatar-x.

Input
POSThttps://api.zoice.com/v1/avatar-videos

Select an avatar

Click to change selected avatar.

Select a voice

Click to change selected voice.

idle

Using the Endpoint

Use the POST /v1/avatar-videos to generate AI avatar videos using AI generated profiles or direct media URLs. To generate an avatar video, structure your JSON payload based on your desired input combination. The endpoint accepts flexible set of configurations for the avatar source and audio generation.

POSThttps://api.zoice.com/v1/avatar-videos
  1. Base video model

Specify the AI model to use for avatar video generation.

  • model: The ID of the AI model to use. (e.g., "zoice/avatar-x")
json
{
	"model": "zoice/avatar-x"
}

  1. Avatar source (choose one)

  • Option A: Pre-configured avatar

Provide the specific avatar_id and one of its associated image_id from your collection.

json
{
  "avatar_id": "avatar_12345",
  "image_id": "img_67890"
}
  • Option B: Custom Image URL

Provide a direct link to a custom image in the form of input_image_url.

json
{
  "input_image_url": "https://example.com/images/avatar.png"
}
  1. Audio Source (Choose One)

  • Option A: Text-to-Speech (Voice Profile & Model)

Provide a script with script_text, a voice profile ID with voice_id, and an optional voice synthesis model with voice_model.

json
{
  "voice_id": "voice_prof_001",
  "voice_model": "en-US-neural-v2",
  "script_text": "Welcome to our platform! Today, we are excited to launch our new features."
}
  • Option B: Direct Audio File

Provide a direct link to a pre-recorded audio file in the form of input_voice_url. Add optional enhance_audio as true for cleaning audio.

json
{
  "input_voice_url": "https://example.com/audio/speech.mp3",
  "enhance_audio": true
}
  1. Action and motion

Direct the movement, facial expressions, or gestures of the avatar with action_prompt.

json
{
  "action_prompt": "Nod gently while speaking and maintain a friendly smile."
}
  1. Video formatting

Define the target aspect ratio and output quality in the form of aspect_ratio and resolution respectively.

json
{
  "aspect_ratio": "16:9",
  "resolution": "1080p"
}

For detailed information regarding the body parameters, request and response format and schemas, please visit the Avatar Videos API documentation page.

💲 Costs

API Pricing

Zoice Avatar X model API usage pricing varies based on modes of generation, text script or audio file length, selected resolution, duration and more.

480p resolution

Best for rapid preview tests, internal drafts, and low-bandwidth prototyping before committing to full generation.

Credits for base threshold of first 840 characters / first minute909 credits
Credits usage after the base threshold6 credits / second or 14 characters

720p resolution

Ideal for mobile-first content, social media stories (like TikTok or Instagram Reels), and quick internal product demos.

Credits for base threshold of first 840 characters / first minute1196 credits
Credits usage after the base threshold6 credits / second or 14 characters

1080p resolution

The industry standard for corporate training modules, presentation decks, and standard landscape YouTube content.

Credits for base threshold of first 840 characters / first minute1693 credits
Credits usage after the base threshold14 credits / second or 14 characters

2k resolution

Best for high-quality website landing pages, professional webinar recordings, and detailed marketing advertisements.

Credits for base threshold of first 840 characters / first minute2190 credits
Credits usage after the base threshold22 credits / second or 14 characters

4k resolution

Perfect for premium broadcast media, high-end commercial advertisements, and large-scale event or conference displays.

Credits for base threshold of first 840 characters / first minute3184 credits
Credits usage after the base threshold38 credits / second or 14 characters
Avatar Videos