Fluw Vector AI
Generate stunningly illustrations that transform your vision into reality, ready for any project. Get your vector as SVG format to use at any project.
POST /v2/generate
Parameters
model
string
Required
Value must be fluwvector
for Fluw Vector AI. See other generators. Browse other Generators.
prompt
string
Optional
Description of desired vector design
seed
integer
Optional
For reproducible results
aspect_ratio
string
Aspect ratio of the generation, one of the following: 16:9
, 3:2
, 4:3
, 1:1
, 3:4
, 2:3
, 9:16
image
string
Optional
URL of the input image. Encode your image url if url have special characters.
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.
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=fluwvector" \
-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