GET
/v1/schemas/fal/image/krea/v3/text-to-image/lora
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace6033d07a674583408298400bcd3163f5cbd3d9e79a3aed8899e2b75467e635b8{
"fetchedAt": 1795669202,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
9 properties · 1 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Description of the image to generate. | length ≥ 1 · length ≤ 5000 |
| negative_prompt | string | What to keep out of the image. | length ≤ 1024 · default: "" |
| loras | LoRAInput[] | LoRA weights to apply (maximum 3), in the Krea 3 trainer, PEFT or kohya format. A file without alpha tensors is applied with alpha equal to its rank, as diffusers does. | items ≤ 3 · default: [] |
| output_format | enum | Output image format. | png | jpeg · default: "png" |
| sync_mode | boolean | Return images as data URIs instead of saving them in request history. | default: false |
| enable_safety_checker | boolean | Check output images for unsafe content. Disabling requires account authorization. | default: true |
| seed | integer | Latent noise seed. Use a new seed when editing a previous output again. | nullable |
| reasoning_level | enum | How much effort the prompt expander spends reasoning about the given prompt. Higher reasoning effort means slower generation time. `medium` is Krea's fast mode and `high` is Krea's high mode. | medium | high · default: "medium" |
| image_size | ImageSize | enum | Output size, rounded up to multiples of 16, at most 4,220,160 total pixels (1680×2512). auto lets the prompt expander pick the aspect ratio at about 2048×2048. | default: "auto" |
Types
2 $defsImageSizeobject
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
LoRAInputobject
| path* | string | HTTPS URL of the LoRA weights. Only .safetensors files are accepted. | |
| 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":"krea/v3/text-to-image/lora","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}