Generate Avatar Reference
generate_avatarGenerate reusable avatar/model references through the same creator path as the Uwear app. The default view is upper_body_front, a clean bust identity anchor. For a draft multi-view avatar, generate the bust first, pass its result URL in identity_reference_urls when generating each slot view, then save the chosen results together with save_generated_avatar. Traits are optional user-given facts and are never guessed. If the user wants help writing the person description, call build_avatar_prompt first only for that purpose; if the user's wording is already intentional, pass it directly here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name to carry with the avatar generation | |
| view | No | Reference view to generate. Defaults to the upper-body identity anchor. | upper_body_front |
| build | No | Optional concrete physical build. Never inferred. | |
| model | No | Optional image model slug or display name. Defaults to the cheapest active image generation model available to the account. | |
| prompt | Yes | Description of the person to render as a reusable avatar reference | |
| age_range | No | Optional concrete age or age range. Never inferred. | |
| avatar_id | No | Optional existing avatar whose anchor fixes identity for a slot view. Not required when identity_reference_urls are supplied. | |
| height_cm | No | Optional height in centimeters. Never inferred. | |
| num_images | No | Number of avatar candidate images to generate | |
| identity_reference_urls | No | Person-image URLs that fix identity for a slot view. In a draft flow, pass the generated bust URL here before the avatar has been saved. |