GET

/v1/schemas/fal/image/google/nano-banana-2.1

kind inputactivity imagehash 6bf1b987…extracted Oct 7, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
3875c2218294735448d5cda8cea818efeb36c2853378a783b9840290a3d93c8f
{
  "fetchedAt": 1791349310,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

12 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringThe text prompt to generate an image from.length ≥ 3 · length ≤ 50000
seedintegerThe seed for the random number generator.nullable
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
safety_toleranceenumThe safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.1 | 2 | 3 | 4 | 5 | 6 · default: "4"
num_imagesintegerThe number of images to generate.1 ≤ n ≤ 4 · default: 1
resolutionenumThe resolution of the image to generate.1K | 2K | 4K · default: "1K"
aspect_ratioenumThe aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8. Use "auto" to let the model decide based on the prompt.auto | 21:9 | 16:9 | 3:2 | 4:3 | 5:4 · +9 more · nullable
thinking_levelenumHow much the model reasons before generating. Higher levels can improve complex compositions and use more thinking tokens.minimal | medium | high · nullable
limit_generationsbooleanExperimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate and ignore any intermediate images generated by the model. This…default: true
system_promptstringOptional system instruction that steers the model's persona and output style across the request. Leave blank to omit; when provided, it is sent as the system instruction to Gemini (or as a system message on OpenAI-compatible providers).length ≤ 50000 · default: ""
enable_web_searchbooleanEnable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.default: false
output_formatenumThe format of the generated image.jpeg | png | webp · default: "png"

Validate a payload

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