{"openapi":"3.1.0","info":{"title":"FLUX 3 Video API — Cheaper Gen.","version":"1.0.0","description":"FLUX 3 Video from Black Forest Labs generates 5–20 second 720p videos with synchronized audio from text or a start and end frame, at one flat per-second price."},"servers":[{"url":"https://cheapergen.com/api/v1"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}},"schemas":{"Generation":{"type":"object","properties":{"id":{"type":"string"},"object":{"const":"generation"},"model":{"type":"string"},"endpoint":{"type":"string"},"status":{"enum":["queued","running","succeeded","failed","canceled"]},"output":{"type":["object","null"]},"error":{"type":["object","null"]},"cost":{"type":"object","properties":{"amount_usd":{"type":"number"},"official_usd":{"type":["number","null"]},"saved_usd":{"type":["number","null"]},"estimated":{"type":"boolean"}}},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"}}}}},"paths":{"/run/bfl/flux-3-video/text-to-video":{"post":{"summary":"FLUX 3 Video — Text to Video","operationId":"bfl_flux_3_video_text_to_video","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"title":"Prompt","description":"Describe the shot: subject, action, camera movement, lighting and style.","type":"string","maxLength":5000},"aspect_ratio":{"title":"Aspect ratio","description":"Output image shape.","type":"string","enum":["16:9","9:16","1:1","4:3","3:4","21:9","2:1"],"default":"16:9"},"duration":{"title":"Duration","description":"Length of the generated clip in seconds (5–20s). You pay per second.","type":"integer","minimum":5,"maximum":20,"default":5},"generate_audio":{"title":"Generate audio","description":"Generate synchronized sound, ambience and dialogue. No extra cost.","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","title":"Webhook URL","description":"Optional. We POST the finished generation here (signed)."}},"additionalProperties":false}}}},"responses":{"202":{"description":"Queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Generation"}}}},"400":{"description":"Invalid request"},"402":{"description":"Insufficient balance"}}}},"/run/bfl/flux-3-video/image-to-video":{"post":{"summary":"FLUX 3 Video — Image to Video","operationId":"bfl_flux_3_video_image_to_video","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["prompt","image_url"],"properties":{"prompt":{"title":"Prompt","description":"Describe the shot: subject, action, camera movement, lighting and style.","type":"string","maxLength":5000},"image_url":{"title":"First frame","description":"Image used as the opening frame. JPG/PNG/WebP, URL or upload.","type":"string","format":"uri"},"end_image_url":{"title":"Last frame","description":"Optional closing frame — the model animates between the two.","type":"string","format":"uri"},"duration":{"title":"Duration","description":"Length of the generated clip in seconds (5–20s). You pay per second.","type":"integer","minimum":5,"maximum":20,"default":5},"generate_audio":{"title":"Generate audio","description":"Generate synchronized sound, ambience and dialogue. No extra cost.","type":"boolean","default":true},"webhook_url":{"type":"string","format":"uri","title":"Webhook URL","description":"Optional. We POST the finished generation here (signed)."}},"additionalProperties":false}}}},"responses":{"202":{"description":"Queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Generation"}}}},"400":{"description":"Invalid request"},"402":{"description":"Insufficient balance"}}}},"/generations/{id}":{"get":{"summary":"Get a generation","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Generation"}}}}}}}}}