- Srpo
- Image To Image
Endpoint:
POST https://fal.run/fal-ai/flux/srpo
Endpoint ID: fal-ai/flux/srpoTry it in the Playground
Run this model interactively with your own prompts.
Quick Start
Input Schema
string
required
The prompt to generate an image from.
ImageSize | Enum
default:"landscape_4_3"
The size of the generated image. Default value:
landscape_4_3Possible values: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9integer
default:"28"
The number of inference steps to perform. Default value:
28Range: 1 to 50integer
The same seed and the same prompt given to the same version of the model
will output the same image every time.
float
default:"4.5"
The CFG (Classifier Free Guidance) scale is a measure of how close you want
the model to stick to your prompt when looking for a related image to show you. Default value:
4.5Range: 1 to 20boolean
default:"false"
If
True, the media will be returned as a data URI and the output data won’t be available in the request history.integer
default:"1"
The number of images to generate. Default value:
1Range: 1 to 4boolean
default:"true"
If set to true, the safety checker will be enabled. Default value:
trueOutputFormatEnum
default:"jpeg"
The format of the generated image. Default value:
"jpeg"Possible values: jpeg, pngAccelerationEnum
default:"none"
The speed of the generation. The higher the speed, the faster the generation. Default value:
"none"Possible values: none, regular, highOutput Schema
list<Image>
required
The generated images.
Timings
required
integer
required
Seed of the generated Image. It will be the same value of the one passed in the
input or the randomly generated that was used in case none was passed.
list<boolean>
required
Whether the generated images contain NSFW concepts.
string
required
The prompt used for generating the image.
Input Example
Output Example
Related
- FLUX.1 SRPO [dev] — Image Generation
Limitations
image_sizerestricted to:square_hd,square,portrait_4_3,portrait_16_9,landscape_4_3,landscape_16_9num_inference_stepsrange: 1 to 50guidance_scalerange: 1 to 20num_imagesrange: 1 to 4output_formatrestricted to:jpeg,pngaccelerationrestricted to:none,regular,high- Content moderation via safety checker
strengthrange: 0.01 to 1num_inference_stepsrange: 10 to 50