{"models":[{"endpoint_id":"fal-ai/kling-video/v3/standard/motion-control","metadata":{"display_name":"Kling Video","category":"video-to-video","description":"Transfer movements from a reference video to any character image. Cost-effective mode for motion transfer, perfect for portraits and simple animations.","status":"active","tags":["stylized","transform","editing"],"updated_at":"2026-07-17T23:34:22.935Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a90eef3/th2aftqszI2TrC_TinR9E_da2a2fbd43d7461dbf2ad1e8865411d6.jpg","model_url":"https://fal.run/fal-ai/kling-video/v3/standard/motion-control","license_type":"commercial","date":"2026-03-05T10:06:48.803Z","group":{"key":"Motion-Control-3","label":"Standard"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/kling-video/v3/standard/motion-control","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/kling-video/v3/standard/motion-control queue.","x-fal-metadata":{"endpointId":"fal-ai/kling-video/v3/standard/motion-control","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a90eef3/th2aftqszI2TrC_TinR9E_da2a2fbd43d7461dbf2ad1e8865411d6.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/kling-video/v3/standard/motion-control","documentationUrl":"https://fal.ai/models/fal-ai/kling-video/v3/standard/motion-control/api","about":"Kling V3 (standard) Motion Control API.\n\nGenerate videos where character actions match a reference video while\nthe visual appearance is based on a reference image. Standard mode is\ncost-effective.\n\nV3 adds support for element binding to enhance facial consistency.\nWhen an element is provided, the character's facial identity is better\npreserved across the generated video. Element binding requires\ncharacter_orientation='video'.\n\nCharacter orientation controls output pose direction and video limits:\n- 'video': Matches reference video orientation - better for complex motions (max 30s)\n- 'image': Matches reference image orientation - better for camera movements (max 10s)"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"KlingVideoV3StandardMotionControlInput":{"properties":{"enable_safety_checker":{"description":"Disabling safety checks requires account authorization; unauthorized requests are always checked.","title":"Enable Safety Checker","type":"boolean","default":true},"prompt":{"title":"Prompt","examples":["An man dancing"],"anyOf":[{"maxLength":2500,"type":"string"},{"type":"null"}]},"video_url":{"description":"Reference video URL. The character actions in the generated video will be consistent with this reference video. Should contain a realistic style character with entire body or upper body visible, including head, without obstruction. Duration limit depends on character_orientation: 10s max for 'image', 30s max for 'video'.","title":"Video Url","limit_description":"Max file size: 100.0MB, Min width: 340px, Min height: 340px, Max width: 3850px, Max height: 3850px, Min duration: 3.0s, Max duration: 30.05s, Timeout: 30.0s","examples":["https://v3b.fal.media/files/b/0a90edae/3nvl30ic9g2otKRcOV5nO_output.mp4"],"type":"string","_fal_ui_field":"video","x-fal":{"max_height":3850,"min_width":340,"timeout":30,"max_width":3850,"max_file_size":104857600,"max_duration":30.05,"min_height":340,"min_duration":3}},"character_orientation":{"enum":["image","video"],"description":"Controls whether the output character's orientation matches the reference image or video. 'video': orientation matches reference video - better for complex motions (max 30s). 'image': orientation matches reference image - better for following camera movements (max 10s).","title":"Character Orientation","examples":["video"],"type":"string"},"image_url":{"description":"Reference image URL. The characters, backgrounds, and other elements in the generated video are based on this reference image. Characters should have clear body proportions, avoid occlusion, and occupy more than 5% of the image area.","title":"Image Url","limit_description":"Max file size: 10.0MB, Min width: 340px, Min height: 340px, Max width: 3850px, Max height: 3850px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","examples":["https://v3b.fal.media/files/b/0a90ee31/VHtWK5BZMa-XoT6gahJKS_077.png"],"type":"string","_fal_ui_field":"image","x-fal":{"max_height":3850,"min_width":340,"min_aspect_ratio":0.4,"timeout":20,"max_aspect_ratio":2.5,"max_width":3850,"max_file_size":10485760,"min_height":340}},"keep_original_sound":{"description":"Whether to keep the original sound from the reference video.","title":"Keep Original Sound","type":"boolean","default":true},"elements":{"description":"Optional element for facial consistency binding. Upload a facial element to enhance identity preservation in the generated video. Only 1 element is supported. Reference in prompt as @Element1. Element binding is only supported when character_orientation is 'video'.","title":"Elements","examples":[null],"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/KlingV3ImageElementInput"}},{"type":"null"}]}},"required":["image_url","video_url","character_orientation"],"title":"MotionControlV3StandardRequest","x-fal-order-properties":["enable_safety_checker","prompt","image_url","video_url","keep_original_sound","character_orientation","elements"],"type":"object"},"KlingVideoV3StandardMotionControlOutput":{"properties":{"video":{"description":"The generated video","examples":[{"url":"https://v3b.fal.media/files/b/0a90ee68/7-xpX-LTxX_nRHL776FrZ_output.mp4"}],"$ref":"#/components/schemas/File"}},"required":["video"],"title":"MotionControlV3StandardOutput","x-fal-order-properties":["video"],"type":"object"},"KlingV3ImageElementInput":{"properties":{"frontal_image_url":{"description":"The frontal image of the element (main view).","title":"Frontal Image Url","anyOf":[{"x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","type":"string","ui":{"field":"image"}},{"type":"null"}]},"reference_image_urls":{"description":"Additional reference images from different angles. 1-3 images supported. At least one image is required.","title":"Reference Image Urls","anyOf":[{"type":"array","items":{"_fal_ui_field":"image","type":"string","limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"ui":{"field":"image"}}},{"type":"null"}]}},"title":"KlingV3ImageElementInput","type":"object","x-fal-order-properties":["frontal_image_url","reference_image_urls"]},"File":{"properties":{"file_size":{"description":"The size of the file in bytes.","title":"File Size","examples":[4404019],"anyOf":[{"type":"integer"},{"type":"null"}]},"file_name":{"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name","examples":["z9RV14K95DvU.png"],"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"description":"The mime type of the file.","title":"Content Type","examples":["image/png"],"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"description":"The URL where the file can be downloaded from.","title":"Url","type":"string"}},"required":["url"],"title":"File","x-fal-order-properties":["url","content_type","file_name","file_size"],"type":"object"}}},"paths":{"/fal-ai/kling-video/v3/standard/motion-control/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/v3/standard/motion-control/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/fal-ai/kling-video/v3/standard/motion-control":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoV3StandardMotionControlInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/v3/standard/motion-control/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoV3StandardMotionControlOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/kling-video/o3/standard/video-to-video/edit","metadata":{"display_name":"Kling O3 Edit Video [Standard]","category":"video-to-video","description":"Edit videos using Kling O3 from Kling Team!","status":"active","tags":["video-to-video"],"updated_at":"2026-10-20T22:09:07.057Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a8d1ffc/H9d8t0iQBUbd25VuiN81d_c6fd32a039bc4078b02b14a65a7b1b13.jpg","model_url":"https://fal.run/fal-ai/kling-video/o3/standard/video-to-video/edit","license_type":"commercial","date":"2026-02-04T15:48:44.935Z","group":{"key":"kling-o3","label":"Edit Video (standard)"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/kling-video/o3/standard/video-to-video/edit","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/kling-video/o3/standard/video-to-video/edit queue.","x-fal-metadata":{"endpointId":"fal-ai/kling-video/o3/standard/video-to-video/edit","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a8d1ffc/H9d8t0iQBUbd25VuiN81d_c6fd32a039bc4078b02b14a65a7b1b13.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/kling-video/o3/standard/video-to-video/edit","documentationUrl":"https://fal.ai/models/fal-ai/kling-video/o3/standard/video-to-video/edit/api","about":"O3 Std Video To Video Edit"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"KlingVideoO3StandardVideoToVideoEditInput":{"properties":{"image_urls":{"description":"Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video.","title":"Image Urls","examples":[null],"anyOf":[{"type":"array","items":{"_fal_ui_field":"image","type":"string","limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"ui":{"field":"image"}}},{"type":"null"}]},"prompt":{"maxLength":2500,"description":"Text prompt for video generation. Reference video as @Video1.","title":"Prompt","examples":["change the main character to be Popeye from @Element1, dark lighting and rain, 3d character. make him sad, with rain dropping on him, dark light on the character."],"type":"string"},"video_url":{"description":"Reference video URL. Only .mp4/.mov formats, 3-15s duration, 720-3840px resolution, max 200MB.","title":"Video Url","limit_description":"Max file size: 200.0MB, Min width: 720px, Min height: 720px, Max width: 3840px, Max height: 3840px, Min duration: 3.0s, Max duration: 15.05s, Min FPS: 23.0, Max FPS: 60.0, Timeout: 30.0s","examples":["https://storage.googleapis.com/falserverless/example_inputs/kling-o3/standard-v2v-edit/standard_video_reference.mp4"],"type":"string","_fal_ui_field":"video","x-fal":{"max_height":3840,"min_width":720,"min_fps":23,"timeout":30,"max_fps":60,"max_width":3840,"max_file_size":209715200,"max_duration":15.05,"min_height":720,"min_duration":3}},"shot_type":{"description":"The type of multi-shot video generation.","const":"customize","title":"Shot Type","default":"customize","type":"string"},"keep_audio":{"description":"Whether to keep the original audio from the reference video. ","title":"Keep Audio","type":"boolean","default":true},"elements":{"description":"Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2.","title":"Elements","examples":[[{"frontal_image_url":"https://storage.googleapis.com/falserverless/example_inputs/kling-o3/standard-v2v-edit/element1_front.jpg","reference_image_urls":["https://storage.googleapis.com/falserverless/example_inputs/kling-o3/standard-v2v-edit/standard_element1_reference1.jpg"]}]],"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/KlingV3ImageElementInput"}},{"type":"null"}]},"enable_safety_checker":{"description":"Disabling safety checks requires account authorization; unauthorized requests are always checked.","title":"Enable Safety Checker","type":"boolean","default":true}},"required":["prompt","video_url"],"title":"O3StandardEditVideoV2VInput","x-fal-order-properties":["enable_safety_checker","prompt","video_url","image_urls","keep_audio","elements","shot_type"],"type":"object"},"KlingVideoO3StandardVideoToVideoEditOutput":{"properties":{"video":{"description":"The generated video.","examples":[{"file_size":4322769,"file_name":"output.mp4","content_type":"video/mp4","url":"https://storage.googleapis.com/falserverless/example_outputs/kling-o3/standard-v2v-edit/output.mp4"}],"$ref":"#/components/schemas/File"}},"required":["video"],"title":"O3StandardEditV2VOutput","x-fal-order-properties":["video"],"type":"object"},"KlingV3ImageElementInput":{"properties":{"frontal_image_url":{"description":"The frontal image of the element (main view).","title":"Frontal Image Url","anyOf":[{"x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","type":"string","ui":{"field":"image"}},{"type":"null"}]},"reference_image_urls":{"description":"Additional reference images from different angles. 1-3 images supported. At least one image is required.","title":"Reference Image Urls","anyOf":[{"type":"array","items":{"_fal_ui_field":"image","type":"string","limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"ui":{"field":"image"}}},{"type":"null"}]}},"title":"KlingV3ImageElementInput","type":"object","x-fal-order-properties":["frontal_image_url","reference_image_urls"]},"File":{"properties":{"file_size":{"description":"The size of the file in bytes.","title":"File Size","examples":[4404019],"anyOf":[{"type":"integer"},{"type":"null"}]},"file_name":{"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name","examples":["z9RV14K95DvU.png"],"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"description":"The mime type of the file.","title":"Content Type","examples":["image/png"],"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"description":"The URL where the file can be downloaded from.","title":"Url","type":"string"}},"required":["url"],"title":"File","x-fal-order-properties":["url","content_type","file_name","file_size"],"type":"object"}}},"paths":{"/fal-ai/kling-video/o3/standard/video-to-video/edit/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/o3/standard/video-to-video/edit/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/fal-ai/kling-video/o3/standard/video-to-video/edit":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoO3StandardVideoToVideoEditInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/o3/standard/video-to-video/edit/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoO3StandardVideoToVideoEditOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"topaz/upscale/video/generative","metadata":{"display_name":"Topaz Upscale Video Generative","category":"video-to-video","description":"Professional generative video upscaling powered by Topaz Labs. Starlight models rebuild detail that is not in the source, with Fast variants at half the price. Best for low-quality, compressed or archive footage.","status":"active","tags":["upscale","video"],"updated_at":"2026-09-05T01:07:15.958Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0aa5f2fc/fH7-Krw-QX8aqm9aPXcgU.jpg","model_url":"https://fal.run/topaz/upscale/video/generative","license_type":"commercial","date":"2026-08-11T19:55:20.637Z","group":{"key":"topaz-upscale","label":"Upscale Video Generative"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for topaz/upscale/video/generative","version":"1.0.0","description":"The OpenAPI schema for the topaz/upscale/video/generative queue.","x-fal-metadata":{"endpointId":"topaz/upscale/video/generative","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0aa5f2fc/fH7-Krw-QX8aqm9aPXcgU.jpg","playgroundUrl":"https://fal.ai/models/topaz/upscale/video/generative","documentationUrl":"https://fal.ai/models/topaz/upscale/video/generative/api","about":"# Topaz Generative Video Upscale (Starlight)\n\nDiffusion-based restoration and upscaling that regenerates detail\nthe source no longer has.\n\n## Models\n- **Starlight Precise 2.6** — realism pass for AI-generated video.\n- **Starlight HQ** — maximum quality on high-resolution sources.\n- **Starlight Mini** — diffusion restoration for archival footage.\n- **Starlight Sharp** — fast restoration with sharper detail.\n- **Starlight Fast 2** — the fastest, cheapest diffusion upscaler.\n\nVideos are limited to 5 minutes. `target_fps` enables Apollo frame\ninterpolation only when it differs from the source FPS."}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"UpscaleVideoGenerativeInput":{"x-fal-order-properties":["enable_safety_checker","video_url","model","upscale_factor","target_fps","softness","H264_output"],"title":"VideoGenerativeUpscaleRequest","properties":{"enable_safety_checker":{"title":"Enable Safety Checker","default":true,"type":"boolean"},"model":{"description":"Generative diffusion enhancement model. Starlight Precise 2.6 adds realism to AI-generated video; Starlight HQ maximizes quality on high-resolution sources; Starlight Mini restores archival footage; Starlight Sharp is fast restoration with sharper detail; Starlight Fast 2 is the fastest, cheapest diffusion upscaler.","title":"Model","enum":["Starlight Precise 2.6","Starlight HQ","Starlight Mini","Starlight Sharp","Starlight Fast 2"],"default":"Starlight Precise 2.6","type":"string"},"upscale_factor":{"title":"Upscale Factor","maximum":4,"minimum":1,"description":"Factor to upscale the video by (e.g. 2.0 doubles width and height)","default":2,"type":"number"},"target_fps":{"title":"Target Fps","description":"Target FPS for the output. Frame interpolation is enabled only when this differs from the source FPS.","anyOf":[{"maximum":60,"minimum":16,"type":"integer"},{"type":"null"}]},"H264_output":{"title":"H264 Output","description":"Whether to use H264 codec for output video. Default is H265.","default":false,"type":"boolean"},"video_url":{"title":"Video Url","examples":["https://v3.fal.media/files/kangaroo/y5-1YTGpun17eSeggZMzX_video-1733468228.mp4"],"description":"URL of the video to upscale","type":"string"},"softness":{"title":"Softness","description":"How much softening the model applies to the output, from 1 (sharpest) to 5 (softest). Starlight Precise 2.6 only; leave unset for Topaz's default.","anyOf":[{"maximum":5,"minimum":1,"type":"number"},{"type":"null"}]}},"required":["video_url"],"type":"object"},"UpscaleVideoGenerativeOutput":{"x-fal-order-properties":["video"],"title":"VideoUpscaleOutput","properties":{"video":{"$ref":"#/components/schemas/File","examples":[{"url":"https://v3.fal.media/files/penguin/ztj_LB4gQlW6HIfVs8zX4_upscaled.mp4"}],"description":"The upscaled video file"}},"required":["video"],"type":"object"},"File":{"x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"File","properties":{"file_size":{"title":"File Size","examples":[4404019],"description":"The size of the file in bytes.","anyOf":[{"type":"integer"},{"type":"null"}]},"url":{"title":"Url","description":"The URL where the file can be downloaded from.","type":"string"},"content_type":{"title":"Content Type","examples":["image/png"],"description":"The mime type of the file.","anyOf":[{"type":"string"},{"type":"null"}]},"file_name":{"title":"File Name","examples":["z9RV14K95DvU.png"],"description":"The name of the file. It will be auto-generated if not provided.","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["url"],"type":"object"}}},"paths":{"/topaz/upscale/video/generative/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/topaz/upscale/video/generative/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/topaz/upscale/video/generative":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpscaleVideoGenerativeInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/topaz/upscale/video/generative/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpscaleVideoGenerativeOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/depth-anything-video","metadata":{"display_name":"Depth Anything Video","category":"video-to-video","description":"Generates depth maps from video using Video Depth Anything (CVPR 2025). Produces per-frame depth estimation with temporal consistency across frames. Supports 3 model sizes (Small, Base, Large), 5 colormaps including grayscale, side-by-side comparison with the original video, and raw depth export as .npz. Useful for 3D reconstruction, video effects, compositing, and scene understanding.    ","status":"active","tags":["video to video","motion","edit"],"updated_at":"2026-10-20T22:31:05.053Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a9098ac/VPiI1T3l10kKkmCWxcNSH_e3a99777f1b84afbaf4f7147a24a8221.jpg","model_url":"https://fal.run/fal-ai/depth-anything-video","license_type":"commercial","date":"2026-03-02T20:46:14.255Z","highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/depth-anything-video","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/depth-anything-video queue.","x-fal-metadata":{"endpointId":"fal-ai/depth-anything-video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a9098ac/VPiI1T3l10kKkmCWxcNSH_e3a99777f1b84afbaf4f7147a24a8221.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/depth-anything-video","documentationUrl":"https://fal.ai/models/fal-ai/depth-anything-video/api","about":"Estimate depth from video and return visualization."}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"DepthAnythingVideoInput":{"type":"object","description":"Input schema for video depth estimation.","title":"DepthAnythingVideoInput","properties":{"resolution":{"type":"string","description":"Output resolution. 'auto' preserves input (max 1080p). Options: 'auto', '360p', '480p', '720p', '1080p'.","default":"auto","title":"Resolution","enum":["auto","360p","480p","720p","1080p"]},"model":{"type":"string","description":"Depth estimation model size. VDA-Large = best quality, VDA-Small = fastest.","default":"VDA-Large","title":"Model","enum":["VDA-Small","VDA-Base","VDA-Large"]},"side_by_side":{"type":"boolean","description":"Output original | depth comparison video.","default":false,"title":"Side By Side"},"output_fps":{"description":"Output video FPS. None = same as input.","title":"Output Fps","anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]},"max_frames":{"description":"Max frames to process (max 2400). None = up to 2400.","title":"Max Frames","anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}]},"include_raw_depths":{"type":"boolean","description":"Export raw float32 depths as .npz file with: 'depths' [N,H,W], 'min_depth', 'max_depth', 'fps', 'model', 'shape'.","default":false,"title":"Include Raw Depths"},"video_url":{"examples":["https://v3b.fal.media/files/b/0a8fb1c1/xNTrr7wtczzLBkJdyE5_f_7JTYCmQe.mp4"],"type":"string","description":"URL of the input video to estimate depth for.","title":"Video Url"},"colormap":{"type":"string","description":"Colormap for depth visualization. 'turbo' (recommended) shows near=warm, far=cool. 'grayscale' for raw normalized depth. 'inferno'/'magma' for perceptually uniform. 'viridis' for colorblind-friendly.","default":"grayscale","title":"Colormap","enum":["grayscale","turbo","inferno","magma","viridis"]}},"x-fal-order-properties":["video_url","model","colormap","resolution","max_frames","output_fps","side_by_side","include_raw_depths"],"required":["video_url"]},"DepthAnythingVideoOutput":{"type":"object","description":"Output schema for video depth estimation.","title":"DepthAnythingVideoOutput","properties":{"video":{"examples":[{"url":"https://v3b.fal.media/files/b/0a909a72/bC4JmEhmaBIaMC4vRhhTq_depth_output.mp4"}],"$ref":"#/components/schemas/File","description":"Depth visualization video (MP4, H.264)."},"raw_depths":{"description":"Raw depth values as .npz (if include_raw_depths=True).","anyOf":[{"$ref":"#/components/schemas/File"},{"type":"null"}]}},"x-fal-order-properties":["video","raw_depths"],"required":["video"]},"File":{"type":"object","x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"File","properties":{"file_name":{"examples":["z9RV14K95DvU.png"],"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name","anyOf":[{"type":"string"},{"type":"null"}]},"file_size":{"examples":[4404019],"description":"The size of the file in bytes.","title":"File Size","anyOf":[{"type":"integer"},{"type":"null"}]},"content_type":{"examples":["image/png"],"description":"The mime type of the file.","title":"Content Type","anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string","description":"The URL where the file can be downloaded from.","title":"Url"}},"required":["url"]}}},"paths":{"/fal-ai/depth-anything-video/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/depth-anything-video/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/fal-ai/depth-anything-video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepthAnythingVideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/depth-anything-video/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepthAnythingVideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/birefnet/v2/video","metadata":{"display_name":"Birefnet","category":"video-to-video","description":"Video background removal version of bilateral reference framework (BiRefNet) for high-resolution dichotomous image segmentation (DIS)\n","status":"active","tags":["utility","editing"],"updated_at":"2026-04-26T21:55:44.574Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/monkey/SKrLsOM3RMOk-QuNj8-io_6356be1b301e454394d2e0a853b98c76.jpg","model_url":"https://fal.run/fal-ai/birefnet/v2/video","license_type":"commercial","date":"2025-10-26T18:13:23.036Z","highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/birefnet/v2/video","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/birefnet/v2/video queue.","x-fal-metadata":{"endpointId":"fal-ai/birefnet/v2/video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/monkey/SKrLsOM3RMOk-QuNj8-io_6356be1b301e454394d2e0a853b98c76.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/birefnet/v2/video","documentationUrl":"https://fal.ai/models/fal-ai/birefnet/v2/video/api","about":"Remove Background Http Video V2"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"BirefnetV2VideoInput":{"required":["video_url"],"x-fal-order-properties":["model","operating_resolution","output_mask","refine_foreground","sync_mode","video_url","video_output_type","video_quality","video_write_mode"],"title":"VideoInputV2","type":"object","properties":{"model":{"enum":["General Use (Light)","General Use (Light 2K)","General Use (Heavy)","Matting","Portrait","General Use (Dynamic)"],"type":"string","title":"Model","description":"\n            Model to use for background removal.\n            The 'General Use (Light)' model is the original model used in the BiRefNet repository.\n            The 'General Use (Light 2K)' model is the original model used in the BiRefNet repository but trained with 2K images.\n            The 'General Use (Heavy)' model is a slower but more accurate model.\n            The 'Matting' model is a model trained specifically for matting images.\n            The 'Portrait' model is a model trained specifically for portrait images.\n            The 'General Use (Dynamic)' model supports dynamic resolutions from 256x256 to 2304x2304.\n            The 'General Use (Light)' model is recommended for most use cases.\n\n            The corresponding models are as follows:\n            - 'General Use (Light)': BiRefNet\n            - 'General Use (Light 2K)': BiRefNet_lite-2K\n            - 'General Use (Heavy)': BiRefNet_lite\n            - 'Matting': BiRefNet-matting\n            - 'Portrait': BiRefNet-portrait\n            - 'General Use (Dynamic)': BiRefNet_dynamic\n        ","default":"General Use (Light)"},"sync_mode":{"type":"boolean","default":false,"title":"Sync Mode","description":"If `True`, the media will be returned as a data URI and the output data won't be available in the request history."},"operating_resolution":{"enum":["1024x1024","2048x2048","2304x2304"],"type":"string","title":"Operating Resolution","description":"The resolution to operate on. The higher the resolution, the more accurate the output will be for high res input images. The '2304x2304' option is only available for the 'General Use (Dynamic)' model.","default":"1024x1024"},"refine_foreground":{"type":"boolean","default":true,"title":"Refine Foreground","description":"Whether to refine the foreground using the estimated mask"},"video_quality":{"enum":["low","medium","high","maximum"],"type":"string","title":"Video Quality","description":"The quality of the generated video.","default":"high"},"video_write_mode":{"enum":["fast","balanced","small"],"type":"string","title":"Video Write Mode","description":"The write mode of the generated video.","default":"balanced"},"output_mask":{"type":"boolean","default":false,"title":"Output Mask","description":"Whether to output the mask used to remove the background"},"video_url":{"examples":["https://storage.googleapis.com/falserverless/example_inputs/birefnet-video-input.mp4"],"type":"string","title":"Video Url","description":"URL of the video to remove background from"},"video_output_type":{"enum":["X264 (.mp4)","VP9 (.webm)","PRORES4444 (.mov)","GIF (.gif)"],"type":"string","title":"Video Output Type","description":"The output type of the generated video.","default":"X264 (.mp4)"}}},"BirefnetV2VideoOutput":{"required":["video"],"x-fal-order-properties":["video","mask_video"],"title":"VideoOutput","type":"object","properties":{"video":{"examples":[{"fps":24,"num_frames":192,"url":"https://storage.googleapis.com/falserverless/example_outputs/birefnet-video-output.webm","width":1920,"duration":8,"file_name":"birefnet-video-output.webm","height":1080,"content_type":"video/webm"}],"description":"Video with background removed","$ref":"#/components/schemas/VideoFile"},"mask_video":{"anyOf":[{"$ref":"#/components/schemas/VideoFile"},{"type":"null"}],"description":"Mask used to remove the background"}}},"VideoFile":{"required":["url"],"x-fal-order-properties":["url","content_type","file_name","file_size","width","height","fps","duration","num_frames"],"title":"VideoFile","type":"object","properties":{"fps":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fps","description":"The FPS of the video"},"num_frames":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Frames","description":"The number of frames in the video"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"examples":[4404019],"title":"File Size","description":"The size of the file in bytes."},"url":{"type":"string","title":"Url","description":"The URL where the file can be downloaded from."},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width","description":"The width of the video"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","description":"The duration of the video"},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["z9RV14K95DvU.png"],"title":"File Name","description":"The name of the file. It will be auto-generated if not provided."},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height","description":"The height of the video"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["image/png"],"title":"Content Type","description":"The mime type of the file."}}}}},"paths":{"/fal-ai/birefnet/v2/video/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/birefnet/v2/video/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/fal-ai/birefnet/v2/video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BirefnetV2VideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/birefnet/v2/video/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BirefnetV2VideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"veed/lipsync","metadata":{"display_name":"Lipsync","category":"video-to-video","description":"Generate realistic lipsync from any audio using VEED's model.","status":"active","tags":["lipsync","video-to-video","avatar"],"updated_at":"2026-07-13T18:53:13.852Z","is_favorited":null,"thumbnail_url":"https://storage.googleapis.com/falserverless/gallery/veed_logo.webp","model_url":"https://fal.run/veed/lipsync","license_type":"commercial","date":"2025-05-28T16:17:01.408Z","highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for veed/lipsync","version":"1.0.0","description":"The OpenAPI schema for the veed/lipsync queue.","x-fal-metadata":{"endpointId":"veed/lipsync","category":"video-to-video","thumbnailUrl":"https://storage.googleapis.com/falserverless/gallery/veed_logo.webp","playgroundUrl":"https://fal.ai/models/veed/lipsync","documentationUrl":"https://fal.ai/models/veed/lipsync/api","about":"Lipsync"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"LipsyncInput":{"x-fal-order-properties":["video_url","audio_url"],"type":"object","properties":{"video_url":{"format":"uri","maxLength":2083,"type":"string","minLength":1,"examples":["https://v3.fal.media/files/monkey/q1fDPhrpfjfsaRmbhTed4_influencer.mp4"],"title":"Video Url"},"audio_url":{"format":"uri","maxLength":2083,"type":"string","minLength":1,"examples":["https://v3.fal.media/files/rabbit/Ql3ade3wEKlZXRQLRbhxm_tts.mp3"],"title":"Audio Url"}},"title":"LipsyncInput","required":["video_url","audio_url"]},"LipsyncOutput":{"x-fal-order-properties":["video"],"type":"object","properties":{"video":{"examples":[{"content_type":"video/mp4","url":"https://v3.fal.media/files/penguin/PsA4BJPGAojXKW2QGztm4_tmpe_e1cgbq.mp4"}],"$ref":"#/components/schemas/File"}},"title":"LipsyncAppOutput","required":["video"]},"File":{"x-fal-order-properties":["url","content_type","file_name","file_size"],"type":"object","properties":{"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The size of the file in bytes.","examples":[4404019],"title":"File Size"},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The name of the file. It will be auto-generated if not provided.","examples":["z9RV14K95DvU.png"],"title":"File Name"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The mime type of the file.","examples":["image/png"],"title":"Content Type"},"url":{"description":"The URL where the file can be downloaded from.","type":"string","title":"Url"}},"title":"File","required":["url"]}}},"paths":{"/veed/lipsync/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/veed/lipsync/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/veed/lipsync":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LipsyncInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/veed/lipsync/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LipsyncOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/kling-video/o1/video-to-video/edit","metadata":{"display_name":"Kling O1 Edit Video [Pro]","category":"video-to-video","description":"Edit an existing video using natural-language instructions, transforming subjects, settings, and style while retaining the original motion structure.","status":"active","tags":[],"updated_at":"2026-04-26T22:25:17.147Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/penguin/KSlUBiWApJEK5TS53lmB1_a9ac938f625f4d5789681706620b9868.jpg","model_url":"https://fal.run/fal-ai/kling-video/o1/video-to-video/edit","license_type":"commercial","date":"2025-12-01T11:29:19.531Z","group":{"key":"kling-video/o1","label":"Edit Video [Pro]"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/kling-video/o1/video-to-video/edit","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/kling-video/o1/video-to-video/edit queue.","x-fal-metadata":{"endpointId":"fal-ai/kling-video/o1/video-to-video/edit","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/penguin/KSlUBiWApJEK5TS53lmB1_a9ac938f625f4d5789681706620b9868.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/kling-video/o1/video-to-video/edit","documentationUrl":"https://fal.ai/models/fal-ai/kling-video/o1/video-to-video/edit/api","about":"Modify a video based on the prompt."}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"KlingVideoO1VideoToVideoEditInput":{"properties":{"image_urls":{"description":"Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video.","title":"Image Urls","examples":[["https://v3b.fal.media/files/b/lion/MKvhFko5_wYnfORYacNII_AgPt8v25Wt4oyKhjnhVK5.png"]],"anyOf":[{"type":"array","items":{"_fal_ui_field":"image","type":"string","limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"ui":{"field":"image"}}},{"type":"null"}]},"prompt":{"maxLength":2500,"description":"Use @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.","title":"Prompt","examples":["Replace the character in the video with @Element1, maintaining the same movements and camera angles. Transform the landscape into @Image1"],"type":"string"},"video_url":{"description":"Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB.\n\nMax file size: 200.0MB, Min width: 720px, Min height: 720px, Max width: 2160px, Max height: 2160px, Min duration: 3.0s, Max duration: 10.05s, Min FPS: 24.0, Max FPS: 60.0, Timeout: 30.0s","x-fal":{"max_height":2160,"min_width":720,"min_fps":24,"timeout":30,"max_fps":60,"max_width":2160,"max_file_size":209715200,"max_duration":10.05,"min_height":720,"min_duration":3},"title":"Video Url","examples":["https://v3b.fal.media/files/b/rabbit/ku8_Wdpf-oTbGRq4lB5DU_output.mp4"],"type":"string"},"keep_audio":{"description":"Whether to keep the original audio from the video.","title":"Keep Audio","type":"boolean","default":false},"elements":{"description":"Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video.","title":"Elements","examples":[[{"frontal_image_url":"https://v3b.fal.media/files/b/panda/MQp-ghIqshvMZROKh9lW3.png","reference_image_urls":["https://v3b.fal.media/files/b/kangaroo/YMpmQkYt9xugpOTQyZW0O.png","https://v3b.fal.media/files/b/zebra/d6ywajNyJ6bnpa_xBue-K.png"]}]],"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/OmniVideoElementInput"}},{"type":"null"}]},"enable_safety_checker":{"description":"Disabling safety checks requires account authorization; unauthorized requests are always checked.","title":"Enable Safety Checker","type":"boolean","default":true}},"description":"Input for video editing or video-as-reference generation.","title":"OmniV2VEditInput","required":["prompt","video_url"],"x-fal-order-properties":["enable_safety_checker","prompt","video_url","keep_audio","image_urls","elements"],"type":"object"},"KlingVideoO1VideoToVideoEditOutput":{"properties":{"video":{"description":"The generated video.","examples":[{"file_size":7533071,"file_name":"output.mp4","content_type":"video/mp4","url":"https://v3b.fal.media/files/b/0a86603b/YAlbB2535l07BTy1wpDeI_output.mp4"}],"$ref":"#/components/schemas/File"}},"required":["video"],"title":"OmniV2VEditOutput","x-fal-order-properties":["video"],"type":"object"},"OmniVideoElementInput":{"properties":{"frontal_image_url":{"description":"The frontal image of the element (main view).\n\nMax file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5},"title":"Frontal Image Url","type":"string"},"reference_image_urls":{"description":"Additional reference images from different angles. 1-3 images supported. At least one image is required.","title":"Reference Image Urls","type":"array","items":{"_fal_ui_field":"image","type":"string","limit_description":"Max file size: 50.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s","x-fal":{"max_file_size":52428800,"min_aspect_ratio":0.4,"min_height":300,"timeout":20,"min_width":300,"max_aspect_ratio":2.5}}}},"required":["frontal_image_url"],"title":"OmniVideoElementInput","x-fal-order-properties":["frontal_image_url","reference_image_urls"],"type":"object"},"File":{"properties":{"file_size":{"description":"The size of the file in bytes.","title":"File Size","examples":[4404019],"anyOf":[{"type":"integer"},{"type":"null"}]},"file_name":{"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name","examples":["z9RV14K95DvU.png"],"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"description":"The mime type of the file.","title":"Content Type","examples":["image/png"],"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"description":"The URL where the file can be downloaded from.","title":"Url","type":"string"}},"required":["url"],"title":"File","x-fal-order-properties":["url","content_type","file_name","file_size"],"type":"object"}}},"paths":{"/fal-ai/kling-video/o1/video-to-video/edit/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/o1/video-to-video/edit/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/fal-ai/kling-video/o1/video-to-video/edit":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoO1VideoToVideoEditInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/o1/video-to-video/edit/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoO1VideoToVideoEditOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/sam-3/video","metadata":{"display_name":"Sam 3","category":"video-to-video","description":"SAM 3 is a unified foundation model for promptable segmentation in images and videos. It can detect, segment, and track objects using text or visual prompts such as points, boxes, and masks. ","status":"active","tags":["segmentation","mask","real-time"],"updated_at":"2026-10-20T22:36:31.213Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/panda/sg8Fv6dzqdXAAgbAvxTta_814b4d079f5942d1b6cfb0f90ece9f36.jpg","model_url":"https://fal.run/fal-ai/sam-3/video","license_type":"commercial","date":"2025-11-20T20:08:20.592Z","group":{"key":"sam3","label":"Video to Video"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/sam-3/video","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/sam-3/video queue.","x-fal-metadata":{"endpointId":"fal-ai/sam-3/video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/panda/sg8Fv6dzqdXAAgbAvxTta_814b4d079f5942d1b6cfb0f90ece9f36.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/sam-3/video","documentationUrl":"https://fal.ai/models/fal-ai/sam-3/video/api","about":"Segment Video Simple"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"Sam3VideoInput":{"type":"object","x-fal-order-properties":["video_url","prompt","text_prompt","point_prompts","box_prompts","apply_mask","video_output_type","detection_threshold"],"title":"SAM3VideoInput","required":["video_url"],"properties":{"apply_mask":{"type":"boolean","default":true,"description":"Apply the mask on the video.","title":"Apply Mask"},"prompt":{"examples":["person","person, cloth"],"type":"string","default":"","description":"Text prompt for segmentation. Use commas to track multiple objects (e.g., 'person, cloth').","title":"Prompt"},"box_prompts":{"type":"array","items":{"$ref":"#/components/schemas/BoxPromptBase"},"description":"List of box prompt coordinates (x_min, y_min, x_max, y_max).","default":[],"title":"Box Prompts"},"detection_threshold":{"maximum":1,"minimum":0.1,"type":"number","description":"Detection confidence threshold (0.0-1.0). Lower = more detections but less precise. ","default":0.5,"title":"Detection Threshold"},"video_url":{"type":"string","description":"The URL of the video to be segmented.","title":"Video Url"},"text_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"deprecated":true,"title":"Text Prompt","description":"[DEPRECATED] Use 'prompt' instead. Kept for backward compatibility."},"video_output_type":{"type":"string","default":"X264 (.mp4)","description":"The output type of the generated video.","enum":["X264 (.mp4)","VP9 (.webm)"],"title":"Video Output Type"},"point_prompts":{"type":"array","items":{"$ref":"#/components/schemas/PointPromptBase"},"description":"List of point prompts","default":[],"title":"Point Prompts"}}},"Sam3VideoOutput":{"type":"object","x-fal-order-properties":["video","boundingbox_frames_zip"],"title":"SAM3VideoOutput","required":["video"],"properties":{"boundingbox_frames_zip":{"anyOf":[{"$ref":"#/components/schemas/File"},{"type":"null"}],"description":"Zip file containing per-frame bounding box overlays."},"video":{"examples":["https://fal.media/files/monkey/5BLHmbX3qxu5cD5gQzTqw_output.mp4"],"description":"The segmented video.","$ref":"#/components/schemas/File"}}},"BoxPromptBase":{"type":"object","x-fal-order-properties":["x_min","y_min","x_max","y_max","object_id"],"title":"BoxPromptBase","properties":{"y_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Y Min Coordinate of the box","title":"Y Min"},"x_min":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"X Min Coordinate of the box","title":"X Min"},"y_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Y Max Coordinate of the box","title":"Y Max"},"x_max":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"X Max Coordinate of the box","title":"X Max"},"object_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Optional object identifier. Boxes sharing an object id refine the same object.","title":"Object Id"}}},"PointPromptBase":{"type":"object","x-fal-order-properties":["x","y","label","object_id"],"title":"PointPromptBase","properties":{"object_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Optional object identifier. Prompts sharing an object id refine the same object. When a text prompt is also given, the id selects which detected object the points refine.","title":"Object Id"},"y":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Y Coordinate of the prompt","title":"Y"},"label":{"anyOf":[{"type":"integer","enum":[0,1]},{"type":"null"}],"description":"1 for foreground, 0 for background","title":"Label"},"x":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"X Coordinate of the prompt","title":"X"}}},"File":{"type":"object","x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"File","required":["url"],"properties":{"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["z9RV14K95DvU.png"],"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"examples":[4404019],"description":"The size of the file in bytes.","title":"File Size"},"url":{"type":"string","description":"The URL where the file can be downloaded from.","title":"Url"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["image/png"],"description":"The mime type of the file.","title":"Content Type"}}}}},"paths":{"/fal-ai/sam-3/video/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/sam-3/video/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/fal-ai/sam-3/video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sam3VideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/sam-3/video/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sam3VideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"google/gemini-omni-flash/v1.1/edit","metadata":{"display_name":"Gemini Omni Flash 1.1 Edit","category":"video-to-video","description":"Gemini Omni Flash 1.1 is Google's multimodal video model. This endpoint edits video through natural-language instruction, applying the requested change while preserving the parts of the scene you want kept, and carrying character and scene consistency across successive edits.","status":"active","tags":["utility","editing","transform"],"updated_at":"2026-10-20T22:38:58.246Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0aa7d043/ux8uG2gwLmBhmIDLhunU6.jpg","model_url":"https://fal.run/google/gemini-omni-flash/v1.1/edit","license_type":"commercial","date":"2026-08-25T23:18:17.931Z","group":{"key":"gemini-omni-11","label":"Edit Video"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for google/gemini-omni-flash/v1.1/edit","version":"1.0.0","description":"The OpenAPI schema for the google/gemini-omni-flash/v1.1/edit queue.","x-fal-metadata":{"endpointId":"google/gemini-omni-flash/v1.1/edit","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0aa7d043/ux8uG2gwLmBhmIDLhunU6.jpg","playgroundUrl":"https://fal.ai/models/google/gemini-omni-flash/v1.1/edit","documentationUrl":"https://fal.ai/models/google/gemini-omni-flash/v1.1/edit/api","about":"Edit Video"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"GeminiOmniFlashV11EditInput":{"properties":{"resolution":{"default":"720p","title":"Resolution","enum":["360p","720p","1080p","4k"],"description":"The resolution of the edited video.","type":"string"},"video_url":{"examples":["https://storage.googleapis.com/falserverless/model_tests/video_models/mmaudio_input.mp4"],"title":"Video URL","description":"URL of the video to edit.","type":"string"},"prompt":{"examples":["Make this video anime. Keep everything else the same."],"title":"Prompt","description":"A simple instruction describing the edit.","type":"string","maxLength":20000}},"title":"Omni11FlashVideoEditInput","x-fal-order-properties":["prompt","video_url","resolution"],"required":["prompt","video_url"],"type":"object"},"GeminiOmniFlashV11EditOutput":{"properties":{"video":{"description":"The generated video.","$ref":"#/components/schemas/File"}},"title":"VideoOutput","x-fal-order-properties":["video"],"required":["video"],"type":"object"},"File":{"required":["url"],"x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"File","properties":{"url":{"title":"Url","description":"The URL where the file can be downloaded from.","type":"string"},"file_name":{"examples":["z9RV14K95DvU.png"],"title":"File Name","description":"The name of the file. It will be auto-generated if not provided.","anyOf":[{"type":"string"},{"type":"null"}]},"file_size":{"examples":[4404019],"title":"File Size","description":"The size of the file in bytes.","anyOf":[{"type":"integer"},{"type":"null"}]},"content_type":{"examples":["image/png"],"title":"Content Type","description":"The mime type of the file.","anyOf":[{"type":"string"},{"type":"null"}]}},"type":"object"}}},"paths":{"/google/gemini-omni-flash/v1.1/edit/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/google/gemini-omni-flash/v1.1/edit/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/google/gemini-omni-flash/v1.1/edit":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiOmniFlashV11EditInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/google/gemini-omni-flash/v1.1/edit/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiOmniFlashV11EditOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"veed/video-background-removal","metadata":{"display_name":"Video Background Removal","category":"video-to-video","description":"Remove background from any video with people and objects. No green screen needed.","status":"active","tags":[],"updated_at":"2026-08-20T22:02:36.778Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a8493a9/Oi0ou1tpONWDl5MQg1Ior_04bb265985a24a558bc3adae79407610.jpg","model_url":"https://fal.run/veed/video-background-removal","license_type":"commercial","date":"2025-11-28T16:15:50.575Z","group":{"key":"video-background-removal","label":"Video To Video"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for veed/video-background-removal","version":"1.0.0","description":"The OpenAPI schema for the veed/video-background-removal queue.","x-fal-metadata":{"endpointId":"veed/video-background-removal","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a8493a9/Oi0ou1tpONWDl5MQg1Ior_04bb265985a24a558bc3adae79407610.jpg","playgroundUrl":"https://fal.ai/models/veed/video-background-removal","documentationUrl":"https://fal.ai/models/veed/video-background-removal/api","about":"Infer"}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Fal Key"}},"schemas":{"QueueStatus":{"type":"object","properties":{"status":{"type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED"]},"request_id":{"type":"string","description":"The request id."},"response_url":{"type":"string","description":"The response url."},"status_url":{"type":"string","description":"The status url."},"cancel_url":{"type":"string","description":"The cancel url."},"logs":{"type":"object","description":"The logs.","additionalProperties":true},"metrics":{"type":"object","description":"The metrics.","additionalProperties":true},"queue_position":{"type":"integer","description":"The queue position."}},"required":["status","request_id"]},"VideoBackgroundRemovalInput":{"type":"object","x-fal-order-properties":["video_url","output_codec","refine_foreground_edges","subject_is_person"],"properties":{"output_codec":{"type":"string","enum":["vp9","h264"],"default":"vp9","title":"Output Codec","description":"Single VP9 video with alpha channel or two videos (rgb and alpha) in H264 format. H264 is recommended for better RGB quality."},"video_url":{"format":"uri","maxLength":2083,"examples":["https://v3b.fal.media/files/b/0a847700/NYnvFeP13ehgSgqMDV_PL_stock.mp4"],"title":"Video Url","type":"string","minLength":1},"refine_foreground_edges":{"type":"boolean","default":true,"title":"Refine Foreground Edges","description":"Improves the quality of the extracted object's edges."},"subject_is_person":{"type":"boolean","default":true,"title":"Subject Is Person","description":"Set to False if the subject is not a person."}},"required":["video_url"],"title":"GeneralRembgInput"},"VideoBackgroundRemovalOutput":{"type":"object","x-fal-order-properties":["video"],"properties":{"video":{"examples":[[{"content_type":"video/webm","url":"https://v3b.fal.media/files/b/0a847713/C7g1UaT46yKhOPt6KRrgg_output.webm"}]],"type":"array","title":"Video","items":{"$ref":"#/components/schemas/File"}}},"required":["video"],"title":"GeneralRembgOutput"},"File":{"type":"object","x-fal-order-properties":["url","content_type","file_name","file_size"],"properties":{"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["image/png"],"description":"The mime type of the file.","title":"Content Type"},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["z9RV14K95DvU.png"],"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name"},"url":{"type":"string","description":"The URL where the file can be downloaded from.","title":"Url"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"examples":[4404019],"description":"The size of the file in bytes.","title":"File Size"}},"required":["url"],"title":"File"}}},"paths":{"/veed/video-background-removal/requests/{request_id}/status":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}},{"name":"logs","in":"query","required":false,"schema":{"type":"number","description":"Whether to include logs (`1`) in the response or not (`0`)."}}],"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/veed/video-background-removal/requests/{request_id}/cancel":{"put":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"The request was cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the request was cancelled successfully."}}}}}}}}},"/veed/video-background-removal":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoBackgroundRemovalInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/veed/video-background-removal/requests/{request_id}":{"get":{"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","description":"Request ID"}}],"responses":{"200":{"description":"Result of the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoBackgroundRemovalOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}}],"next_cursor":"NA","has_more":true}
