Skip to main content
POST
Generate an avatar image for an editable profile, group, Agent or plugin.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Body

application/json
prompt
string
required

Description of the avatar to generate. Do not include credentials or other secrets.

Required string length: 1 - 1000

Response

200 - application/json

WebP image as base64. Generation is recorded without an Assistant thread.

contentType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/gif,
image/webp
imageBase64
string
required

Base64-encoded image bytes.

Last modified on September 27, 2026