Skip to main content
POST
/
profile
/
generatePortrait
Generate a portrait image from a prompt
curl --request POST \
  --url https://demo.enneo.ai/api/mind/profile/generatePortrait \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A cheerful watercolor portrait of a pixie at the edge of a glowing enchanted forest..."
}
'
{
  "portrait": {
    "imageUrl": "/api/mind/storage/temp/2026-04-30_a1b2c3d4e5f6g7h8.png",
    "imageBase64": "<string>",
    "prompt": "A cheerful watercolor portrait of a pixie..."
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT-based authentication

Body

application/json
prompt
string
required

The full image-generation prompt to send to the image API

Example:

"A cheerful watercolor portrait of a pixie at the edge of a glowing enchanted forest..."

Response

Successful operation

portrait
object