falVideo to videoComing soon

fal-ai/workflow-utilities/scale-video

fal-ai/workflow-utilities/scale-video is a video to video tool from fal that runs in the background and returns video. 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
video
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
video_url requiredURL or file—URL of the video file to scale/resize. Height and Width of the video must be even numbers for compatibility with video codecs.
widthnumber (whole)
2 to 7680
—Target width in pixels. If only width is provided, height is auto-calculated to preserve aspect ratio. At least one of width or height must be provided.
heightnumber (whole)
2 to 4320
—Target height in pixels. If only height is provided, width is auto-calculated to preserve aspect ratio. At least one of width or height must be provided.
modeone of
stretch, pad, crop
stretchScaling mode. 'stretch' scales the video to the exact target dimensions (may distort aspect ratio). 'pad' scales to fit within the target dimensions while preserving aspect ratio, then pads with the chosen color to fill the remaining space (letterbox/pillarbox). 'crop' scales to cover the target dimensions while preserving aspect ratio, then center-crops to the exact target size.
pad_colorone of
black, white, red, green, blue, gray
blackPadding color when mode is 'pad'. Ignored for other modes.
codecone of
libx264, libx265
libx264Video codec to use for encoding. libx264 (H.264) is widely compatible, libx265 (H.265/HEVC) offers better compression.
presetone of
ultrafast, fast, medium, slow
fastEncoding speed preset. Slower presets give better compression but take longer.
crfnumber (whole)
0 to 51
18Constant Rate Factor for quality (0-51). Lower values mean better quality and larger files. 18 is visually lossless for most content.

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/workflow-utilities/scale-video",
    "input": {
      "video_url": "https://storage.googleapis.com/falserverless/example_outputs/wan-25-i2v-output.mp4"
    }
  }'