# Avatars

Avatars are characters of your company that speak parts of the narration on screen, lip-synced. Pick one with `GET /avatars` and send it as `settings.avatar` in `POST /films`, together with how it appears: `fullscreen`, `cutout` (cut out over a scene) or `frame` (picture in picture).

A character with its own `voice` narrates the whole film it appears in. Such a film needs no `settings.voice_id`, and a `settings.voice_id` you send is not used. A character without its own voice speaks with the narrator voice of the film.

Only characters can be avatars, no own photos. For a film with a brand, use `GET /avatars?brand_id=…`: only the characters of that brand kit are accepted, and `default` marks the brand's default avatar. For a film without a brand, all characters of the company are available. Which avatar appears, in this order: `settings.avatar`, then the avatar of the template (see `settings.avatar` in `GET /templates`), then the avatar of the previous version of the same `video_key`, then the default avatar of the brand in styles that need an avatar. Its own voice then narrates the film. `settings.avatar: null` means no avatar at all.

An avatar from a template must still exist and be in the brand kit of the film's brand; otherwise the order fails with `400 invalid_request`, `field` `template` and `details.code` `avatar_not_available`. Send `settings.avatar` to override it. An avatar of the previous version that is no longer available is simply left out.

## Endpoints

- `GET /v1/avatars`: List avatars
- `GET /v1/avatars/{id}/preview`: Get the preview image of an avatar
