Skip to content
LLM-friendly formats:

Samplers

Control the generation sampling algorithm.

Available Samplers

SamplerFamilySpeedQualityNotes
eulerFLUX, Z-ImageFastGoodDefault for most
euler_aFLUXFastGoodAncestral (random)
dpmpp_2mFLUXMediumBetter2M solver
heunFLUXSlowBestHigh quality

Usage

Terminal window
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.webp

Recommendations

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.