You're looking at a specific version of this model. Jump to the model overview.

prunaai /flux-2-fast:556feee3

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt for image generation or editing
image
string
Optional input image for image editing. If provided, the model will perform image editing instead of text-to-image generation.
width
integer
1360

Min: 256

Max: 2048

Width of the output image
height
integer
768

Min: 256

Max: 2048

Height of the output image
num_inference_steps
integer
4

Min: 1

Max: 50

Number of inference steps
num_outputs
integer
1

Min: 1

Max: 4

Number of outputs to generate
seed
integer
Random seed. Set for reproducible generation
output_format
None
jpg
Format of the output images
output_quality
integer
80

Max: 100

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}