Skip to main content

Generates a new AI-based avatar for the specified or current user and returns the resulting avatar payload.

POST 

/avatar/generate

If UserId is not provided in model, the authenticated user is inferred from the current context. The request is persisted and processed by the image-generation pipeline; on success, the generated image is post-processed and returned as an AvatarSQS payload.

Notes: Set fields such as Seed, Prompt, NegativePrompt, Width, Height, Steps, Guidance, and NumImages on model to influence generation.

Errors: Returns a JSON object with an error property if the user is not found or generation fails.

Request

Responses

OK