Try in playground
Test Flux Dev in the Runpod Hub playground.
For faster, cheaper generation during development, consider Flux Schnell which is optimized for speed.
Request
All parameters are passed within theinput object in the request body.
string
required
Text description of the desired image. Be specific and detailed for best results.
string
Elements to exclude from the generated image. Use this to prevent unwanted features or styles.
integer
default:"1024"
Image width in pixels. Must be divisible by 64. Range: 256-1536.
integer
default:"1024"
Image height in pixels. Must be divisible by 64. Range: 256-1536.
integer
default:"28"
Number of denoising steps. Higher values produce more detailed images but take longer. Range: 1-50.
float
default:"7.5"
How closely to follow the prompt. Higher values produce images more faithful to the prompt but may reduce creativity. Range: 0.0-10.0.
integer
default:"-1"
Seed for reproducible results. Use the same seed with identical parameters to generate the same image. Set to -1 for random.
string
default:"jpeg"
Output image format. Accepts
png or jpeg.Response
string
Unique identifier for the request.
string
Request status. Returns
COMPLETED on success, FAILED on error.integer
Time in milliseconds the request spent in queue before processing began.
integer
Time in milliseconds the model took to generate the image.
string
Identifier of the worker that processed the request.
object
Cost calculation
Flux Dev charges $0.02 per megapixel. Cost is calculated as:(width × height / 1,000,000) × \$0.02.