/fal-ai/flux-1/schnell
Endpoint: POST https://4zapi.com/fal-ai/flux-1/schnell
Official documentation: https://fal.ai/models/fal-ai/flux-1/schnell
Request body (application/json)
prompt(string, required): Text promptacceleration(string): Generation speed. The higher the speed, the faster the build speed. Default value: "regular" . Support: default, none, regular, highenable_safety_checker(boolean): If set to true, the security checker is enabled. Default value: trueguidance_scale(number): The CFG (Classifier Free Guidance) scale measures how closely you want the model to follow the cues when finding relevant images. Default value: 3.5. Range value: 1-20image_size(string): The size of the generated image. Default: landscape_4_3 range (3:4, 4:3, 16:9, 9:16)num_images(integer): The number of images generated. Default value: 1 Range value: 1-4num_inference_steps(integer): The number of inference steps to perform. Default value: 28. Range value: 0-50output_format(string): The format of the generated image. Default value: "jpeg". Supported formats default, JPEG, png
Request example
{
"acceleration": "regular",
"enable_safety_checker": true,
"guidance_scale": 3.5,
"image_size": "landscape_4_3",
"num_images": 1,
"num_inference_steps": 28,
"output_format": "jpeg",
"prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture authentic eye shine and depth. The word \"FLUX\" is painted over it in big, white brush strokes with visible texture."
}