imageText to ImageImage

Flux Schnell FP8

Quickly generate images with Flux Schnell fp8 quantized version. Ideal for low-end hardware, requires only 4 steps to generate images.

Flux Schnell FP8

About

🛈 Learn more about this workflow

Note that Flux dev and schnell do not have any negative prompt so CFG should be set to 1.0. Setting CFG to 1.0 means the negative prompt is ignored.

The schnell model is a distilled model that can generate a good image with only 4 steps.

Parameters

ParameterTypeDefaultDescription
widthint1024Output width in pixels
heightint1024Output height in pixels
seedint173805153958730Random seed (use -1 for random)
stepsint4Number of sampling steps
cfgfloat1CFG scale (guidance strength)
sampler_nameenumeulerSampler algorithm
schedulerenumsimpleNoise scheduler
filename_prefixstringComfyUIOutput filename prefix

Usage

c3 comfyui run flux_schnell \
  --prompt "your prompt here" \
  --output my_output \
  --width 1024 \
  --height 1024 \
  --steps 4 \
  --cfg 1

Required Models

Example Prompt

Prompt Example

"``` a bottle with a beautiful rainbow galaxy inside it on top of a wooden table in the middle of a modern kitchen beside a plate of vegetables and mushrooms and a wine glasse that contains a planet earth with a plate with a half eaten apple pie on it ```"

Ready to run this template?

Install the CLI and run this template on GPU in seconds.

pip install hypercli-cli && hyper comfyui run flux_schnell