Mood Board AI
Bring your moodboard to life — see it rendered in your space, view it as a full render, or create new moodboards.
POST /v2/generate
Parameters
model
string
Required
Value must be magicprompt
for Magic Prompt AI. See other generators. Browse other Generators.
image
string
Required
URL of the input image. Encode your image url if url have special characters.
extra_image_1
string
Optional
URL of the extra image input slot 1
extra_image_2
string
Optional
URL of the extra image input slot 2
extra_image_3
string
Optional
URL of the extra image input slot 3
extra_image_4
string
Optional
URL of the extra image input slot 4
extra_image_5
string
Optional
URL of the extra image input slot 5
extra_image_6
string
Optional
URL of the extra image input slot 6
seed
integer
Optional
For reproducible results
enhance_prompt
string
Optional
If you want to use Prompt Enhance model, use true
value. If you want to continue without Prompt Enhancer don't add enhance_prompt
parameter to your requests.
format
string
Optional
Output format values: jpg
, png
or webp
processing_url
string
Optional
Get process results with same endpoint, alternative to /results
endpoint usage.
Curl Example
curl -X POST https://api.luw.ai/v2/generate \
-H "Authorization: Bearer LUW_API_TOKEN" \
-d "model=magicprompt" \
-d "prompt=Modern minimalist living room" \
-d "image=https://example.com/room.jpg"
Response Example
{
"status": true,
"progress": {
"started_at": "2024-01-04T12:00:00Z",
"state": "processing",
"percent": 45
},
"processing": true,
"processing_url": "pred_123..."
}
✨ Get results using the /results
endpoint.
/results
endpoint.Alternative legacy method: Add &processing_url={url}
to your request.
Last updated