Profile
Build a polished portrait prompt from four selections
POST /profile/generatePortraitPrompt
POST /profile/generatePortraitPrompt
Takes four playful dropdown selections (person, style, mood, setting) and
uses an LLM to turn them into a polished image-generation prompt. The
resulting string is intended to be shown in an editable textarea in the
UI and then submitted to /profile/generatePortrait.
Request body
personstringbodyType of person/character
stylestringbodyVisual / artistic style
moodstringbodyEmotional mood / atmosphere
settingstringbodySetting or background
Request Example
{
"person": "pixie",
"style": "Watercolor",
"mood": "cheerful",
"setting": "enchanted forest"
}Responses
200 — Successful operation
Response Example
{
"prompt": "A cheerful watercolor portrait of a pixie at the edge of a glowing enchanted forest..."
}403 — Unauthorized
500 — Internal error