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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | URL of the input video. |
prompt | text | — | Optional text prompt. If omitted, Light-X will auto-caption the video. |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
relit_cond_type | one of ic, ref, hdr, bg | ic | Relight condition type. |
relight_parameters | JSON | — | Relighting parameters (required for relight_condition_type='ic'). Not used for 'bg' (which expects a background image URL instead). |
relit_cond_img_url | text | — | URL of conditioning image. Required for relight_condition_type='ref'/'hdr'. Also required for relight_condition_type='bg' (background image). |
ref_id | number (whole) 0 to 48 | 0 | Frame 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"
}
}'