Optional
New comma-separated style knowledge. List of types for interior and exterior.
style_transfer
string
Optional
You can use style reference image for your generations to inspire from another designs. Use image url on this field, or use persona value to use Persona's Image Slots.
pid
integer
Optional
Persona ID to use if you want to use Persona Slots for images.
seed
integer
Optional
For reproducible results
precise
integer
Optional
Higher numbers results more realistic results, lower numbers generates more creative. Learn more
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.
luwmodel
string
Optional
If you want to use Luw 3 Symphony model, use symphony-3 value. If you want to continue using Luw 2.5 Aria model don't add luwmodel 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.
webhook
string
Optional
Get process results with real-time webhooks, alternative to /results endpoint usage.
Curl Example
curl-XPOSThttps://api.luw.ai/v2/generate\-H"Authorization: Bearer LUW_API_TOKEN"\-d"model=sketch"\-d"prompt=Modern minimalist living room"\-d"image=https://example.com/sketch.jpg"
Alternative legacy method: Add &processing_url={url} to your request.
Special Parameters
Style Transfer
You can use prompt area to do special actions like Style Transfer with style_transfer parameter, it will change image style at generations. Use image url on this field, or use persona value to use Persona's Image Slots.
To switch Style Transfer mode, you can simply add style_transfer parameter with the url of image like this example:
?style_transfer=https://example.com/style.jpg
- or, if you want use use Persona Slot: 1, use "persona" value -
?style_transfer=persona