Spiral gives your agent every tool with one account. Browse the tools →

falVideoAvailable nowReleased 2026-09-28

Kling 4.0 Flash Reference to Video

kling/v4/flash/reference-to-video

Generate video from text and reference media with Kling 4.0 Flash Reference to Video from fal through one Spiral API key. Kling 4.0 Flash generates 720p videos from text prompts and image or video references, with durations from 3 to 20 seconds. It runs in the background and returns video. Pay as you go, with no subscription.

Pricing

Up to $0.611 per run at the default inputs. $0.1222 per unit of duration.

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
prompt requiredtext—

Text prompt. Reference inputs as @Image1, @Video1, @Element1, etc.

durationnumber (whole)
3 to 20
5

Video duration in seconds (3-20).

start_image_urlURL or file—

Optional image to use as the first frame. Counts toward the image reference limit.

image_urlsURLs or files—

Reference images, referenced as @Image1, @Image2, ... (max 10).

video_urlsURLs or files—

Reference videos (3-20s each, 20s combined with element videos), referenced as @Video1, @Video2, ... (max 5).

elementsJSON—

Characters/objects, referenced as @Element1, @Element2, ... (max 7). Up to 3 may be video elements. Flash does not accept voices.

keep_audiotrue or falsefalse

Keep the original audio of the first reference video (@Video1) instead of generating new audio. Cannot be combined with voices.

resolutionone of
720p
720p

Output resolution. Flash is 720p only.

aspect_ratioone of
auto, 16:9, 9:16, 1:1, 21:9
16:9

Aspect ratio of the generated video. 'auto' adapts it to the references.

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": "kling/v4/flash/reference-to-video",
    "input": {
      "prompt": "10-second macro product film for the fictional watchmaker AUREL, 16:9, black-velvet studio, one raking strip light. Four shots, hard cuts, slow and…"
    }
  }'

Frequently asked questions

How much does Kling 4.0 Flash Reference to Video cost?

Up to $0.611 per run at the default inputs. $0.1222 per unit of `duration`. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Kling 4.0 Flash Reference to Video through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "kling/v4/flash/reference-to-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use Kling 4.0 Flash Reference to Video?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Kling 4.0 Flash Reference to Video?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.