Giter Site home page Giter Site logo

video-db / promptclip Goto Github PK

View Code? Open in Web Editor NEW
84.0 4.0 11.0 28 KB

Instantly create video clips from LLM prompts

Home Page: https://docs.videodb.io/build-with-videodb-35

License: MIT License

Jupyter Notebook 85.87% Python 14.13%
ai editing-videos llm prompt-engineering prompt-toolkit video

promptclip's Introduction

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.ipynb and 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.
  3. Add support for Text Overlays from VideoDB.

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 πŸ“¬

promptclip's People

Contributors

ashish-spext avatar codeashu avatar prayashm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.