falText to jsonComing soon
fal-ai/ffmpeg-api/waveform
fal-ai/ffmpeg-api/waveform is a text 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.
Price pendingPricing
Price pending.
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 |
|---|---|---|---|
media_url required | text | — | URL of the audio file to analyze |
points_per_second | number 1 to 10 | 4 | Controls how many points are sampled per second of audio. Lower values (e.g. 1-2) create a coarser waveform, higher values (e.g. 4-10) create a more detailed one. |
precision | number (whole) 1 to 6 | 2 | Number of decimal places for the waveform values. Higher values provide more precision but increase payload size. |
smoothing_window | number (whole) 1 to 21 | 3 | Size of the smoothing window. Higher values create a smoother waveform. Must be an odd number. |
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/ffmpeg-api/waveform",
"input": {
"media_url": "<media_url>"
}
}'