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

prunaai /flux-2-turbo:e5380ce0

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
input_images
array
[]
List of input images for image editing. If provided, the model will perform image editing instead of text-to-image generation. Maximum 5 images.
aspect_ratio
None
16:9
Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio.
width
integer
1024

Min: 256

Max: 2048

Width of the output image. Only used when aspect_ratio=custom.
height
integer
1024

Min: 256

Max: 2048

Height of the output image. Only used when aspect_ratio=custom.
num_outputs
integer
1

Min: 1

Max: 4

Number of outputs to generate
guidance_scale
number
2.5

Min: 1

Max: 10

Guidance scale for classifier-free guidance
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'}