GET

/v1/schemas/fal/image/fal-ai/z-image/base/lora

kind inputactivity imagehash 12325d7d…extracted Aug 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
0a8fc093248b7682abbe52d1d3093db540f505c4e1f069dfa139169cfef4097a
{
  "fetchedAt": 1786338105,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

12 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt to generate an image from.
negative_promptstringThe negative prompt to use for the image generation.default: ""
seedinteger The same seed and the same prompt given to the same version of the model will output the same image every time. nullable
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
accelerationenumThe acceleration level to use.none | regular | high · default: "regular"
lorasLoRAInput[]List of LoRA weights to apply (maximum 3).default: []
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.default: true
image_sizeImageSize | enumThe size of the generated image.default: "landscape_4_3"
num_inference_stepsintegerThe number of inference steps to perform.1 ≤ n ≤ 50 · default: 28
guidance_scalenumberThe guidance scale to use for the image generation.1 ≤ n ≤ 20 · default: 4
num_imagesintegerThe number of images to generate.1 ≤ n ≤ 4 · default: 1
output_formatenumThe format of the generated image.jpeg | png | webp · default: "png"

Types

2 $defs

ImageSizeobject

heightintegerThe height of the generated image.0 < n ≤ 14142 · default: 512
widthintegerThe width of the generated image.0 < n ≤ 14142 · default: 512

LoRAInputobject

LoRA weight configuration.

path*stringURL, HuggingFace repo ID (owner/repo) to lora weights.
scalenumberScale factor for LoRA application (0.0 to 4.0).0 ≤ n ≤ 4 · default: 1

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/z-image/base/lora","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}