infery
← All models

Scene Finder

scene-finder

Visionby infery

Search any video with a text prompt - Scene Finder locates the matching moments and returns their time segments and extracted frames.

Details

Accepts
video

Pricing

Price
0.525 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
promptrequiredstringText description of the event or scene to find in the video.
video_urlrequiredstringURL of the video to search through.
frame_selectionstringenum: mid, start, end, allWhich frame(s) to extract from each detected segment. 'mid' returns the midpoint frame, 'start' the first frame, 'end' the last frame, 'all' returns start + mid + end.
frames_per_secondintegerFrames per second to sample from the video. Higher values give more precision but use more memory.

Output

FieldTypeDescription
imagesarrayExtracted frames from each detected segment based on frame_selection.
segmentsarrayDetected event time segments.