generate_avatar
Generate a creator portrait (Nano Banana) to use as the avatar in generate_ad, checked for hands, face and background defects. Requires a quote_id from estimate_ad_cost with kind "avatar". Finishes within the call; credits are charged only when a portrait comes back. SIGN-IN REQUIRED: connect this server with OAuth (the host prompts for it), or add an API key header "Authorization: Bearer acd_live_…" created at https://aicontentdrop.com/settings/integrations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Who the creator is: age, look, clothing, setting, mood (20-800 characters). | |
| save_as | No | Optional name; saves the portrait on a brand profile for reuse. | |
| quote_id | Yes | The quote_id from estimate_ad_cost with kind "avatar". Required. | |
| aspect_ratio | No | Defaults to 9:16. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present only when the charge could not be applied to the account. | |
| qa_notes | Yes | ||
| replayed | Yes | ||
| next_step | Yes | ||
| qa_passed | Yes | ||
| avatar_url | Yes | Pass as avatar_url to generate_ad. | |
| credits_used | Yes | The charge that landed; 0 when no portrait came back or the charge could not be applied (then note says so). | |
| credits_quoted | Yes | ||
| brand_profile_id | No |