GET

/v1/schemas/fal/image/fal-ai/moss-image

kind inputactivity imagehash de2db1c0…extracted Oct 19, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
59ad239761187343395b9a8cc394821ec78edff54dd0adf7e331756adea6b8d5
{
  "fetchedAt": 1792386010,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

11 properties · 1 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringText prompt for image generation. Supports natural language, tag sequences, and JSON layouts.length ≥ 1 · length ≤ 16384
sync_modebooleanReturn images as data URIs instead of storing them in request history.default: false
image_sizeImageSize | enumOutput image size. Width and height are rounded to multiples of 16 between 512 and 2048 pixels.default: "square_hd"
seedintegerRandom seed for reproducible generation.nullable
output_formatenumOutput image format.jpeg | png | webp · default: "jpeg"
enable_safety_checkerbooleanEnable output content moderation. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.default: true
num_inference_stepsintegerNumber of denoising steps.1 ≤ n ≤ 100 · default: 50
enable_prompt_expansionbooleanPlan a structured layout from your prompt before generation. Preserves requested visible text and uses the selected image dimensions. If enhancement is unavailable, uses the original prompt.default: true
negative_promptstringNegative prompt. When empty, guidance uses transformer layer skipping for the negative branch.length ≤ 16384 · default: ""
num_imagesintegerNumber of images to generate.1 ≤ n ≤ 4 · default: 1
guidance_scalenumberClassifier-free guidance scale.0 ≤ n ≤ 10 · default: 3

Types

1 $defs

ImageSizeobject

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

Validate a payload

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