Samplers
Control the generation sampling algorithm.
Available Samplers
| Sampler | Family | Speed | Quality | Notes |
|---|---|---|---|---|
euler | FLUX, Z-Image | Fast | Good | Default for most |
euler_a | FLUX | Fast | Good | Ancestral (random) |
dpmpp_2m | FLUX | Medium | Better | 2M solver |
heun | FLUX | Slow | Best | High quality |
Usage
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", "sampler": "dpmpp_2m", "steps": 25 }' \ -o output.webpRecommendations
FLUX Schnell
Use: euler (only)
Steps: 4 (fixed)
Schnell is distilled for euler at 4 steps. Other samplers won’t work.
FLUX Dev / Dev2
Fast: euler - 20-25 steps
Quality: dpmpp_2m - 25-30 steps
Best: heun - 30-40 steps
Z-Image
Use: euler (only)
Z-Image uses custom scheduling. Other samplers ignored.