GET
/v1/schemas/fal/image/minimax/h3-image/edit
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace4badc6498f08a1c4ab35fefb65578c192ed26c266c8345e1718787230790f26c{
"fetchedAt": 1794978001,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
7 properties · 2 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| image_urls* | string[] | The images to edit or compose, at most 16, in the order the prompt cites them. Each side must be 128 to 8192 pixels. | items ≥ 1 · items ≤ 16 |
| prompt* | string | The edit to make. Refer to the input images as Image 1, Image 2, ... in `image_urls` order. | length ≥ 1 · length ≤ 32000 |
| loras | LoRAInput[] | 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 |
| sync_mode | boolean | If `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_size | ImageSize | enum | The size of the generated image. Output area must be 655360 to 20000000 pixels, inclusive, with aspect ratio between 1:3 and 3:1, inclusive. `auto` keeps the first image's aspect ratio, limited to 1:3..3:1, within a 2048x2048 area. | default: "auto" |
| num_images | integer | The number of images to generate, all from one expanded prompt. | 1 ≤ n ≤ 10 · default: 1 |
| output_format | enum | The format of the generated image. | jpeg | png | webp | jpg · default: "png" |
Types
2 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
LoRAInputobject
A MiniMax H3-Image LoRA adapter.
| weight_name | string | Name of the LoRA weight file. Only used when `path` is a HuggingFace repo and it holds more than one LoRA. | nullable |
| path* | string | HTTPS 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… | |
| scale | number | Strength of the LoRA (0.0 to 4.0). | 0 ≤ n ≤ 4 · default: 1 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"minimax/h3-image/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}