- Inpaint
- Lora
Endpoint:
POST https://fal.run/fal-ai/z-image/turbo/inpaint
Endpoint ID: fal-ai/z-image/turbo/inpaintTry 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:"auto"
The size of the generated image. Default value:
autoPossible values: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9, autointeger
default:"8"
The number of inference steps to perform. Default value:
8Range: 1 to 8integer
The same seed and the same prompt given to the same version of the model
will output the same image every time.
boolean
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:"png"
The format of the generated image. Default value:
"png"Possible values: jpeg, png, webpAccelerationEnum
default:"regular"
The acceleration level to use. Default value:
"regular"Possible values: none, regular, highboolean
default:"false"
Whether to enable prompt expansion. Note: this will increase the price by 0.0025 credits per request.
string
required
URL of Image for Inpaint generation.
float
default:"0.75"
The scale of the controlnet conditioning. Default value:
0.75Range: 0 to 1float
default:"0"
The start of the controlnet conditioning.Range:
0 to 1float
default:"0.8"
The end of the controlnet conditioning. Default value:
0.8Range: 0 to 1string
required
URL of Mask for Inpaint generation.
float
default:"1"
The strength of the inpaint conditioning. Default value:
1Output Schema
list<ImageFile>
required
The generated image files info.
Timings
required
The timings of the generation process.
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
- Z-Image Turbo — Image Generation
- Z Image Base — Image Generation
- Z Image Base (LoRA) — Image Generation
- Z-Image Turbo Seamless Tiling — Image Generation
Limitations
image_sizerestricted to:square_hd,square,portrait_4_3,portrait_16_9,landscape_4_3,landscape_16_9,autonum_inference_stepsrange: 1 to 8num_imagesrange: 1 to 4output_formatrestricted to:jpeg,png,webpaccelerationrestricted to:none,regular,highcontrol_scalerange: 0 to 1control_startrange: 0 to 1control_endrange: 0 to 1- Content moderation via safety checker