Black Forest Labs' multimodal FLUX 3 generates 5-20 second video with synchronized audio from a text prompt, from one or more images (first frame, first+last frame, or a storyboard of up to 10), or by continuing an existing clip — at 720p or 1080p, with a low-cost draft mode.
Test this model instantly in the Console Playground — no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-3",
"input": {
"prompt": "a home video of a futuristic san francisco with people riding hoverboards",
"images": [],
"duration": "5",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"draft": false,
"safety_tolerance": 2
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text description of the video. Describe the scene, action, camera moves, and any audio you want — the prompt is interpreted and expanded before generation |
images | array | No | [] | Optional images placed pixel for pixel: 1 = first frame, 2 = first and last frame, 3-10 = storyboard (needs an explicit duration). PNG, JPEG or WebP. Can't be combined with start_video |
start_video | string | No | - | A video to continue from its final frames (mp4, ≤50MB, ≤15s). Billed at the video-continuation rate. Can't be combined with images |
aspect_ratio | string | No | auto | Aspect ratio of the generated video. 'auto' picks a ratio from your prompt and inputs auto21:92:116:94:31:13:49:16 |
resolution | string | No | 720p | Output resolution. Ignored in draft mode (drafts are 720p) 720p1080p |
duration | string | No | 5 | Clip length in seconds ("5"-"20"). Defaults to "5" when omitted. 'auto' lets the model choose (5-20s) and is billed on the actual output length (20s is reserved up front) auto567891011121314151617181920 |
generate_audio | boolean | No | true | Generate synchronized audio (ambient sound, speech, effects). Set to false for a silent clip |
draft | boolean | No | false | Generate a fast, low-cost 720p draft preview instead of a full-quality clip |
safety_tolerance | integer | No | 2 | Moderation tolerance, 0 (strictest) to 4 (most permissive). Requests with image or video inputs are limited to 2 |
There are 3 ways to provide files for the imagesstart_video parameters:
Pass a publicly accessible URL directly. With the Storage API (POST /v1/files/upload-url) the file uploads straight to S3 (50MB per file) and you pass the returned file_url.
{
"model": "black-forest-labs/flux-3",
"input": {
"prompt": "your prompt here",
"images": ["https://example.com/image.jpg"]
}
}Attach files directly to POST /v1/predictions/upload. No separate upload step, but the bytes pass through the API server so the whole request is capped at 10MB.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=black-forest-labs/flux-3" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:images=@your_file.png"Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
A 5-second 720p clip with audio — 5s at 395/s = 1,980 credits
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-3",
"input": {
"prompt": "a home video of a futuristic san francisco with people riding hoverboards",
"images": [],
"duration": "5",
"resolution": "720p",
"aspect_ratio": "auto",
"generate_audio": true,
"draft": false,
"safety_tolerance": 2
}
}'Fast 720p draft to check the idea — 8s at 140/s
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-3",
"input": {
"prompt": "A red panda walks along a mossy log in a sunlit forest, one continuous shot, birdsong",
"duration": "8",
"draft": true
}
}'POST /v1/predictions