falImage to imageComing soon
microsoft/mai-image-2.5/edit
microsoft/mai-image-2.5/edit is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The instruction describing how to edit the input image(s). |
num_images | number (whole) 1 to 4 | 1 | The number of images to generate. |
aspect_ratio | one of auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3 | auto | The aspect ratio of the generated image. Use "auto" to match the input or let the model decide. |
output_format | one of jpeg, png, webp | png | The format of the generated image. |
image_urls required | URLs or files | — | The URL of the image to edit. Provide one http(s) or data: URL. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "microsoft/mai-image-2.5/edit",
"input": {
"prompt": "Turn this into a clean, futuristic product shot with soft studio lighting.",
"image_urls": [
"<image_urls>"
]
}
}'