Skip to main content

Overview

Generate an image from text quickly with Flux Schnell.
  • Output Type: image
  • Base Model: flux-schnell
  • Estimated Cost: 1 * n_samples credits
  • Handler: replicate

Parameters

Required Parameters

string
required
Text prompt
Flux loves very detailed and descriptive prompts so try to be elaborate. Flux is also great at drawing text in images so feel free to add something if it makes sense.
  • Label: Prompt

Optional Parameters

string
default:"1:1"
Aspect ratio width/height
  • Label: Aspect ratio
  • Options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16, 9:21
string
default:"png"
Format of the output images
  • Label: Output format
  • Options: webp, jpg, png
integer
default:95
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
  • Label: Save quality
  • Minimum: 1
  • Maximum: 100
boolean
default:true
Disable safety checker
  • Label: Disable safety checker
boolean
default:true
Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16
  • Label: Go Fast
integer
default:"random"
Set random seed for reproducibility. If blank, will be set to a random value.
You should only set this if you want to start from/copy the seed of a previous image. Unless one is specified, you should leave this blank!
  • Label: Seed
  • Minimum: 0
  • Maximum: 2147483647
lora
LoRA finetuning to use
  • Label: LoRA
float
default:1
Strength of the LoRA finetuning
  • Label: LoRA strength
  • Minimum: 0
  • Maximum: 3
integer
default:1
Number of samples to generate
Will produce n_samples variations using the same prompt.
  • Label: Number of samples
  • Minimum: 1
  • Maximum: 4