{"models":[{"endpoint_id":"minimax/h3-max/reframe-video","metadata":{"display_name":"H3 Max Reframe","category":"video-to-video","description":"Expands existing videos to a selected aspect ratio with generative outpainting, preserving source audio and timing. Supports optional text guidance and 480p or 768p output.","status":"active","tags":["video","outpainting","reframing"],"updated_at":"2026-11-10T03:23:44.897Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0aae1b2b/GYNF6LxWxgUK9WD5iYGBV.jpg","model_url":"https://fal.run/minimax/h3-max/reframe-video","license_type":"commercial","date":"2026-10-12T16:48:40.520Z","group":{"key":"hailuo-03-new-turbo","label":"Reframe Video"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for minimax/h3-max/reframe-video","version":"1.0.0","description":"H3 Max Reframe adapts an existing video to a new aspect ratio by fitting the source onto a target canvas and generating the surrounding areas. It supports source videos from 0.25 to 300 seconds, seven aspect ratios, and 480p or 768p output profiles, with optional text guidance and seed control. The endpoint retains the source timeline and audio, while the generated image is not guaranteed to preserve source pixels exactly.","x-fal-metadata":{"endpointId":"minimax/h3-max/reframe-video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0aae1b2b/GYNF6LxWxgUK9WD5iYGBV.jpg","playgroundUrl":"https://fal.ai/models/minimax/h3-max/reframe-video","documentationUrl":"https://fal.ai/models/minimax/h3-max/reframe-video/api","about":"Contain-fit the source onto the target canvas and outpaint the rest.\n\nSources within the plain outpaint budget (15 s, ``MAX_SOURCE_BYTES``)\nrun that path; longer or larger sources (up to 300 s) are re-encoded\ninto checkpointed outpaint windows."}},"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"]},"H3MaxReframeVideoInput":{"required":["video_url"],"properties":{"resolution":{"default":"768p","enum":["480p","768p","1080p"],"description":"Target canvas resolution profile. 1080p uses learned latent upscaling from a native 768p reframe.","title":"Resolution","type":"string"},"aspect_ratio":{"default":"16:9","enum":["16:9","9:16","1:1","4:3","3:4","21:9","9:21"],"description":"Target canvas aspect ratio; the source is contain-fitted and the rest is outpainted.","title":"Aspect Ratio","type":"string"},"prompt":{"default":"","title":"Prompt","description":"Optional guidance for the new surroundings. Expansion captions the source automatically.","maxLength":50000,"type":"string"},"video_url":{"title":"Video Url","description":"Source video, 0.25 to 300 seconds; fitted onto the target canvas with its timeline and audio preserved.","type":"string"},"seed":{"title":"Seed","anyOf":[{"maximum":4294967295,"minimum":0,"type":"integer"},{"type":"null"}]},"enable_safety_checker":{"default":true,"title":"Enable Safety Checker","type":"boolean"}},"title":"TurboReframeVideoInput","x-fal-order-properties":["prompt","video_url","aspect_ratio","resolution","seed","enable_safety_checker"],"type":"object"},"H3MaxReframeVideoOutput":{"required":["video","seed","placement","frame_count"],"properties":{"video":{"$ref":"#/components/schemas/VideoFile"},"frames_per_second":{"default":24,"title":"Frames Per Second","type":"integer"},"expanded_prompt":{"title":"Expanded Prompt","anyOf":[{"type":"string"},{"type":"null"}]},"placement":{"additionalProperties":{"type":"integer"},"title":"Placement","type":"object"},"seed":{"title":"Seed","type":"integer"},"frame_count":{"title":"Frame Count","type":"integer"}},"title":"TurboOutpaintVideoOutput","x-fal-order-properties":["video","seed","placement","frame_count","frames_per_second","expanded_prompt"],"type":"object"},"VideoFile":{"required":["url"],"properties":{"num_frames":{"title":"Num Frames","description":"The number of frames in the video","anyOf":[{"type":"integer"},{"type":"null"}]},"width":{"title":"Width","description":"The width of the video","anyOf":[{"type":"integer"},{"type":"null"}]},"duration":{"title":"Duration","description":"The duration of the video","anyOf":[{"type":"number"},{"type":"null"}]},"file_size":{"title":"File Size","description":"The size of the file in bytes.","examples":[4404019],"anyOf":[{"type":"integer"},{"type":"null"}]},"height":{"title":"Height","description":"The height of the video","anyOf":[{"type":"integer"},{"type":"null"}]},"url":{"title":"Url","description":"The URL where the file can be downloaded from.","type":"string"},"file_name":{"title":"File Name","description":"The name of the file. It will be auto-generated if not provided.","examples":["z9RV14K95DvU.png"],"anyOf":[{"type":"string"},{"type":"null"}]},"content_type":{"title":"Content Type","description":"The mime type of the file.","examples":["image/png"],"anyOf":[{"type":"string"},{"type":"null"}]},"fps":{"title":"Fps","description":"The FPS of the video","anyOf":[{"type":"number"},{"type":"null"}]}},"title":"VideoFile","x-fal-order-properties":["url","content_type","file_name","file_size","width","height","fps","duration","num_frames"],"type":"object"}}},"paths":{"/minimax/h3-max/reframe-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"}}}}}}},"/minimax/h3-max/reframe-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."}}}}}}}}},"/minimax/h3-max/reframe-video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/H3MaxReframeVideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/minimax/h3-max/reframe-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/H3MaxReframeVideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/sam-3-1/video","metadata":{"display_name":"Sam 3 1","category":"video-to-video","description":"SAM 3.1 builds comes with Object Multiplex, a shared-memory approach for joint multi-object tracking that delivers faster speeds with larger number of objects tracked.","status":"active","tags":["segmentation","mask","real-time"],"updated_at":"2026-10-20T22:36:08.928Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a9443e9/RmwjI0HoW665F-GtnNKl5_81f96370160b47b6afd291fb7c80f8bb.jpg","model_url":"https://fal.run/fal-ai/sam-3-1/video","license_type":"commercial","date":"2026-03-30T16:39:11.488Z","group":{"key":"sam31","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-1/video","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/sam-3-1/video queue.","x-fal-metadata":{"endpointId":"fal-ai/sam-3-1/video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a9443e9/RmwjI0HoW665F-GtnNKl5_81f96370160b47b6afd291fb7c80f8bb.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/sam-3-1/video","documentationUrl":"https://fal.ai/models/fal-ai/sam-3-1/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"]},"Sam31VideoInput":{"x-fal-order-properties":["video_url","prompt","point_prompts","box_prompts","apply_mask","video_output_type","detection_threshold","max_num_objects"],"title":"SAM31VideoInput","properties":{"apply_mask":{"title":"Apply Mask","description":"Apply the mask on the video.","default":true,"type":"boolean"},"video_output_type":{"description":"The output type of the generated video.","title":"Video Output Type","enum":["X264 (.mp4)","VP9 (.webm)"],"default":"X264 (.mp4)","type":"string"},"max_num_objects":{"title":"Max Num Objects","maximum":128,"minimum":1,"description":"Maximum number of objects to track in the video.","default":16,"type":"integer"},"detection_threshold":{"title":"Detection Threshold","maximum":1,"minimum":0.1,"description":"Detection confidence threshold (0.0-1.0). Lower = more detections but less precise.","default":0.5,"type":"number"},"video_url":{"title":"Video Url","examples":["https://storage.googleapis.com/falserverless/example_inputs/birefnet-video-input.mp4"],"description":"The URL of the video to be segmented.","type":"string"},"point_prompts":{"items":{"$ref":"#/components/schemas/PointPromptBase"},"title":"Point Prompts","description":"List of point prompts","default":[],"type":"array"},"box_prompts":{"items":{"$ref":"#/components/schemas/BoxPromptBase"},"title":"Box Prompts","description":"List of box prompt coordinates (x_min, y_min, x_max, y_max).","default":[],"type":"array"},"prompt":{"title":"Prompt","examples":["person","person, cloth"],"description":"Text prompt for segmentation. Use commas to track multiple objects (e.g., 'person, cloth').","default":"","type":"string"}},"required":["video_url"],"type":"object"},"Sam31VideoOutput":{"x-fal-order-properties":["video","boundingbox_frames_zip"],"title":"SAM31VideoOutput","properties":{"video":{"$ref":"#/components/schemas/File","examples":["https://fal.media/files/lion/gr-RSvy2e7_AWbjxAq4mJ_output.mp4"],"description":"The segmented video."},"boundingbox_frames_zip":{"description":"Zip file containing per-frame bounding box overlays.","anyOf":[{"$ref":"#/components/schemas/File"},{"type":"null"}]}},"required":["video"],"type":"object"},"PointPromptBase":{"x-fal-order-properties":["x","y","label","object_id"],"title":"PointPromptBase","properties":{"y":{"title":"Y","description":"Y Coordinate of the prompt","anyOf":[{"type":"integer"},{"type":"null"}]},"object_id":{"title":"Object Id","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.","anyOf":[{"type":"integer"},{"type":"null"}]},"x":{"title":"X","description":"X Coordinate of the prompt","anyOf":[{"type":"integer"},{"type":"null"}]},"label":{"title":"Label","description":"1 for foreground, 0 for background","anyOf":[{"enum":[0,1],"type":"integer"},{"type":"null"}]}},"type":"object"},"BoxPromptBase":{"x-fal-order-properties":["x_min","y_min","x_max","y_max","object_id"],"title":"BoxPromptBase","properties":{"object_id":{"title":"Object Id","description":"Optional object identifier. Boxes sharing an object id refine the same object.","anyOf":[{"type":"integer"},{"type":"null"}]},"y_min":{"title":"Y Min","description":"Y Min Coordinate of the box","anyOf":[{"type":"integer"},{"type":"null"}]},"x_min":{"title":"X Min","description":"X Min Coordinate of the box","anyOf":[{"type":"integer"},{"type":"null"}]},"x_max":{"title":"X Max","description":"X Max Coordinate of the box","anyOf":[{"type":"integer"},{"type":"null"}]},"y_max":{"title":"Y Max","description":"Y Max Coordinate of the box","anyOf":[{"type":"integer"},{"type":"null"}]}},"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":{"/fal-ai/sam-3-1/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-1/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-1/video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sam31VideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/sam-3-1/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/Sam31VideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"mirelo-ai/sfx2.0/video-to-video","metadata":{"display_name":"Mirelo SFX2.0","category":"video-to-video","description":"Adds synchronized sound effects to a video and returns the video with the sound mixed in. Speech is preserved by default, with text prompts for off-screen sounds and ambience.","status":"active","tags":["video-to-video","sound-effects","foley","speech-aware"],"updated_at":"2026-10-26T20:18:22.980Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0aae54a0/9qEA6uVyY5VGIW7Db2ub3.jpg","model_url":"https://fal.run/mirelo-ai/sfx2.0/video-to-video","license_type":"commercial","date":"2026-10-14T09:43:12.563Z","group":{"key":"mirelo-sfx2.0","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 mirelo-ai/sfx2.0/video-to-video","version":"1.0.0","description":"The OpenAPI schema for the mirelo-ai/sfx2.0/video-to-video queue.","x-fal-metadata":{"endpointId":"mirelo-ai/sfx2.0/video-to-video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0aae54a0/9qEA6uVyY5VGIW7Db2ub3.jpg","playgroundUrl":"https://fal.ai/models/mirelo-ai/sfx2.0/video-to-video","documentationUrl":"https://fal.ai/models/mirelo-ai/sfx2.0/video-to-video/api","about":"Video To 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"]},"Sfx20VideoToVideoInput":{"x-fal-order-properties":["video_url","text_prompt","negative_prompt","preserve_speech","duration","num_samples","seed"],"properties":{"video_url":{"type":"string","description":"Video to add sound to: an http(s) URL, or a base64 data URI up to 8 MB.","examples":["https://di3otfzjg1gxa.cloudfront.net/chase.mp4"],"title":"Video Url"},"preserve_speech":{"type":"boolean","description":"Keep the speech in the input's audio and generate the rest of the soundtrack around it. False generates sound effects only and suppresses speech.","default":true,"title":"Preserve Speech"},"seed":{"anyOf":[{"maximum":18446744073709552000,"minimum":-1,"type":"integer"},{"type":"null"}],"description":"Seed for generation. -1 or None for random.","title":"Seed"},"duration":{"maximum":600,"minimum":1,"type":"number","description":"Seconds of sound to generate, from 1 s to 600 s, clamped to the video's length. Over 10 s generates in 10 s windows. A video shorter than 1 s answers 400.","default":10,"title":"Duration"},"num_samples":{"maximum":4,"minimum":1,"type":"integer","description":"Number of variations to generate. Billed per sample.","default":2,"title":"Number of Samples"},"text_prompt":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"description":"Optional text guiding the soundtrack. Name sounds the picture does not show, such as off-screen sounds or an ambience bed, to have them worked into it.","examples":["Distant police sirens, tires screeching on asphalt"],"title":"Text Prompt"},"negative_prompt":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"description":"Sounds to keep out of the result, as a short comma-separated list.","examples":["music, crowd noise"],"title":"Negative Prompt"}},"type":"object","required":["video_url"],"title":"VideoToVideoInput"},"Sfx20VideoToVideoOutput":{"x-fal-order-properties":["model","video"],"properties":{"model":{"description":"The SFX model release that made the output","type":"string","pattern":"^sfx-[0-9]+\\.[0-9]+$","examples":["sfx-2.0"],"title":"Model"},"video":{"items":{"$ref":"#/components/schemas/Video"},"type":"array","description":"The input video with each generated soundtrack","examples":[[{"url":"https://di3otfzjg1gxa.cloudfront.net/chase_output_1.mp4","file_name":"generated_output_1.mp4","content_type":"video/mp4"}]],"title":"Video"}},"type":"object","required":["model","video"],"title":"VideoOutput"},"Video":{"x-fal-order-properties":["url","content_type","file_name","file_size"],"properties":{"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The size of the file in bytes.","examples":[4404019],"title":"File Size"},"url":{"type":"string","description":"The URL where the file can be downloaded from.","title":"Url"},"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"}},"type":"object","required":["url"],"title":"Video"}}},"paths":{"/mirelo-ai/sfx2.0/video-to-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"}}}}}}},"/mirelo-ai/sfx2.0/video-to-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."}}}}}}}}},"/mirelo-ai/sfx2.0/video-to-video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sfx20VideoToVideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/mirelo-ai/sfx2.0/video-to-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/Sfx20VideoToVideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"alibaba/happy-horse/video-edit","metadata":{"display_name":"Happy Horse Video Edit","category":"video-to-video","description":"HappyHorse video editing supports advanced video editing through natural language instructions. It allows for local or global editing of video elements using up to 5 reference images.","status":"active","tags":["happy-horse","video-editing","video-to-video"],"updated_at":"2026-10-20T22:08:18.060Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a97eccf/ab4posrL6gDeMPjWA6iAY_0e23c382e58c4588a761c3dd7cc94e39.jpg","model_url":"https://fal.run/alibaba/happy-horse/video-edit","license_type":"commercial","date":"2026-04-27T11:41:55.310Z","group":{"key":"happy-horse","label":"Edit Video"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for alibaba/happy-horse/video-edit","version":"1.0.0","description":"The OpenAPI schema for the alibaba/happy-horse/video-edit queue.","x-fal-metadata":{"endpointId":"alibaba/happy-horse/video-edit","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a97eccf/ab4posrL6gDeMPjWA6iAY_0e23c382e58c4588a761c3dd7cc94e39.jpg","playgroundUrl":"https://fal.ai/models/alibaba/happy-horse/video-edit","documentationUrl":"https://fal.ai/models/alibaba/happy-horse/video-edit/api","about":"Edit a source video using the Happy Horse video-editing model."}},"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"]},"HappyHorseVideoEditInput":{"x-fal-order-properties":["video_url","prompt","reference_image_urls","resolution","audio_setting","seed","enable_safety_checker"],"description":"Input for Happy Horse video-editing (source video + edit prompt).","title":"HappyHorseVideoEditInput","type":"object","properties":{"prompt":{"minLength":1,"description":"Text prompt describing the desired edit. Reference any supplied reference images using @Image1, @Image2, ... up to @Image5. Max 2500 characters.","examples":["Recolor the sky to a deep purple sunset."],"title":"Prompt","type":"string"},"video_url":{"description":"URL of the source video to edit. Formats: MP4, MOV (H.264 recommended). Duration: 3-60 s. Longer side ≤ 2160 px, shorter side ≥ 320 px. Aspect ratio between 1:2.5 and 2.5:1. Frame rate > 8 fps. Max 100 MB. The output video preserves the source aspect ratio. Output duration matches the input video, capped at 15 s (longer inputs are truncated to the first 15 s).\n\nMax file size: 100.0MB, Min duration: 3s, Max duration: 60s, Timeout: 30.0s","examples":["https://storage.googleapis.com/falserverless/example_inputs/editto/example_in.mp4"],"title":"Video Url","type":"string","x-fal":{"timeout":30,"max_file_size":104857600,"min_duration":3,"max_duration":60}},"seed":{"description":"Random seed for reproducibility (0-2147483647).","anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"audio_setting":{"description":"Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve the original audio from the input video.","title":"Audio Setting","type":"string","default":"auto","enum":["auto","origin"]},"resolution":{"description":"Output video resolution tier.","title":"Resolution","type":"string","default":"1080p","enum":["720p","1080p"]},"reference_image_urls":{"description":"Optional reference images used to guide the edit (up to 5). Formats: JPEG, JPG, PNG, WEBP. Dimensions must be at least 300px. Aspect ratio between 1:2.5 and 2.5:1. Max 10 MB each.","anyOf":[{"items":{"_fal_ui_field":"image","ui":{"field":"image"},"type":"string"},"type":"array"},{"type":"null"}],"title":"Reference Image Urls"},"enable_safety_checker":{"description":"Enable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked.","title":"Enable Safety Checker","type":"boolean","default":true}},"required":["video_url","prompt"]},"HappyHorseVideoEditOutput":{"x-fal-order-properties":["video","seed"],"description":"Output for Happy Horse video generation.","title":"HappyHorseOutput","type":"object","properties":{"video":{"description":"The generated video file.","$ref":"#/components/schemas/VideoFile"},"seed":{"description":"The seed used for generation.","title":"Seed","type":"integer"}},"required":["video","seed"]},"VideoFile":{"x-fal-order-properties":["url","content_type","file_name","file_size","width","height","fps","duration","num_frames"],"title":"VideoFile","type":"object","properties":{"height":{"description":"The height of the video","anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"file_name":{"description":"The name of the file. It will be auto-generated if not provided.","examples":["z9RV14K95DvU.png"],"title":"File Name","anyOf":[{"type":"string"},{"type":"null"}]},"num_frames":{"description":"The number of frames in the video","anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Frames"},"url":{"description":"The URL where the file can be downloaded from.","title":"Url","type":"string"},"file_size":{"description":"The size of the file in bytes.","examples":[4404019],"title":"File Size","anyOf":[{"type":"integer"},{"type":"null"}]},"width":{"description":"The width of the video","anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"duration":{"description":"The duration of the video","anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"fps":{"description":"The FPS of the video","anyOf":[{"type":"number"},{"type":"null"}],"title":"Fps"},"content_type":{"description":"The mime type of the file.","examples":["image/png"],"title":"Content Type","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["url"]}}},"paths":{"/alibaba/happy-horse/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"}}}}}}},"/alibaba/happy-horse/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."}}}}}}}}},"/alibaba/happy-horse/video-edit":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HappyHorseVideoEditInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/alibaba/happy-horse/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/HappyHorseVideoEditOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/kling-video/o3/standard/video-to-video/reference","metadata":{"display_name":"Kling O3 Reference Video to Video [Standard]","category":"video-to-video","description":"Kling O3 Omni generates new shots guided by an input reference video, preserving cinematic language such as motion, and camera style to produce seamless scene continuity.","status":"active","tags":["video-to-video"],"updated_at":"2026-04-26T22:25:17.147Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a8d1ff4/ctJ5X4rUretNOyhNP7kef_c20445da1a384304ade796a9301891bf.jpg","model_url":"https://fal.run/fal-ai/kling-video/o3/standard/video-to-video/reference","license_type":"commercial","date":"2026-02-04T15:48:44.935Z","group":{"key":"kling-o3","label":"Reference V2V (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/reference","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/kling-video/o3/standard/video-to-video/reference queue.","x-fal-metadata":{"endpointId":"fal-ai/kling-video/o3/standard/video-to-video/reference","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a8d1ff4/ctJ5X4rUretNOyhNP7kef_c20445da1a384304ade796a9301891bf.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/kling-video/o3/standard/video-to-video/reference","documentationUrl":"https://fal.ai/models/fal-ai/kling-video/o3/standard/video-to-video/reference/api","about":"O3 Std Video To 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"]},"KlingVideoO3StandardVideoToVideoReferenceInput":{"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"}]},"aspect_ratio":{"enum":["auto","16:9","9:16","1:1"],"description":"Aspect ratio.","title":"Aspect Ratio","type":"string","default":"auto","examples":["auto"]},"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-reference/element1_front.png","reference_image_urls":["https://storage.googleapis.com/falserverless/example_inputs/kling-o3/standard-v2v-reference/element1_reference1.png"]},{"frontal_image_url":"https://storage.googleapis.com/falserverless/example_inputs/kling-o3/standard-v2v-reference/element2_front.png","reference_image_urls":["https://storage.googleapis.com/falserverless/example_inputs/kling-o3/standard-v2v-reference/element2_reference1.png"]}]],"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},"duration":{"description":"Video duration in seconds (3-15s for reference video).","title":"Duration","examples":["5"],"anyOf":[{"enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"],"type":"string"},{"type":"null"}]},"prompt":{"maxLength":2500,"description":"Text prompt for video generation. Reference video as @Video1.","title":"Prompt","examples":["Replace both character with @Element1 and @Element2"],"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-reference/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","examples":[false],"default":true,"type":"boolean"}},"required":["prompt","video_url"],"title":"O3StandardReferenceVideoV2VInput","x-fal-order-properties":["enable_safety_checker","prompt","video_url","image_urls","keep_audio","elements","shot_type","aspect_ratio","duration"],"type":"object"},"KlingVideoO3StandardVideoToVideoReferenceOutput":{"properties":{"video":{"description":"The generated video.","examples":[{"file_size":7992288,"file_name":"output.mp4","content_type":"video/mp4","url":"https://storage.googleapis.com/falserverless/example_outputs/kling-o3/standard-v2v-reference/output.mp4"}],"$ref":"#/components/schemas/File"}},"required":["video"],"title":"O3StandardReferenceV2VOutput","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/reference/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/reference/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/reference":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlingVideoO3StandardVideoToVideoReferenceInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/kling-video/o3/standard/video-to-video/reference/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/KlingVideoO3StandardVideoToVideoReferenceOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/void-video-inpainting","metadata":{"display_name":"Void Video Inpainting","category":"video-to-video","description":"VOID removes objects from videos along with all interactions they induce on the scene","status":"active","tags":["utility","editing"],"updated_at":"2026-04-28T16:39:35.437Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a959ab1/J4yvJNbWY73Ca0TwDrlhE_e14266cf79374705aabff60c8ee7ac50.jpg","model_url":"https://fal.run/fal-ai/void-video-inpainting","license_type":"commercial","date":"2026-04-10T22:12:31.034Z","highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/void-video-inpainting","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/void-video-inpainting queue.","x-fal-metadata":{"endpointId":"fal-ai/void-video-inpainting","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a959ab1/J4yvJNbWY73Ca0TwDrlhE_e14266cf79374705aabff60c8ee7ac50.jpg","playgroundUrl":"https://fal.ai/models/fal-ai/void-video-inpainting","documentationUrl":"https://fal.ai/models/fal-ai/void-video-inpainting/api","about":"Generate"}},"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"]},"VoidVideoInpaintingInput":{"type":"object","x-fal-order-properties":["video_url","quad_mask_video_url","mask_prompt","prompt","enable_pass2_refinement","negative_prompt","num_inference_steps","guidance_scale","strength","seed","num_frames","enable_safety_checker"],"title":"Input","required":["video_url","prompt"],"properties":{"num_frames":{"maximum":197,"minimum":1,"type":"integer","title":"Num Frames","default":85,"description":"Temporal window size for inference. The backend snaps this to the nearest CogVideoX-safe value that works with temporal compression and patching. Valid outputs are 69, 77, 85, ..., 197."},"mask_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["the person walking through the hallway"],"description":"Text description of what should be masked in the input video, such as the object or person to remove. Used to generate a temporary mask video with SAM-3 when `quad_mask_video_url` is not provided.","title":"Mask Prompt"},"prompt":{"examples":["a video of buildings reflecting on a calm river"],"type":"string","description":"Text description of the desired background after object removal.","title":"Prompt"},"strength":{"maximum":1,"minimum":0,"type":"number","title":"Strength","default":1,"description":"Denoising strength. 1.0 means full denoising."},"negative_prompt":{"type":"string","default":"The video is not of a high quality, it has a low resolution. Watermark present in each frame. The background is solid. Strange body and strange trajectory. Distortion.","title":"Negative Prompt","description":"Negative prompt to guide generation away from undesired outputs."},"guidance_scale":{"maximum":20,"minimum":0,"type":"number","title":"Guidance Scale","default":1,"description":"Classifier-free guidance scale."},"enable_safety_checker":{"type":"boolean","default":true,"title":"Enable Safety Checker","description":"Enable content safety checking on the output."},"num_inference_steps":{"maximum":50,"minimum":1,"type":"integer","title":"Num Inference Steps","default":30,"description":"Number of denoising steps. Higher values improve quality but increase latency."},"enable_pass2_refinement":{"type":"boolean","default":false,"title":"Enable Pass2 Refinement","description":"Run VOID Pass 2 warped-noise refinement after Pass 1. This is slower but can improve temporal consistency on longer clips."},"quad_mask_video_url":{"examples":["https://storage.googleapis.com/falserverless/kontext-blog/trimask_quadmask.mp4"],"type":"string","default":"","description":"URL of a mask video for the removal target. For best results this should be a VOID-style quadmask video with 4 grayscale values: 0=object to remove, 63=overlap, 127=affected region, 255=background to keep. A simple binary mask (0=remove, 255=keep) also works. If omitted, the app will generate a temporary mask video from `mask_prompt` using the SAM-3 video endpoint and convert it to a quadmask automatically.","title":"Quad Mask Video Url"},"video_url":{"examples":["https://storage.googleapis.com/falserverless/kontext-blog/input_video.mp4"],"type":"string","description":"URL of the input video containing the object to remove.","title":"Video Url"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed","description":"Random seed for reproducibility."}}},"VoidVideoInpaintingOutput":{"type":"object","x-fal-order-properties":["video","seed","timings"],"title":"Output","required":["video","seed","timings"],"properties":{"timings":{"additionalProperties":{"type":"number"},"type":"object","title":"Timings","description":"Timing breakdown for pipeline stages."},"seed":{"type":"integer","title":"Seed","description":"The seed used for generation."},"video":{"examples":[{"url":"https://v3b.fal.media/files/b/0a95b6f4/D89J5QV-wztq3B0OI44Sl_tmpl1cf522v.mp4"}],"description":"The output video with the object removed.","$ref":"#/components/schemas/File"}}},"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","title":"Url","description":"The URL where the file can be downloaded from."},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"examples":["image/png"],"description":"The mime type of the file.","title":"Content Type"}}}}},"paths":{"/fal-ai/void-video-inpainting/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/void-video-inpainting/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/void-video-inpainting":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoidVideoInpaintingInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/void-video-inpainting/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/VoidVideoInpaintingOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"google/gemini-omni-flash/edit","metadata":{"display_name":"Gemini Omni Flash","category":"video-to-video","description":"Edits generated video across multiple conversational turns while preserving scene coherence. Applies iterative changes through natural-language instructions without regenerating the full sequence from scratch.","status":"active","tags":["stylized","transform","lipsync"],"updated_at":"2026-10-20T22:38:33.521Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0aa064ab/KaPeBfk0q5Qc2axr3JX-k.jpg","model_url":"https://fal.run/google/gemini-omni-flash/edit","license_type":"commercial","date":"2026-06-30T16:36:25.323Z","group":{"key":"gemini-omni-flash","label":"Video Edit"},"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/edit","version":"1.0.0","description":"The OpenAPI schema for the google/gemini-omni-flash/edit queue.","x-fal-metadata":{"endpointId":"google/gemini-omni-flash/edit","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0aa064ab/KaPeBfk0q5Qc2axr3JX-k.jpg","playgroundUrl":"https://fal.ai/models/google/gemini-omni-flash/edit","documentationUrl":"https://fal.ai/models/google/gemini-omni-flash/edit/api","about":"Edit an existing video using Gemini Omni Flash.\n\nProvide a source video and a simple instruction describing the change\n(e.g. \"Make this video anime. Keep everything else the same.\"). The\nvideo is uploaded to Google's Files API before editing.\n\nLimitations: editing uploaded videos is not available in the EEA,\nSwitzerland, and the United Kingdom; voice editing is not supported;\nand audio references cannot be uploaded.\n\nSafety filters are applied to both input videos and generated content."}},"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"]},"GeminiOmniFlashEditInput":{"required":["prompt","video_url"],"x-fal-order-properties":["prompt","video_url"],"title":"OmniFlashVideoEditInput","properties":{"prompt":{"examples":["Make this video anime. Keep everything else the same."],"title":"Prompt","description":"A simple instruction describing the edit. Simple prompts work best; add \"Keep everything else the same.\" to preserve the rest of the scene. Voice editing is not supported.","type":"string","maxLength":20000},"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. Note: editing uploaded videos is not available for users in the European Economic Area (EEA), Switzerland, and the United Kingdom.","type":"string"}},"type":"object"},"GeminiOmniFlashEditOutput":{"required":["video"],"x-fal-order-properties":["video"],"title":"OmniFlashVideoEditOutput","properties":{"video":{"description":"The edited video.","$ref":"#/components/schemas/File"}},"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/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/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/edit":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeminiOmniFlashEditInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/google/gemini-omni-flash/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/GeminiOmniFlashEditOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"bria/video/erase/mask","metadata":{"display_name":"Video","category":"video-to-video","description":"High-fidelity mask-based video object removal with strong temporal consistency. Erase unwanted objects, people, or elements while preserving aesthetic quality. Trained on licensed data for risk-free commercial use.","status":"active","tags":["bria","video","erase"],"updated_at":"2026-05-20T14:22:16.902Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0a875792/fiFX5LR2jtecUmE7yLyY8_340c579c0b1e408ab0d7920d3a2d3e32.jpg","model_url":"https://fal.run/bria/video/erase/mask","license_type":"commercial","date":"2025-12-23T19:20:38.011Z","group":{"key":"bria","label":"Video Eraser (Mask)"},"highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for bria/video/erase/mask","version":"1.0.0","description":"The OpenAPI schema for the bria/video/erase/mask queue.","x-fal-metadata":{"endpointId":"bria/video/erase/mask","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0a875792/fiFX5LR2jtecUmE7yLyY8_340c579c0b1e408ab0d7920d3a2d3e32.jpg","playgroundUrl":"https://fal.ai/models/bria/video/erase/mask","documentationUrl":"https://fal.ai/models/bria/video/erase/mask/api","about":"Erase By Mask"}},"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"]},"VideoEraseMaskInput":{"title":"EraseInputModel","properties":{"video_url":{"title":"Video Url","type":"string","description":"Input video to erase object from. duration must be less than 5s.","examples":["https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser/video1_video.mp4"]},"mask_video_url":{"title":"Mask Video Url","type":"string","description":"Input video to mask erase object from. duration must be less than 5s.","examples":["https://bria-test-images.s3.us-east-1.amazonaws.com/videos/eraser/video1_mask.mp4"]},"auto_trim":{"title":"Auto Trim","type":"boolean","default":true,"description":"auto trim the video, to working duration ( 5s )"},"preserve_audio":{"title":"Preserve Audio","type":"boolean","default":true,"description":"If true, audio will be preserved in the output video."},"output_container_and_codec":{"title":"Output Container And Codec","type":"string","default":"mp4_h264","enum":["mp4_h265","mp4_h264","webm_vp9","gif","mov_h264","mov_h265","mov_proresks","mkv_h264","mkv_h265","mkv_vp9","mkv_mpeg4"],"description":"Output container and codec. Options: mp4_h265, mp4_h264, webm_vp9, gif, mov_h264, mov_h265, mov_proresks, mkv_h264, mkv_h265, mkv_vp9, mkv_mpeg4."}},"required":["video_url","mask_video_url"],"type":"object","x-fal-order-properties":["output_container_and_codec","auto_trim","preserve_audio","video_url","mask_video_url"]},"VideoEraseMaskOutput":{"title":"VideoOutput","properties":{"video":{"title":"Video","anyOf":[{"$ref":"#/components/schemas/Video"},{"$ref":"#/components/schemas/File"}],"description":"Final video."}},"required":["video"],"type":"object","x-fal-order-properties":["video"]},"Video":{"required":["url"],"type":"object","x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"Video","properties":{"file_size":{"examples":[4404019],"title":"File Size","description":"The size of the file in bytes.","anyOf":[{"type":"integer"},{"type":"null"}]},"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"}]},"content_type":{"examples":["image/png"],"title":"Content Type","description":"The mime type of the file.","anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string","title":"Url","description":"The URL where the file can be downloaded from."}}},"File":{"required":["url"],"type":"object","x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"File","properties":{"file_size":{"examples":[4404019],"title":"File Size","description":"The size of the file in bytes.","anyOf":[{"type":"integer"},{"type":"null"}]},"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"}]},"content_type":{"examples":["image/png"],"title":"Content Type","description":"The mime type of the file.","anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string","title":"Url","description":"The URL where the file can be downloaded from."}}}}},"paths":{"/bria/video/erase/mask/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"}}}}}}},"/bria/video/erase/mask/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."}}}}}}}}},"/bria/video/erase/mask":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoEraseMaskInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/bria/video/erase/mask/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/VideoEraseMaskOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"topaz/interpolate/video","metadata":{"display_name":"Topaz Interpolate Video","category":"video-to-video","description":"Professional frame interpolation powered by Topaz Labs. Apollo, Chronos and Aion retime footage up to 120 fps, from smooth motion to extreme slow motion. Best for fluid 60fps output and slow-motion effects.","status":"active","tags":["interpolate","video","slowmotion"],"updated_at":"2026-09-05T01:07:15.958Z","is_favorited":null,"thumbnail_url":"https://v3b.fal.media/files/b/0aa5f4b0/fRicqNVVkZ1fMzQ-6JHKo.jpg","model_url":"https://fal.run/topaz/interpolate/video","license_type":"commercial","date":"2026-08-11T21:04:41.081Z","highlighted":false,"kind":"inference","pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for topaz/interpolate/video","version":"1.0.0","description":"The OpenAPI schema for the topaz/interpolate/video queue.","x-fal-metadata":{"endpointId":"topaz/interpolate/video","category":"video-to-video","thumbnailUrl":"https://v3b.fal.media/files/b/0aa5f4b0/fRicqNVVkZ1fMzQ-6JHKo.jpg","playgroundUrl":"https://fal.ai/models/topaz/interpolate/video","documentationUrl":"https://fal.ai/models/topaz/interpolate/video/api","about":"# Topaz Frame Interpolation\n\nAI-powered retiming: raise the frame rate (smooth motion / slow motion)\nwithout upscaling. Resolution is kept from the source.\n\n## Models\n- **Apollo** — smooth, general-purpose interpolation.\n- **Chronos** — natural slow motion for real-world motion.\n- **Aion** — extreme slow motion for complex, high-resolution motion.\n\nVideos are limited to 5 minutes."}},"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"]},"InterpolateVideoInput":{"x-fal-order-properties":["enable_safety_checker","video_url","model","target_fps","slowdown_factor","H264_output"],"title":"VideoFrameInterpolationRequest","properties":{"enable_safety_checker":{"title":"Enable Safety Checker","default":true,"type":"boolean"},"model":{"description":"Frame interpolation model. Apollo is general-purpose; Chronos targets real-world motion; Aion handles extreme/complex motion.","title":"Model","enum":["Apollo","Chronos","Aion"],"default":"Apollo","type":"string"},"slowdown_factor":{"title":"Slowdown Factor","maximum":8,"minimum":1,"description":"Slow-motion factor: 2 makes the output twice as long at the target FPS (2x slow motion), up to 8x. 1 keeps the original speed. The extra generated frames are billed like interpolated frames.","default":1,"type":"integer"},"target_fps":{"title":"Target Fps","maximum":120,"minimum":16,"description":"Target frames per second for the interpolated output.","default":60,"type":"integer"},"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 retime / interpolate","type":"string"}},"required":["video_url"],"type":"object"},"InterpolateVideoOutput":{"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/interpolate/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"}}}}}}},"/topaz/interpolate/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."}}}}}}}}},"/topaz/interpolate/video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterpolateVideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/topaz/interpolate/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/InterpolateVideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}},{"endpoint_id":"fal-ai/sam2/video","metadata":{"display_name":"Segment Anything Model 2","category":"video-to-video","description":"SAM 2 is a model for segmenting images and videos in real-time.","status":"active","tags":["segmentation","mask","real-time"],"updated_at":"2026-04-21T17:54:28.639Z","is_favorited":null,"thumbnail_url":"https://storage.googleapis.com/falserverless/gallery/sam2.gif","model_url":"https://fal.run/fal-ai/sam2/video","date":"2024-08-15T00:00:00.000Z","group":{"key":"sam2","label":"Video to Video"},"highlighted":false,"pinned":false},"retires_at":null,"replacement":null,"openapi":{"openapi":"3.1.0","info":{"title":"Queue OpenAPI for fal-ai/sam2/video","version":"1.0.0","description":"The OpenAPI schema for the fal-ai/sam2/video queue.","x-fal-metadata":{"endpointId":"fal-ai/sam2/video","category":"video-to-video","thumbnailUrl":"https://storage.googleapis.com/falserverless/gallery/sam2.gif","playgroundUrl":"https://fal.ai/models/fal-ai/sam2/video","documentationUrl":"https://fal.ai/models/fal-ai/sam2/video/api","about":"Segment 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"]},"Sam2VideoInput":{"x-fal-order-properties":["video_url","mask_url","prompts","box_prompts","apply_mask","boundingbox_zip"],"title":"SAM2VideoRLEInput","properties":{"mask_url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The URL of the mask to be applied initially.","title":"Mask Url"},"apply_mask":{"default":false,"description":"Apply the mask on the video.","title":"Apply Mask","type":"boolean"},"boundingbox_zip":{"default":false,"description":"Return per-frame bounding box overlays as a zip archive.","title":"Boundingbox Zip","type":"boolean"},"video_url":{"description":"The URL of the video to be segmented.","title":"Video Url","type":"string","examples":["https://drive.google.com/uc?id=1iOFYbNITYwrebBBp9kaEGhBndFSRLz8k"]},"box_prompts":{"default":[],"description":"Coordinates for boxes","title":"Box Prompts","items":{"$ref":"#/components/schemas/BoxPrompt"},"type":"array","examples":[[{"frame_index":0,"x_max":500,"y_min":0,"x_min":300,"y_max":400}]]},"prompts":{"default":[],"description":"List of prompts to segment the video","title":"Prompts","items":{"$ref":"#/components/schemas/PointPrompt"},"type":"array","examples":[[{"frame_index":0,"x":210,"y":350,"label":1},{"frame_index":0,"x":250,"y":220,"label":1}]]}},"type":"object","required":["video_url"]},"Sam2VideoOutput":{"anyOf":[{"$ref":"#/components/schemas/SAM2VideoOutput"},{"$ref":"#/components/schemas/SAM2RLEOutput"},{"$ref":"#/components/schemas/SAM2RLEFileOutput"}]},"BoxPrompt":{"x-fal-order-properties":["x_min","y_min","x_max","y_max","frame_index"],"title":"BoxPrompt","properties":{"frame_index":{"default":0,"description":"The frame index to interact with.","title":"Frame Index","type":"integer"},"x_max":{"default":0,"description":"X Max Coordinate of the prompt","title":"X Max","type":"integer"},"y_min":{"default":0,"description":"Y Min Coordinate of the box","title":"Y Min","type":"integer"},"y_max":{"default":0,"description":"Y Max Coordinate of the prompt","title":"Y Max","type":"integer"},"x_min":{"default":0,"description":"X Min Coordinate of the box","title":"X Min","type":"integer"}},"type":"object"},"PointPrompt":{"x-fal-order-properties":["x","y","label","frame_index"],"title":"PointPrompt","properties":{"frame_index":{"default":0,"description":"The frame index to interact with.","title":"Frame Index","type":"integer"},"x":{"default":305,"description":"X Coordinate of the prompt","title":"X","type":"integer"},"y":{"default":350,"description":"Y Coordinate of the prompt","title":"Y","type":"integer"},"label":{"default":1,"description":"Label of the prompt. 1 for foreground, 0 for background","title":"Label","enum":[0,1],"type":"integer"}},"type":"object"},"SAM2VideoOutput":{"x-fal-order-properties":["video","boundingbox_frames_zip"],"title":"SAM2VideoOutput","properties":{"boundingbox_frames_zip":{"anyOf":[{"$ref":"#/components/schemas/File"},{"type":"null"}],"description":"Zip file containing per-frame bounding box overlays."},"video":{"description":"The segmented video.","$ref":"#/components/schemas/File"}},"type":"object","required":["video"]},"SAM2RLEOutput":{"x-fal-order-properties":["rle","boundingbox_frames_zip"],"title":"SAM2RLEOutput","properties":{"boundingbox_frames_zip":{"anyOf":[{"$ref":"#/components/schemas/File"},{"type":"null"}],"description":"Zip file containing per-frame bounding box overlays."},"rle":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"description":"Run Length Encoding of the mask.","title":"Rle"}},"type":"object","required":["rle"]},"SAM2RLEFileOutput":{"x-fal-order-properties":["rle","boundingbox_frames_zip"],"title":"SAM2RLEFileOutput","properties":{"boundingbox_frames_zip":{"anyOf":[{"$ref":"#/components/schemas/File"},{"type":"null"}],"description":"Zip file containing per-frame bounding box overlays."},"rle":{"description":"Run Length Encoding of the mask.","$ref":"#/components/schemas/File"}},"type":"object","required":["rle"]},"File":{"x-fal-order-properties":["url","content_type","file_name","file_size"],"title":"File","properties":{"url":{"description":"The URL where the file can be downloaded from.","title":"Url","type":"string"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The size of the file in bytes.","title":"File Size","examples":[4404019]},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The name of the file. It will be auto-generated if not provided.","title":"File Name","examples":["z9RV14K95DvU.png"]},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The mime type of the file.","title":"Content Type","examples":["image/png"]}},"type":"object","required":["url"]}}},"paths":{"/fal-ai/sam2/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/sam2/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/sam2/video":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sam2VideoInput"}}}},"responses":{"200":{"description":"The request status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueStatus"}}}}}}},"/fal-ai/sam2/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/Sam2VideoOutput"}}}}}}}},"servers":[{"url":"https://queue.fal.run"}],"security":[{"apiKeyAuth":[]}]}}],"next_cursor":"OA","has_more":true}
