{"openapi":"3.0.2","info":{"title":"fal/h3-max-turbo","description":"The request body Comfy Router accepts for the model \"fal/h3-max-turbo\", 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":"e178c7dd67fe"},"paths":{"/v2/models/fal/h3-max-turbo":{"post":{"operationId":"runRouterModel","summary":"Run fal/h3-max-turbo synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for the MiniMax H3 Max Turbo text-to-video model (minimax/h3-max-turbo/text-to-video): generate a video from a text prompt.","example":{"duration":5,"prompt":"a red fox running through a snowy forest","prompt_expansion_mode":"balanced","resolution":"480P"},"properties":{"aspect_ratio":{"default":"16:9","description":"Aspect ratio: 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16.","type":"string"},"duration":{"default":5,"description":"Duration of the generated video in seconds.","type":"integer"},"enable_safety_checker":{"default":true,"description":"Enable the safety checker.","type":"boolean"},"prompt":{"description":"Text prompt for video generation.","type":"string"},"prompt_expansion_mode":{"description":"How much effort to spend rewriting the prompt before generation: balanced or quality.","type":"string"},"resolution":{"default":"768P","description":"Resolution of the generated video: 480P or 768P.","type":"string"},"seed":{"description":"Random seed. A random seed is selected when omitted.","type":"integer"},"sync_mode":{"description":"Return the generated video as base64 instead of a CDN URL.","type":"boolean"}},"required":["prompt","prompt_expansion_mode"],"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/FalMinimaxH3MaxVideoResponse"}],"description":"Comfy Router output schema for the fal MiniMax H3 Max video models: the terminal `GET /proxy/fal/minimax/h3-max{,-turbo}/requests/{request_id}` queue RESULT document, forwarded unchanged except for the re-hosted `video.url` described below. The operation is SUBMIT-AND-POLL — the submit answers a `FalQueueStatus` handle carrying the `request_id`, and Router polls on the caller's behalf — so the body a caller receives is the finished result rather than that handle. The poll is the RESULT route and not the sibling `/status` route: `/status` answers only `{status, urls, metrics}` and never carries the output.\nThe generated video is at `video.url`. `video` is the one required member, so a successful `200` here always carries that container; fetch the URL. `video.content_type`, `video.file_name` and `video.file_size` describe the same file and are optional.\nRouter 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, and the rest of the document is unaffected; a same-key retry of such a response is answered `409` instead of replayed.\n`video.url` is a CDN URL UNLESS the request set `sync_mode: true`, which this model's request schema accepts and documents as \"Return the generated video as base64 instead of a CDN URL\". fal then answers a data URI in the same field, `classifyFalQueue`'s non-empty test on `video.url` still reports success, and the whole video travels inside this body. Router does not settle that flag and leaves a data URI as it is, so a caller that sends it must be ready to read a data URI rather than fetch a URL.\n`expanded_prompt` is the prompt after MiniMax's own expansion, which is what the model was actually run against and is not necessarily the prompt the caller sent. `timings` is a free-form end-to-end timing breakdown in seconds.\nBoth ids answer this same document: `fal/h3-max-turbo` is the faster tier of the same model on its own route, and the two differ in their request bodies rather than here.","example":{"expanded_prompt":"a single red maple leaf falling onto still water, cinematic, 4k","timings":{"inference":42.5},"video":{"content_type":"video/mp4","file_name":"output.mp4","file_size":4194304,"url":"https://example.invalid/fal/minimax/h3-max/output.mp4"}}}}}}}}}},"components":{"schemas":{"FalMinimaxH3MaxVideoResponse":{"description":"Result of a completed MiniMax H3 Max video generation.","properties":{"expanded_prompt":{"description":"The prompt after expansion, as sent to the model.","type":"string"},"timings":{"additionalProperties":true,"description":"End-to-end timing breakdown (seconds).","type":"object"},"video":{"description":"The generated video file.","properties":{"content_type":{"description":"MIME type of the video file.","type":"string"},"file_name":{"description":"Name of the video file.","type":"string"},"file_size":{"description":"Size of the video file in bytes.","type":"integer"},"url":{"description":"URL of the generated video.","type":"string"}},"type":"object"}},"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/h3-max-turbo","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["text","image","video","audio"],"x-comfy-router-output-modalities":["video","audio"]}
