ai-agent

CLIP4Clip: Video Clip Retrieval

Get video clip retrieval with CLIP4Clip, a solution for founders requiring multimodal search.
1,032 stars137 forksPythonGuide quality 8/10Updated 4/12/2024100% free · open source
What it does

CLIP4Clip enables video clip retrieval by leveraging the CLIP model for end-to-end multimodal search, allowing founders to find specific video clips based on text or image queries.

When to use it
  • When building a video search engine that requires accurate clip retrieval based on textual or visual inputs
  • For applications where multimodal search is crucial, such as video recommendation systems or content moderation platforms
  • In multimedia analysis tasks where identifying specific moments within videos is necessary
Ready-to-paste prompt
python test.py --cfg configs/clip4clip.yaml --query 'a person riding a bike' --video_path 'path/to/video.mp4'
Heads up: Ensure you have the necessary GPU resources and a compatible PyTorch version (torch >= 1.9.0) to run the model training and inference smoothly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/clip4clip && curl -fsSL https://workflowstacks.com/api/skills/clip4clip/claude-skill -o ~/.claude/skills/clip4clip/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How CLIP4Clip: Video Clip Retrieval works
Codeflow
Free to inspect

CLIP4Clip: Video Clip Retrieval is a medium Python project (~5.1k lines across 20 code files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit 29 months ago, MIT license, no tests found.

Size
Medium codebase
~5.1k lines · 20 code files · 42 min skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Python
No API keys detected
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
What's in each folder
modules/Sub-packages / plugins11 files
dataloaders/Folder7 files
preprocess/Folder1 files
READMENo tests foundThin docsNo CIMIT licenseLast update 29 mo ago
Quick Actions
Details
Creator
ArrowLuo
Language
Python
Category
ai-agent
Published
4/13/2021

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.

Ready-to-run pack · one-time $29

Rank Tracker

A weekly email of where you actually rank on Google.

Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).

See what you get