falVideo to videoComing soon

fal-ai/lightx/relight

fal-ai/lightx/relight 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.

Priced by usage

Pricing

$0.13 per second. Measured from the input file. The final charge comes from usage.

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 input video.
prompttext—Optional text prompt. If omitted, Light-X will auto-caption the video.
seednumber (whole)—Random seed for reproducibility. If None, a random seed is chosen.
relit_cond_typeone of
ic, ref, hdr, bg
icRelight condition type.
relight_parametersJSON—Relighting parameters (required for relight_condition_type='ic'). Not used for 'bg' (which expects a background image URL instead).
relit_cond_img_urltext—URL of conditioning image. Required for relight_condition_type='ref'/'hdr'. Also required for relight_condition_type='bg' (background image).
ref_idnumber (whole)
0 to 48
0Frame index to use as reference to relight the video with reference. Must be less than the number of generated frames (default 49).

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/lightx/relight",
    "input": {
      "video_url": "https://storage.googleapis.com/falserverless/example_inputs/lightx_video.mp4"
    }
  }'