Skip to main content

Enhances the provided avatar prompt (without generating an image) and returns the improved prompt text.

POST 

/avatar/enhance

If UserId is not provided, the authenticated user is inferred. The method flags the request with Enhance = true and runs the enhancement pipeline. The resulting enhanced prompt is returned for client-side preview or subsequent generation.

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

Request

Responses

OK