GET

/v1/schemas/fal/image/fal-ai/glm-image

kind inputactivity imagehash ad8098e4…extracted Aug 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
57f9575c1ddadcb3129768e3a13eee3d7e7d0b5db944103b5f9f394b79471647
{
  "fetchedAt": 1786338105,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

10 properties · 1 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringText prompt for image generation.
output_formatenumOutput image format.jpeg | png · default: "jpeg"
guidance_scalenumberClassifier-free guidance scale. Higher values make the model follow the prompt more closely.1 ≤ n ≤ 10 · default: 1.5
seedintegerRandom seed for reproducibility. The same seed with the same prompt will produce the same image.nullable
num_inference_stepsintegerNumber of diffusion denoising steps. More steps generally produce higher quality images.10 ≤ n ≤ 100 · default: 30
image_sizeImageSize | enumOutput image size.default: "square_hd"
enable_prompt_expansionbooleanIf True, the prompt will be enhanced using an LLM for more detailed and higher quality results.default: false
sync_modebooleanIf True, the image will be returned as a base64 data URI instead of a URL.default: false
enable_safety_checkerbooleanEnable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images.default: true
num_imagesintegerNumber of images to generate.1 ≤ n ≤ 4 · default: 1

Types

1 $defs

ImageSizeobject

heightintegerThe height of the generated image.0 < n ≤ 14142 · default: 512
widthintegerThe width 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/glm-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}