GET

/v1/schemas/fal/image/fal-ai/wan-25-preview/text-to-image

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

Request body

7 properties · 1 required · 1 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt for image generation. Supports Chinese and English, max 2000 characters.length ≥ 1
num_imagesintegerNumber of images to generate. Values from 1 to 4.1 ≤ n ≤ 4 · default: 1
seedintegerRandom seed for reproducibility. If None, a random seed is chosen.nullable
image_sizeImageSize | enumThe size of the generated image. Can use preset names like 'square', 'landscape_16_9', etc., or specific dimensions. Total pixels must be between 768×768 and 1440×1440, with aspect ratio between [1:4, 4:1].default: "square"
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.default: true
enable_prompt_expansionbooleanWhether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time.default: true
negative_promptstringNegative prompt to describe content to avoid. Max 500 characters.nullable

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/wan-25-preview/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}