🎉 New Feature! AI Avatars are now available in the Pictory API. Create presenter-style videos with lifelike avatars that lip-sync to AI narration - no cameras or studios required.
Introduction
AI avatars bring a human presence to your videos without requiring cameras, studios, or on-screen talent. This guide walks you through creating professional avatar-powered videos using the Pictory API.Avatar videos combine AI voice-over with lifelike avatar animations that lip-sync to your narration, creating engaging presenter-style content perfect for training, marketing, education, and social media.
Quick Start
Here’s a minimal example to create your first avatar video:AI Credits
Avatar video generation consumes AI credits from your account. Ensure you have sufficient AI credits before using the Avatar feature.Prerequisites
Before creating avatar videos, you need:- API Key - Get your API key from the Pictory dashboard
- Avatar Details - Use the Get Avatars API to retrieve available
avatarIdvalues - Voice Selection - Choose an AI voice from the Get Voiceover Tracks API
- AI Credits - Sufficient AI credits in your account (15 credits per 30 seconds of avatar video)
Step-by-Step Guide
Step 1: Configure Basic Video Settings
Start with the essential video parameters:Give your video a descriptive name (alphanumeric, spaces, underscores, hyphens)
Content language:
en, es, fr, de, it, pt, ja, ko, zh, nl, ru, hiVideo width in pixels (e.g., 1920 for Full HD)
Video height in pixels (e.g., 1080 for Full HD)
Save project for future editing (recommended:
true)Step 2: Set Up Voice-Over
Voice-over is required when using avatars - the avatar will lip-sync to the narration:Step 3: Configure Your Avatar
Add the avatar configuration with appearance and positioning:Required Avatar Fields
Unique identifier for the avatar (e.g., “Annie_expressive12_public”). Get from Get Avatars API.
Optional Styling
Preset position:
top-left, top-center, top-right, center-left, center-center, center-right, bottom-left, bottom-center, bottom-rightDefault: bottom-rightAvatar width as percentage. Must be an integer percentage from 0% to 100% (e.g., “20%”, “25%”, “30%”). Decimal percentages like “25.5%” are not supported.Default:
"20%"Recommended: 15-30% for optimal balanceCorner rounding:
0 (square), 50 (rounded), 100 (circular)Background color in RGBA format (e.g., “rgba(255,255,255,1)“)
Step 4: Add Your Content
Define scenes with the text your avatar will narrate:Step 5: Add Background Music (Optional)
Enhance your video with background music:Complete Example
Here’s a full example with all features:Monitoring Progress
After creating your avatar video, poll the job status:Common Use Cases
Corporate Training Videos
Corporate Training Videos
Create training modules with a professional avatar instructor:
- Use formal voices (Matthew, Brian)
- Position avatar prominently (center-left or center-right)
- Include clear topic transitions
- Add relevant background visuals
Product Demo Videos
Product Demo Videos
Showcase products with an avatar guide:
- Use friendly voices (Emma, Joanna)
- Position avatar in bottom corner to not block product
- Keep narration concise and benefits-focused
- Use product images/videos as backgrounds
Social Media Content
Social Media Content
Educational Content
Educational Content
Build course content with avatar teachers:
- Use clear, measured voice pacing
- Position avatar consistently across lessons
- Break content into 5-10 minute segments
- Include visual aids in backgrounds
Best Practices
Script Writing
- Write in conversational tone
- Use short, clear sentences
- Include natural pauses
- Test pronunciation of technical terms
Avatar Positioning
- Don’t overlap subtitles or key visuals
- Keep size between 15-25% of frame
- Use consistent positioning
- Consider background contrast
Audio Balance
- Set music volume to 0.1-0.2
- Use clear AI voices
- Adjust speed to 90-110
- Test audio clarity
Scene Pacing
- 4-5 seconds minimum per scene
- Natural sentence breaks
- Add pauses between topics
- Keep scenes under 15 seconds
Troubleshooting
Avatar Not Appearing
Avatar Not Appearing
Issue: Avatar doesn’t show in videoSolutions:
- Verify all required avatar fields are provided
- Check avatar URLs are accessible
- Ensure voiceOver is enabled with at least one AI voice
- Validate avatarId field
Lip Sync Issues
Lip Sync Issues
Issue: Avatar lip movements don’t match audioSolutions:
- Ensure voice-over is properly configured
- Check that speaker is available for your plan
- Try adjusting voice speed to 100
- Contact support if issue persists
Audio Too Quiet/Loud
Audio Too Quiet/Loud
Issue: Voice or music volume is offSolutions:
- Adjust
amplificationLevel(-1 to 1) - Reduce background music volume (0.1-0.2)
- Test different volume combinations
- Keep music instrumental only
Avatar Position Issues
Avatar Position Issues
Issue: Avatar overlaps important contentSolutions:
- Try different preset positions
- Use custom top/left positioning
- Reduce avatar width
- Adjust per-scene if needed
