Detail Enhancement
Upscale and enhance generated images post-processing.
Basic Upscaling
curl -X POST "https://sync.render.weyl.ai/image/flux/dev/t2i?format=1024" \ -H "Authorization: Bearer $WEYL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "portrait", "upscale": 2 }' \ -o output.webpScales: 1.5×, 2×, 4×
Latent Upscaling
Generate at higher resolution by upscaling latents before final decode.
{ "prompt": "detailed landscape", "format": "1024", "latent_upscale": 1.5}Output: 1536×1536 (1024 × 1.5)
Detail Recovery
Add fine details after generation:
{ "prompt": "portrait", "detail_enhance": true, "detail_strength": 0.5}Strength range: 0.0 - 1.0
0.3- Subtle sharpening0.5- Balanced (default)0.8- Strong detail
Performance Impact
| Operation | Latency Increase |
|---|---|
| 1.5× upscale | +20% |
| 2× upscale | +40% |
| 4× upscale | +150% |
| Detail enhance | +15% |