GET
/v1/schemas/fal/image/fal-ai/z-image/base/lora
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace0a8fc093248b7682abbe52d1d3093db540f505c4e1f069dfa139169cfef4097a{
"fetchedAt": 1786338105,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
12 properties · 1 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to generate an image from. | |
| negative_prompt | string | The negative prompt to use for the image generation. | default: "" |
| seed | integer | The same seed and the same prompt given to the same version of the model will output the same image every time. | nullable |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| acceleration | enum | The acceleration level to use. | none | regular | high · default: "regular" |
| loras | LoRAInput[] | List of LoRA weights to apply (maximum 3). | default: [] |
| enable_safety_checker | boolean | If 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_size | ImageSize | enum | The size of the generated image. | default: "landscape_4_3" |
| num_inference_steps | integer | The number of inference steps to perform. | 1 ≤ n ≤ 50 · default: 28 |
| guidance_scale | number | The guidance scale to use for the image generation. | 1 ≤ n ≤ 20 · default: 4 |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| output_format | enum | The format of the generated image. | jpeg | png | webp · default: "png" |
Types
2 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
LoRAInputobject
LoRA weight configuration.
| path* | string | URL, HuggingFace repo ID (owner/repo) to lora weights. | |
| scale | number | Scale factor for LoRA application (0.0 to 4.0). | 0 ≤ n ≤ 4 · default: 1 |
Validate a payload
before you spend tokensshell
$ 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", …}]}