{"category":"video","endpoint":"https://setget.net/v1/tools/video-frames","examples":[{"input":{"count":4,"video":"sample.mp4"},"title":"Four evenly spaced frames"},{"input":{"count":6,"format":"png","mode":"scenes","video":"sample.mp4","width":160},"title":"One frame per scene, as small PNGs"},{"input":{"count":5,"video":"sample.mp4","zip":true},"title":"Five frames in one zip"}],"input_schema":{"additionalProperties":false,"properties":{"count":{"default":8,"description":"How many frames to save, at most.","maximum":20,"minimum":1,"type":"integer"},"end":{"description":"Only look at the video up to this time, in seconds.","minimum":0,"type":"number"},"format":{"default":"jpg","description":"Picture format of the frames. JPG is small; PNG keeps every pixel exactly.","enum":["jpg","png"],"type":"string"},"mode":{"default":"even","description":"even spreads the frames over the video. scenes saves the first frame of each scene.","enum":["even","scenes"],"type":"string"},"start":{"default":0,"description":"Only look at the video from this time on, in seconds.","minimum":0,"type":"number"},"threshold":{"default":0.3,"description":"For scenes mode: how big a change counts as a new scene, from 0.05 (small changes) to 0.95 (only hard cuts).","maximum":0.95,"minimum":0.05,"type":"number"},"video":{"description":"The video to take frames from.","format":"setget-file","type":"string","x-accept":["video"]},"width":{"description":"Largest width of each frame in pixels. Left empty, frames keep the size of the video.","examples":[512],"maximum":3840,"minimum":16,"type":"integer"},"zip":{"default":false,"description":"Return one zip archive holding the frames instead of separate picture files.","type":"boolean"}},"required":["video"],"type":"object"},"keywords":["video to images","extract frames","video to jpg","video to png","frames for vision model","screenshots","key frames","video stills","mp4 to jpg","frame grabber"],"related":["video-contact-sheet","video-thumbnail","video-scene-detect","video-to-gif","video-info"],"slug":"video-frames","summary":"Save up to 20 frames of a video as pictures, evenly spaced or one per scene. Made for showing a video to a vision model.","tier":"job","timeout_seconds":300,"title":"Extract frames from a video","url":"https://setget.net/tools/video-frames"}
