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 pending

Pricing

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

FieldKindDefaultDescription
media_url requiredtext—URL of the audio file to analyze
points_per_secondnumber
1 to 10
4Controls 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.
precisionnumber (whole)
1 to 6
2Number of decimal places for the waveform values. Higher values provide more precision but increase payload size.
smoothing_windownumber (whole)
1 to 21
3Size 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>"
    }
  }'