falImage to jsonComing soon
fal-ai/bagel/understand
fal-ai/bagel/understand is an image to json tool from fal that runs in the background and returns structured JSON. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Priced by usagePricing
$0.065 per request. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- json
- 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 | — | The image for the query. |
prompt required | text | — | The prompt to query the image with. |
seed | number (whole) | — | The seed to use for the generation. |
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/bagel/understand",
"input": {
"image_url": "https://storage.googleapis.com/falserverless/bagel/wRhCPSyiKTiLnnWvUpGIl.jpeg",
"prompt": "What is shown in the image? "
}
}'