Zum Hauptinhalt springen
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.

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Body

application/json
prompt
string
erforderlich

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

Beispiel:

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

Antwort

Successful operation

portrait
object