GET

/v1/schemas/fal/image/minimax/h3-image/text-to-image

kind inputactivity imagehash c46f6694…extracted Nov 18, 2026version currentsource upstream spec ↗

Request body

7 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt to generate an image from. With prompt expansion on, it is rewritten into the long, complete description the model works best with; with it off, it is used verbatim.length ≥ 1 · length ≤ 32000
lorasLoRAInput[]Up to 4 LoRA adapters to apply. Requests with LoRAs bill a surcharge. With prompt expansion on, trigger words named in a LoRA's safetensors metadata (`trigger_phrase`, `modelspec.trigger_phrase` or kohya/ai-toolkit tags) are kept in the expanded prompt and nev…items ≤ 4
enable_prompt_expansionbooleanRewrite the prompt with a language model into a detailed image description before generation. If expansion fails, the request fails instead of generating from the unexpanded prompt.default: true
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
image_sizeImageSize | enumThe exact output size. Output area must be 655360 to 20000000 pixels, inclusive, with aspect ratio between 1:3 and 3:1, inclusive.default: {"height":2048,"width":2048}
num_imagesintegerThe number of images to generate, all from one expanded prompt.1 ≤ n ≤ 10 · default: 1
output_formatenumThe format of the generated image.jpeg | png | webp | jpg · default: "png"

Types

2 $defs

ImageSizeobject

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

LoRAInputobject

A MiniMax H3-Image LoRA adapter.

weight_namestringName of the LoRA weight file. Only used when `path` is a HuggingFace repo and it holds more than one LoRA.nullable
path*stringHTTPS URL or HuggingFace repo id (owner/repo) of the LoRA safetensors file, at most 2.5 GB. Keys are `diffusion_model.<module>.lora_A.weight` / `.lora_B.weight` for the `attn.qkv_proj`, `attn.out_proj`, `mlp.fc1` and `mlp.fc2` projections of `blocks.0`-`blocks…
scalenumberStrength of the LoRA (0.0 to 4.0).0 ≤ n ≤ 4 · default: 1

Validate a payload

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