{"openapi":"3.0.2","info":{"title":"fal/crystal-video-upscaler","description":"The request body Comfy Router accepts for the model \"fal/crystal-video-upscaler\", 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":"a6b56f7db285"},"paths":{"/v2/models/fal/crystal-video-upscaler":{"post":{"operationId":"runRouterModel","summary":"Run fal/crystal-video-upscaler synchronously.","security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"Request body for Clarity AI's Crystal Video Upscaler on fal (clarityai/crystal-video-upscaler): upscale a single video.","example":{"scale_factor":2,"video_url":"https://storage.googleapis.com/falserverless/example_inputs/crystal_upscaler/video_upscaling/video_in.mp4"},"properties":{"scale_factor":{"default":2,"description":"Factor applied to each side of the input video. The upscaled video must not exceed 5K. fal bills per output megapixel per second, so the price grows with the square of this value.","maximum":200,"minimum":1,"type":"number"},"video_url":{"description":"URL of the input video (MP4, MOV, WebM, M4V or GIF).","type":"string"}},"required":["video_url"],"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/FalCrystalVideoUpscalerResponse"}],"description":"Comfy Router output schema for Clarity AI's Crystal Video Upscaler on fal: the terminal `GET /proxy/fal/clarityai/crystal-video-upscaler/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 upscaled video 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 over 2 GiB, or one 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/crystal-video-upscaler` and `GET /v2/models/fal/crystal-video-upscaler/openapi.json` publishes this document, but the operation has no `routerresult/classification.go` row, so `POST /v2/models/fal/crystal-video-upscaler` is refused before dispatch. The model is reachable today by calling `POST /proxy/fal/clarityai/crystal-video-upscaler` and then `GET /proxy/fal/clarityai/crystal-video-upscaler/requests/{request_id}` directly, which is where this document comes from.","example":{"video":{"content_type":"video/mp4","duration":10,"file_name":"upscaled.mp4","file_size":3950551,"fps":30,"height":720,"num_frames":300,"url":"https://example.invalid/fal/crystal-video-upscaler/upscaled.mp4","width":1280}}}}}}}}}},"components":{"schemas":{"FalCrystalVideoUpscalerResponse":{"description":"Result of a completed Clarity AI Crystal Video Upscaler request.","properties":{"video":{"$ref":"#/components/schemas/FalCrystalVideoUpscalerVideo"}},"required":["video"],"type":"object"},"FalCrystalVideoUpscalerVideo":{"description":"The upscaled 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 upscaled video.","type":"string"},"width":{"description":"Width of the video in pixels.","nullable":true,"type":"integer"}},"required":["url"],"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/crystal-video-upscaler","x-comfy-input-schema-authored":true,"x-comfy-output-schema-authored":true,"x-comfy-router-input-modalities":["video"],"x-comfy-router-output-modalities":["video"]}
