GET

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

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

Request body

11 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringText prompt for image generation.
image_urls*string[]URL(s) of the condition image(s) for image-to-image generation. Supports up to 4 URLs for multi-image references.
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/image-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}