Mental model
Treat the background and the Avatar as one fixed stage:- The background is the 16:9 master stage.
- The Avatar keeps the same position and scale within that stage.
- Other view sizes are display windows cropped from the same stage.


Display windows
Use the 16:9 background as the only master image. For square, portrait, or custom containers, crop the visible window from the same stage instead of stretching the image.| Container | Recommended behavior |
|---|---|
| 16:9 | Show the full background stage. |
| 1:1 | Center-crop from the 16:9 stage. |
| 9:16 | Center-crop from the same stage. Mild shoulder cropping can be acceptable. |
| Custom | Use the same aspect-fill, center-crop rule. |
What not to do
- Do not use a separate background position for each device ratio.
- Do not zoom or move the Avatar when switching from 16:9 to 1:1 or 9:16.
- Do not use the background asset as part of the avatar assets bundle. Load it as a normal image layer in your app.
- Do not expect the background to preserve physical contact between the original person and nearby objects perfectly.
Source image limits
The background is generated from a photo that originally contained the person. It works best when the person and background are visually related but not strongly physically coupled. Avoid depending on the background for cases where the original photo must preserve exact contact details, such as:- the person pressing into a sofa or chair
- visible body shadows that must line up exactly
- hands or arms resting on a table
- clothing or hair occluding detailed background objects
Next steps
Avatar
Understand how Avatar IDs and avatar assets work.
Client Lifecycle
See where the Avatar is loaded and rendered in your app.
Web SDK reference
Check the Web AvatarKit rendering APIs.

