{"openapi":"3.0.2","info":{"title":"fal/flux-3-max","description":"The request body Comfy Router accepts for the model \"fal/flux-3-max\", and the response body it returns. The INPUT schema is the same schema the server validates a call against before it reaches the provider, so what is published and what is enforced cannot differ. `x-comfy-router-input-modalities` records the media kinds the model is documented to accept; the request schema is shared across sibling models and may admit media kinds this model ignores. The OUTPUT schema describes the provider's native result document exactly as Router returns it: Router does not validate, narrow or re-envelope the response, so the output schema is descriptive rather than enforced, and Comfy owns no output shape of its own.","version":"17dd35988bc8"},"paths":{"/v2/models/fal/flux-3-max":{"post":{"operationId":"runRouterModel","summary":"Run fal/flux-3-max synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for Black Forest Labs' FLUX 3 Max text-to-video model on fal (blackforestlabs/flux-3-max/text-to-video): generate a video with audio from a text prompt.","example":{"duration":5,"prompt":"A red panda walks along a mossy log in a sunlit forest. Ambient birdsong.","resolution":"720p"},"properties":{"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated video. auto is 16:9 for a text prompt and follows the first image otherwise.","enum":["auto","21:9","2:1","16:9","4:3","1:1","3:4","9:16"],"type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds, 5 to 20. fal bills per second of this value.","maximum":20,"minimum":5,"type":"integer"},"generate_audio":{"default":true,"description":"Generate synchronized audio. The price is the same.","type":"boolean"},"prompt":{"description":"Text prompt that describes the video and its sound.","minLength":1,"type":"string"},"reasoning_level":{"default":"high","description":"How much the model reasons about and expands the prompt before generation. high is slower. The price is the same.","enum":["low","high"],"type":"string"},"resolution":{"default":"720p","description":"Resolution of the generated video. 1080p costs more per second than 720p.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","nullable":true,"type":"integer"}},"required":["prompt"],"type":"object"}}}},"responses":{"200":{"description":"OK - the model's native JSON output, returned unchanged; the schema describes the provider's terminal result document as Router returns it.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/FalFlux3MaxVideoResponse"}],"description":"Comfy Router output schema for Black Forest Labs' FLUX 3 Max on fal: the terminal `GET /proxy/fal/blackforestlabs/flux-3-max/requests/{request_id}` queue RESULT document, forwarded unchanged except for the re-hosted `video.url`. The operation is submit-and-poll on fal's queue — the submit answers a `FalQueueStatus` handle and the result route answers this document once the request is COMPLETED.\nThe generated video, with its audio track, is at `video.url`. `content_type`, `file_name`, `file_size`, `width`, `height`, `fps`, `duration` and `num_frames` describe the same file. Each is optional and may be null.\nThe result route re-hosts the video onto Comfy storage and rewrites `video.url` to a Comfy-signed URL valid for up to 24 hours. A video whose re-host could not be performed keeps fal's own CDN URL.\nCOMFY ROUTER DOES NOT RUN THIS MODEL TODAY. The catalog lists `fal/flux-3-max` and `GET /v2/models/fal/flux-3-max/openapi.json` publishes this document, but the operation has no `routerresult/classification.go` row, so `POST /v2/models/fal/flux-3-max` is refused before dispatch. The model is reachable today by calling `POST /proxy/fal/blackforestlabs/flux-3-max/text-to-video` and then `GET /proxy/fal/blackforestlabs/flux-3-max/requests/{request_id}` directly, which is where this document comes from.","example":{"seed":42,"video":{"content_type":"video/mp4","duration":5.041666666666667,"file_name":"video.mp4","file_size":4404019,"fps":24,"height":704,"num_frames":121,"url":"https://example.invalid/fal/flux-3-max/video.mp4","width":1280}}}}}}}}}},"components":{"schemas":{"FalFlux3MaxVideo":{"description":"The generated video file.","properties":{"content_type":{"description":"MIME type of the video file.","nullable":true,"type":"string"},"duration":{"description":"Duration of the video in seconds.","nullable":true,"type":"number"},"file_name":{"description":"Name of the video file.","nullable":true,"type":"string"},"file_size":{"description":"Size of the video file in bytes.","nullable":true,"type":"integer"},"fps":{"description":"Frame rate of the video.","nullable":true,"type":"number"},"height":{"description":"Height of the video in pixels.","nullable":true,"type":"integer"},"num_frames":{"description":"Number of frames in the video.","nullable":true,"type":"integer"},"url":{"description":"URL of the generated video.","type":"string"},"width":{"description":"Width of the video in pixels.","nullable":true,"type":"integer"}},"required":["url"],"type":"object"},"FalFlux3MaxVideoResponse":{"description":"Result of a completed FLUX 3 Max video generation.","properties":{"seed":{"description":"The seed used for the generation.","type":"integer"},"timings":{"additionalProperties":{"type":"number"},"description":"Timing breakdown in seconds.","type":"object"},"video":{"$ref":"#/components/schemas/FalFlux3MaxVideo"}},"required":["video"],"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"x-comfy-router-model-id":"fal/flux-3-max","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text","image"],"x-comfy-router-output-modalities":["video","audio"]}
