Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Create up to 20-second 1080p videos with synchronized audio from prompts, images, or existing clips through one REST API.
Flux 3 API is a REST API that allows users to create up to 20-second, 1080p videos with synchronized audio from text prompts, images, or existing video clips. It is developed by Black Forest Labs and accessible through a unified API.
To use the Flux 3 API, you need to make a POST request to the /v2/videos/generate endpoint. This request should include your API key in the headers and a JSON body containing the prompt, model identifier (flux-3), and specific parameters within flux3Params. These parameters can include image URLs for storyboarding or as input, a start_video URL to continue an existing clip, desired resolution (720p or 1080p), and a boolean to generate_audio. The API returns a jobId which can be used to poll for the job status or you can provide a webhook_url for asynchronous notifications. The result of the generation can then be retrieved using the jobId.
start_video.auto option.start_video parameter.The Flux 3 API is priced per second of video generated. Rates vary based on resolution and options selected, ranging from 10 credits per second for draft previews to 29 credits per second at 720p and 49 credits per second at 1080p for final quality, with audio included. Continuing an existing video has higher rates. Pricing is based on a credit system, with volume discounts available for larger credit packs. A credit balance is shared across all models on the platform.
start_video.generate_audio to false for a silent clip.flux3Params. One image sets the first frame, two set the start and end. Three or more (up to 10) act as a storyboard, requiring an explicit duration.flux3Params.start_video. The input must be an mp4 of at most 50MB and 15 seconds, and cannot be combined with images.auto aspect ratio option lets the model choose based on the prompt and inputs.