PromptClip

PromptClip

Instantly create video clips from LLM prompts

Stars: 100

Visit
 screenshot

PromptClip is a tool that allows developers to create video clips using LLM prompts. Users can upload videos from various sources, prompt the video in natural language, use different LLM models, instantly watch the generated clips, finetune the clips, and add music or image overlays. The tool provides a seamless way to extract specific moments from videos based on user queries, making video editing and content creation more efficient and intuitive.

README:

PyPI version Stargazers Issues Website


Logo

PromptClip โœ„

Create video clips using LLM prompts
๐ŸžReport a Bug ยท ๐Ÿ’กSuggest a Feature

PromptClip: Create Instant Video Clips with LLM Prompts ๐Ÿญ

What does it do? ๐Ÿค”

It allows any developer to:

  • ๐Ÿ“š Upload a video from any source (Local Files, Youtube, S3 etc.)
  • ๐Ÿ” Prompt that video in natural language with queries like Show funny moments in the video or find the moments useful for social media trailer
  • ๐ŸŽ›๏ธ Use any LLM of your choice like OpenAI, Claude or Gemeni Pro.
  • ๐ŸŒŸ Instantly watch the clip of those moments.
  • ๐Ÿ› ๏ธ Finetune the clip or supercut by ranking results, managing length of the clip etc.
  • ๐ŸŽธ Add music or image overlay to the clip.

Results ๐ŸŽ‰

Checkout these prompts and the results ๐Ÿ‘‰๐Ÿผ

Original Video Prompt Link
Shark Tank Find every moment where a deal was offered watch
Useful Gadgets Show me moments in the video where the host discusses or reveals the pricing of the gadgets watch
Sponsorship Details of Huberman Podcast Find details about every sponsor watch
Highlights from Masterchef Episode Show me the feedback from every judge watch
Important Topics/Advice from a Lecture Find sentences where anxiety is discussed watch
Tech Review Video Find sentences where host explains about the battery watch
Travel Video What are some popular tourist destinations in Sri Lanka watch

How do I use it? ๐Ÿ› ๏ธ

  • Get your API key: Sign up on VideoDB console (Free for the first 50 uploads, no credit card required). ๐Ÿ†“
  • Set VIDEO_DB_API_KEY: Enter your key in the env file.
  • Set OPENAI_API_KEY or ANTHROPIC_KEY: Add your LLM API Key in the env file.
  • Install dependencies: Run pip install -r requirements.txt in your terminal.
  • Run locally: Run the notebook PromptClip_text.ipynb, PromptClip_visual.ipynb and PromptClip_multimodal.ipynb to experiment with your prompts and ranking of results.

Roadmap ๐Ÿ›ฃ๏ธ

  1. Add support for music generation models to jazzup the cuts.
  2. Integrate with other projects like Pika Labs and Midjourney.

Contributing ๐Ÿค

Your contributions make the open-source community an incredible place for learning, inspiration, and creativity. We welcome and appreciate your input! Here's how you can contribute:

  • Open issues to share your use cases.
  • Participate in brainstorming solutions for our roadmap.
  • Suggest improvements to the codebase.

Contribution Steps

  1. Fork the Project ๐Ÿด
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request ๐Ÿ“ฌ

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for PromptClip

Similar Open Source Tools

For similar tasks

For similar jobs