AdClip is an open-source solution that leverages Google's state-of-the-art AI to help advertisers adopt short-form creatives. With AdClip, you can automatically generate short, engaging videos from your existing long-form content.
AdClip helps you create compelling short-form video ads by:
- Identifying key moments: Using Generative AI, AdClip analyzes your video transcripts to find the most important ideas and trims the video accordingly.
- Understanding video content: It leverages the Video Intelligence API to understand the content and context of your videos.
- Transcribing audio: The Speech-to-Text API is used to accurately transcribe your video's audio.
This allows you to:
- Quickly generate short, fun, and easy-to-digest videos for your campaigns.
- Create multiple versions of video transcripts from the same source, enabling you to test different narratives.
AdClip is a full-stack web application built on the Google Cloud Platform (GCP). It provides a self-service user interface for generating short-form vertical and landscape videos from a single long-form landscape video.
To deploy and use AdClip, you will need a Google Cloud Project with the following APIs enabled:
- Vertex AI API
- Firebase
- A Firebase project linked to your GCP account. You can create one here.
- A Cloud Storage bucket. You can create one here.
- Node.js installed.
- Python 3.12 installed.
- The Firebase CLI installed.
- Navigate to the
frontenddirectory:cd frontend - Install the required Node.js packages:
npm install - In your Firebase project settings, generate a new web app configuration.
- Copy the
.env.examplefile to a new file named.env.local. - Fill in the variables in
.env.localwith the configuration keys from your Firebase web app. - Set your active Firebase project:
firebase use <project_id>(replace<project_id>with your Firebase project ID). - Deploy the frontend:
firebase deploy --only hosting
- Deploy the Cloud Functions:
firebase deploy --only functions- If you encounter an error like
Error: User code failed to load. Cannot determine backend specification, running the command again usually resolves the issue.
- If you encounter an error like
We welcome contributions to AdClip! Please see our contributing guidelines and code of conduct for more information.
- Team: Lan Tran, Ryan Sibbaluca
- Contributors: Quy Nguyen, Pankamol Srikaew, Maggie Ting
- Contact: [email protected]
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.
This is not an officially supported Google product. It is an open source project licensed under the Apache 2.0 license and is not intended for production use.
This project follows Google's Open Source Community Guidelines.
Copyright Google LLC. All rights reserved.