Recipes

Video Frame Extraction

Changed on

Extracts unique frames from a video at a specified rate, filtering near-duplicates by perceptual hash.

post/v2/consumer/recipes/videoFrameExtraction

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

videoUrlstring uri required
frameRatenumber double

Frames per second to extract.

uniqueThresholdnumber double

Similarity (0.0 to 1.0) above which a frame counts as a duplicate and is dropped.

maxFramesinteger nullable

Maximum number of unique frames to extract; null extracts all.

startTimenumber double

Seconds into the video to start extracting from.

publicboolean nullable

Serves the frames at stable unsigned urls. Privileged callers only: nothing gates a read of one, so a block decided after the fact cannot take it back.

Response

OK

totalFramesExtractedinteger required

Changes