Photo Enhance AI
Easily resize and improve picture quality, reducing noise and enhancing details. Perfect for all your design needs.
POST /v2/generate
Parameters
Name
Type
Description
image
string
Optional
URL of the input image. Encode your image url if url have special characters.
hd
string
8
for 8X, 4
for 4X or 2
for 2X.
precise
integer
Optional
Higher numbers results more realistic results, lower numbers generates more creative. Learn more
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=enhance" \\
-d "hd=4" \
-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": "abc_123..."
}
✨ Get results using the /results
endpoint.
/results
endpoint.Alternative legacy method: Add &processing_url={url}
to your request.
Last updated