Skip to main content
🎉 New Feature! Customize avatar appearance per scene for dynamic, professional videos.

Overview

Scene-level avatar customization allows you to adapt your avatar’s appearance, position, and visibility for each individual scene. This creates dynamic, professional videos that respond to changing content and backgrounds.
Scene-level settings override global avatar configuration. Any property not specified at the scene level inherits from the global avatar settings.

How It Works

Global vs Scene-Level Configuration

Pro Tip: Define your default avatar configuration globally, then only override specific properties in scenes where you need different behavior.

Common Use Cases

Use Case 1: Hide Avatar for Specific Scenes

Hide the avatar to focus attention on content:
When to hide avatar:
  • Showing detailed interfaces or dashboards
  • Displaying full-screen graphics
  • Focusing on text-heavy content
  • Transition scenes or title cards

Use Case 2: Reposition for Background Content

Move avatar to avoid covering important content:

Use Case 3: Adjust Size for Emphasis

Vary avatar size based on scene importance:

Use Case 4: Change Background Color by Scene

Adapt avatar background for different video backgrounds:

Use Case 5: Custom Positioning for Complex Layouts

Use precise positioning for specific scene requirements:

Scene-Level Properties

All avatar properties can be overridden at scene level:
string
Override preset position: top-left, top-center, top-right, center-left, center-center, center-right, bottom-left, bottom-center, bottom-right
string
Custom top position as percentage (e.g., “10%”, “25%”)
string
Custom left position as percentage (e.g., “5%”, “80%”)
string
Avatar width as percentage (e.g., “15%”, “20%”, “30%”)
string
Corner rounding: "0", "50", "100"
string
Border color in RGBA format (e.g., “rgba(255,255,255,1)”, “rgba(132,44,254,1)”)
number
Border width in pixels (0, 2, 4, 6, 8)
string
Background color in RGBA (e.g., “rgba(255,255,255,1)”)
boolean
Hide avatar for this scene (true or false)
Important: You cannot change avatarId at the scene level. The same avatar must be used throughout the video. You can only override styling and positioning properties.

Advanced Patterns

Pattern 1: Progressive Avatar Presence

Start subtle, become more prominent, then fade out:

Pattern 2: Split-Screen Effect

Position avatar on alternating sides for visual variety:

Pattern 3: Background-Adaptive Positioning

Automatically adjust based on background content:

Pattern 4: Themed Scenes with Matching Avatar Style

Coordinate avatar styling with scene themes:

Complete Example

Here’s a full video demonstrating multiple customization techniques:

Best Practices

Before coding:
  • Sketch your video flow
  • Identify scenes where avatar should hide
  • Mark scenes needing position changes
  • Note background content locations
Benefits:
  • Smoother visual transitions
  • Better content presentation
  • Fewer adjustments needed
Guidelines:
  • Keep avatar size consistent (±5% variation max)
  • Use the same styling throughout
  • Make position changes purposeful, not random
  • Return to default position when possible
Exception:
  • Intro/outro scenes can have different sizes
Check for:
  • Jarring position jumps
  • Sudden size changes
  • Style inconsistencies
  • Background color clashes
Fix with:
  • Gradual position shifts
  • Smoother size transitions
  • Consistent styling
  • Scene-appropriate colors
Good reasons to hide:
  • Full-screen demonstrations
  • Complex visual content
  • Title cards or transitions
  • Text-heavy information
Avoid hiding:
  • For more than 2-3 consecutive scenes
  • Without clear visual benefit
  • Randomly throughout video

Troubleshooting

Problem: Scene-level settings not applyingCheck:
  • Property names match exactly (case-sensitive)
  • RGBA format is correct for colors
  • Percentage values include ”%” symbol
  • Not trying to override avatarId (identity field cannot be changed at scene level)
Solution:
Problem: Avatar position changes too abruptlySolutions:
  1. Use adjacent positions (e.g., bottom-right → bottom-center → bottom-left)
  2. Add transition scene between major position changes
  3. Keep position consistent for related content
  4. Test preview to verify smoothness
Problem: Avatar looks different across scenesCheck:
  • Border settings are consistent
  • Background colors have proper contrast
  • Size variations are intentional
  • All scenes inherit global settings properly
Fix:
  • Set global defaults for consistency
  • Only override when necessary
  • Document your overrides

Quick Reference

Scene Avatar Override Template


Next Steps

Avatar Positioning

Master positioning techniques and best practices

Create Avatar Video

Complete guide to creating avatar videos

API Reference

Full technical API documentation

Background Settings

Configure background media settings