GET

/v1/schemas/fal/image/fal-ai/ernie-image/lora

kind inputactivity imagehash 4c973124…extracted Nov 13, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
f775b3e5f0da73ec589cba00e4a063c5b4959e0d1b1e09e1708468396ea87644
{
  "fetchedAt": 1794546001,
  "extractorVersion": "2",
  "verifiedAt": null
}

Request body

13 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
prompt*stringText prompt for image generation. Supports English, Chinese, and Japanese.
output_formatenumOutput image format.jpeg | png · default: "jpeg"
enable_prompt_expansionbooleanIf True, the prompt will be enhanced using an LLM for more detailed results.default: true
guidance_scalenumberClassifier-free guidance scale.1 ≤ n ≤ 20 · default: 5
sync_modebooleanIf True, the image will be returned as a data URI instead of a URL.default: false
num_inference_stepsintegerNumber of denoising steps.1 ≤ n ≤ 100 · default: 50
lorasLoraWeight[]The LoRAs to use for image generation. You can use up to 3 LoRAs and they will be merged together to generate the final image.items ≤ 3 · default: []
image_sizeImageSize | enumThe size of the generated image.default: "square_hd"
num_imagesintegerNumber of images to generate.1 ≤ n ≤ 4 · default: 1
seedintegerRandom seed for reproducibility.nullable
accelerationenumThe acceleration level to use for the image generation.none | regular | high · default: "regular"
negative_promptstringNegative prompt to guide what should not be in the image.default: ""
enable_safety_checkerbooleanEnable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked.default: true

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

LoraWeightobject

scalenumberThe scale of the LoRA weight. This is used to scale the LoRA weight before merging it with the base model.0 ≤ n ≤ 4 · default: 1
path*stringURL or the path to the LoRA weights.

Validate a payload

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