|Docs

Request fields

Avatar creation

FieldTypeRequiredDescription
typestringYesprompt, photo, or props.
namestringYesHuman-readable avatar name.
promptstringRequired for promptAvatar description.
file.typestringRequired for photoUse url.
file.urlstringRequired for photoPortrait image URL.
ethnicitystringRequired for propsAsian, South Asian, Southeast Asian, Black, Hispanic, Middle Eastern, White, or Wasian.
sexstringRequired for propsmale or female.
ageintegerRequired for propsMust be at least 20.
webhook_urlstringNoHTTPS URL that receives avatar.ready or avatar.failed when the job reaches a terminal state.

UGC video

FieldTypeRequiredDescription
scriptstringYesSpoken script for the generated video.
product_imagestringYesProduct/reference image URL.
scene.typestringNoprompt or photo. Controls the first generated reference frame background.
scene.promptstringRequired when scene.type is promptScene direction, such as in front of a mirror inside a room.
scene.image_urlstringRequired when scene.type is photoScene/background image URL.
avatar.modestringYesUse existing.
avatar.avatar_idstringYesReady avatar ID.
ratiostringNoOutput aspect ratio. Defaults to 9:16.
aspect_ratiostringNoAlias for ratio.
titlestringNoOptional video title.
webhook_urlstringNoHTTPS URL that receives avatar_video.ready or avatar_video.failed when the job reaches a terminal state.