{"info":{"title":"Longcat Image-to-Video","version":"0.1.0"},"openapi":"3.0.2","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["image_url"],"properties":{"fps":{"type":"integer","title":"FPS","default":15,"maximum":60,"minimum":1,"x-order":4,"description":"Target playback frame rate (frames per second)."},"seed":{"type":"integer","title":"Seed","default":0,"x-order":5,"description":"Random seed for reproducibility."},"prompt":{"type":"string","title":"Prompt","x-order":1,"description":"Optional natural language guidance for motion, style, subject behavior, camera feel, etc."},"image_url":{"type":"string","title":"Image URL","format":"uri","x-order":0,"description":"The URL of the image to generate a video from."},"num_frames":{"type":"integer","title":"Number of Frames","default":150,"maximum":961,"minimum":17,"x-order":2,"description":"Total frame count of the generated video."},"video_quality":{"allOf":[{"$ref":"#/components/schemas/video_quality"}],"title":"Video Quality","default":"high","x-order":9,"description":"Overall visual fidelity / bitrate preset."},"video_write_mode":{"allOf":[{"$ref":"#/components/schemas/video_write_mode"}],"title":"Video Write Mode","default":"balanced","x-order":10,"description":"Encoding mode: faster generation vs smaller output size."},"video_output_type":{"allOf":[{"$ref":"#/components/schemas/video_output_type"}],"title":"Video Output Type","default":"X264 (.mp4)","x-order":8,"description":"Container + codec for the final rendered video."},"num_inference_steps":{"type":"integer","title":"Inference Steps","default":12,"maximum":16,"minimum":2,"x-order":3,"description":"Number of denoising / refinement steps per frame."},"enable_safety_checker":{"type":"boolean","title":"Enable Safety Checker","default":true,"x-order":7,"disabled":true,"description":"If true, run safety / compliance filtering on the generated content. Can't be disabled in web UI."}}},"Output":{"type":"string","title":"Output","format":"uri"},"Status":{"enum":["starting","processing","succeeded","failed","canceled"],"type":"string","title":"Status","description":"The status of the prediction."},"video_quality":{"enum":["low","medium","high","maximum"],"type":"string","title":"Video Quality","description":"Overall quality / bitrate preset for the generated video."},"ValidationError":{"type":"object","title":"ValidationError","required":["loc","msg","type"],"properties":{"loc":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}}},"video_write_mode":{"enum":["fast","balanced","small"],"type":"string","title":"Video Write Mode","description":"Performance vs output size tradeoff during encoding."},"PredictionRequest":{"type":"object","title":"PredictionRequest","properties":{"input":{"$ref":"#/components/schemas/Input"},"webhook":{"type":"string","title":"Webhook URL","format":"uri","description":"An optional URL to send a POST request to when the prediction is complete."}}},"video_output_type":{"enum":["X264 (.mp4)","VP9 (.webm)","PRORES4444 (.mov)","GIF (.gif)"],"type":"string","title":"Video Output Type","description":"Desired output container and codec."},"PredictionResponse":{"type":"object","title":"PredictionResponse","properties":{"id":{"type":"string","title":"Prediction ID"},"logs":{"type":"string","title":"Logs","default":""},"error":{"type":"string","title":"Error","nullable":true},"input":{"$ref":"#/components/schemas/Input"},"output":{"$ref":"#/components/schemas/Output"},"status":{"$ref":"#/components/schemas/Status"},"created_at":{"type":"string","title":"Created At","format":"date-time"},"completed_at":{"type":"string","title":"Completed At","format":"date-time","nullable":true}}},"HTTPValidationError":{"type":"object","title":"HTTPValidationError","properties":{"detail":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"},"title":"Detail"}}}}}}