GET

/v1/schemas/fal/image/krea/v3/edit/lora

kind inputactivity imagehash 5666ddeb…extracted Nov 26, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
cf1ca5e20b5358545f9283c4ea6302c3dd76c549bcf317989f2aaa987d594018
{
  "fetchedAt": 1795669202,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

12 properties · 1 required · 3 $defs
propertytypedescriptionconstraints
image_urls*string[]Reference images to edit or combine (1-8). Order sets the <image-N> tags.items ≥ 1 · items ≤ 8
negative_promptstringWhat to keep out of the image.length ≤ 1024 · default: ""
regionsEditRegion[]Bounding boxes on reference images, with optional labels and editing notes. Requires high or ultra reasoning.items ≤ 24
lorasLoRAInput[]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: []
promptstringEdit instruction. Refer to images as <image-1>, <image-2>, ... and regions as @label. May be omitted when a region has a note.length ≤ 5000 · default: ""
output_formatenumOutput image format.png | jpeg · default: "png"
sync_modebooleanReturn images as data URIs instead of saving them in request history.default: false
enable_safety_checkerbooleanCheck output images for unsafe content. Disabling requires account authorization.default: true
regional_editbooleanWith high or ultra reasoning, true preserves pixels outside the edit regions on the chosen canvas; false disables automatic region cropping and preservation. Omit to retain automatic preservation. With image_size=auto, keeps the canvas dimensions; an explicit image_size preserves the resized input. Billing uses the generated render dimensions. Use PNG for lossless output.nullable
reasoning_levelenumHow much effort the prompt expander spends reasoning about the given editing task. Higher reasoning effort means slower generation time. `medium` is Krea's fast mode, `high` is Krea's high mode and `ultra` is Krea's ultra mode.medium | high | ultra · default: "medium"
image_sizeImageSize | enumOutput 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"
seedintegerLatent noise seed. Use a new seed when editing a previous output again.nullable

Types

3 $defs

EditRegionobject

image_idx*integerZero-based index into image_urls.n ≥ 0
y*numberTop edge as a fraction of image height.0 ≤ n < 1
labelstringRefer to this region as @label. Defaults to its one-based position.length ≥ 1 · length ≤ 64 · nullable
x*numberLeft edge as a fraction of image width.0 ≤ n < 1
height*numberHeight as a fraction of image height.0 < n ≤ 1
notestringEdit instruction for this region; may reference other @labels.length ≤ 5000 · default: ""
width*numberWidth as a fraction of image width.0 < n ≤ 1

ImageSizeobject

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

LoRAInputobject

path*stringHTTPS URL of the LoRA weights. Only .safetensors files are accepted.
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":"krea/v3/edit/lora","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}