FLUX 3 First/Last Frame to Video
blackforestlabs/flux-3/first-last-frame-to-videoTurn images into video with FLUX 3 First/Last Frame to Video from fal through one Spiral API key. FLUX 3 is Black Forest Labs' frontier video model. This endpoint generates the video between a defined start and end frame, interpolating a smooth, coherent transition from the first image to the last. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
$1.105 per run at the default inputs. resolution: 720p (default) $1.105, 1080p $1.885, 1440p $2.08, 2160p $3.055.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 1 hour
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The text prompt describing the video you want to generate. |
aspect_ratio | one of auto, 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16 | auto | Aspect ratio of the generated video. |
resolution | one of 720p, 1080p, 1440p, 2160p | 720p | Resolution of the generated video. |
duration | one of 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 | 5 | Duration of the generated video in seconds. An explicit duration is required to place the end frame. |
generate_audio | true or false | true | Whether to generate audio for the video. |
safety_tolerance | number (whole) 0 to 4 | 2 | The safety tolerance level for the generated video. 0 is the strictest and 4 is the most permissive. |
start_image_url required | URL or file | — | URL of the image used as the first frame of the video (PNG, JPEG, or WebP). |
end_image_url required | URL or file | — | URL of the image used as the last frame of the video (PNG, JPEG, or WebP). |
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": "blackforestlabs/flux-3/first-last-frame-to-video",
"input": {
"prompt": "A red panda walks along a mossy log in a sunlit forest, one continuous unbroken shot. Ambient birdsong and rustling leaves.",
"start_image_url": "https://storage.googleapis.com/falserverless/example_inputs/veo31-flf2v-input-1.jpeg",
"end_image_url": "https://storage.googleapis.com/falserverless/example_inputs/veo31-flf2v-input-2.jpeg"
}
}'Frequently asked questions
How much does FLUX 3 First/Last Frame to Video cost?
$1.105 per run at the default inputs. `resolution`: 720p (default) $1.105, 1080p $1.885, 1440p $2.08, 2160p $3.055. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use FLUX 3 First/Last Frame to Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "blackforestlabs/flux-3/first-last-frame-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 FLUX 3 First/Last Frame to Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use FLUX 3 First/Last Frame to Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.