falImage to imageComing soon
fal-ai/image-preprocessors/midas
fal-ai/image-preprocessors/midas 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 |
|---|---|---|---|
image_url required | URL or file | — | URL of the image to process |
a | number | 6.283185307179586 | A parameter for the MiDaS detector |
background_threshold | number | 0.1 | Background threshold for the MiDaS detector |
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": "fal-ai/image-preprocessors/midas",
"input": {
"image_url": "https://storage.googleapis.com/falserverless/model_tests/image_preprocessors/cat.png"
}
}'