Generates a soundtrack that follows an existing video's pacing and mood. Use when music must fit a cut rather than the cut fitting music.
# Generate Soundtrack ## Overview Generates a soundtrack that follows an existing video's pacing and mood. Use when music must fit a cut rather than the cut fitting music. ## Model Metadata - Provider: fal - Category: audio - Output Type: audio - Slug: video-to-music ## Notes Use the Playground tab above to test prompts and parameters.
Model input reference derived from preset schema.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt | string | No | null | Optional text prompt steering the musical style. If omitted, a prompt is generated automatically from the video. |
| duration | number | No | null | Optional. Length (seconds) of the video segment to score. When set, scores a segment of this length starting at Start Offset (or from the beginning if Start Offset is unset). Defaults (None) to the rest of the video: the whole video when Start Offset is unset, or from Start Offset to the end when it is set. |
| video_url | string | Yes | null | Public http(s) URL of the source video to score. |
| num_samples | integer | No | 1 | How many distinct music tracks to generate for the video. |
| start_offset | number | No | null | Optional. Start scoring from this offset (seconds) into the video. Requires Start Offset + Duration <= Video Duration. |