{
"count": 5,
"items": [
{
"type": "frame",
"videoUrl": "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4",
"frameIndex": 0,
"timestampSec": 0.625,
"timecode": "00:00:00.625",
"imageUrl": "https://2-29-135-242.sslip.io/m/f/VxrfPUV2ZRQ9L0c3t/1-001.jpg",
"key": "1-001.jpg",
"width": 640,
"height": 360,
"sceneScore": null,
"mode": "count",
"durationSec": 10,
"fps": 30,
"videoWidth": 640,
"videoHeight": 360,
"extractedAt": "2026-11-12T03:21:59Z"
},
{
"type": "frame",
"videoUrl": "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4",
"frameIndex": 1,
"timestampSec": 1.875,
"timecode": "00:00:01.875",
"imageUrl": "https://2-29-135-242.sslip.io/m/f/VxrfPUV2ZRQ9L0c3t/1-002.jpg",
"key": "1-002.jpg",
"width": 640,
"height": 360,
"sceneScore": null,
"mode": "count",
"durationSec": 10,
"fps": 30,
"videoWidth": 640,
"videoHeight": 360,
"extractedAt": "2026-11-12T03:21:59Z"
},
{
"type": "frame",
"videoUrl": "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4",
"frameIndex": 2,
"timestampSec": 3.125,
"timecode": "00:00:03.125",
"imageUrl": "https://2-29-135-242.sslip.io/m/f/VxrfPUV2ZRQ9L0c3t/1-003.jpg",
"key": "1-003.jpg",
"width": 640,
"height": 360,
"sceneScore": null,
"mode": "count",
"durationSec": 10,
"fps": 30,
"videoWidth": 640,
"videoHeight": 360,
"extractedAt": "2026-11-12T03:21:59Z"
},
{
"type": "frame",
"videoUrl": "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4",
"frameIndex": 3,
"timestampSec": 4.375,
"timecode": "00:00:04.375",
"imageUrl": "https://2-29-135-242.sslip.io/m/f/VxrfPUV2ZRQ9L0c3t/1-004.jpg",
"key": "1-004.jpg",
"width": 640,
"height": 360,
"sceneScore": null,
"mode": "count",
"durationSec": 10,
"fps": 30,
"videoWidth": 640,
"videoHeight": 360,
"extractedAt": "2026-11-12T03:22:00Z"
},
{
"type": "frame",
"videoUrl": "https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4",
"frameIndex": 4,
"timestampSec": 5.625,
"timecode": "00:00:05.625",
"imageUrl": "https://2-29-135-242.sslip.io/m/f/VxrfPUV2ZRQ9L0c3t/1-005.jpg",
"key": "1-005.jpg",
"width": 640,
"height": 360,
"sceneScore": null,
"mode": "count",
"durationSec": 10,
"fps": 30,
"videoWidth": 640,
"videoHeight": 360,
"extractedAt": "2026-11-12T03:22:00Z"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14854/extract+frames+from+video+api/38670/video+frame+extractor?contactSheet=true&maxVideoMinutes=30&sceneThreshold=0.3&maxFramesPerVideo=30&format=jpg&width=1280&quality=85&videoUrls=https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_1MB.mp4&mode=count&frameCount=8&everySeconds=10' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 从视频中提取帧 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
视频帧提取器:来自直接视频文件 URL(mp4 mov webm mkv m4v)的静态帧。场景变化检测,每 N 秒,N 个均匀间隔的帧或确切时间戳
每个请求最多返回100个结果,具体取决于端点
每个请求从公共来源收集实时数据 相同的请求可以从缓存中提供长达6小时
列表参数可以接受多个用逗号分隔的值,例如:伦敦,巴黎
终端接受这些查询参数,均为可选:videoUrls,mode,frameCount,everySeconds,timestamps,sceneThreshold,maxFramesPerVideo,format,width,quality,contactSheet,maxVideoMinutes。VideoUrls:视频文件(mp4,mov,webm,mkv,m4v)的直接链接或存储文件的URL。链接必须是公开的并且直接指向文件。不支持YouTube、TikTok、Instagram和Facebook页面链接,这些链接会被跳过。多个值:用逗号分隔。模式:场景=每个场景变化时的一帧(ffmpeg场景检测)。间隔=每N秒一帧。计数=N个均匀分布的帧。时间戳=你列出的确切时间。