Get Keyframes Async
Authentication
App-level OAuth 2.0 token (no user context). Use Authorization: Bearer <token>.
Obtain by calling the token endpoint with grant_type=client_credentials.
Only available on endpoints that declare app auth support.
Headers
Acts on behalf of a team member for supported user-auth operations. Pass a team member ID such as dbmid:.... When used with a team token, that token must also include the team_data.member scope.
Request
Identifier of the video file to extract keyframes from. Callers must set
exactly one of the FileIdOrUrl variants. Keyframe extraction is supported
for video files only; see the route description for the supported formats.
Requests against unsupported formats return unsupported_format_error.
When true, each returned keyframe includes the JPEG image bytes,
base64-encoded, in ApiKeyframe.image_base64. When false, the response
contains only per-keyframe metadata (timestamp and scene score) and
image_base64 is left empty — useful when you only need the scene
boundaries and want a small response. NOTE: because the field defaults to
false in proto3, callers who want images must set this explicitly to true.
Sensitivity of scene-change detection. A keyframe is emitted whenever the frame-to-frame scene score crosses this threshold, so a LOWER value yields MORE keyframes. Valid range is (0.0, 1.0]. When omitted (0.0) the service uses a default of 0.3, which is a good starting point for most videos.