Create a New Project
Submit a long-form video to create a new clipping project.
Introduction
OpusClip identifies the most compelling hooks, extracts highlights from different parts of your video, and arranges them into viral shorts.
The body of the POST /clip-projects
endpoint has 6 main components:
- Video URL
- Brand Template Selection
- Curation Preferences
- Import Preferences
- Conclusion Actions
- Curation Model
Video URL
This parameter defines the URL of the long-form video. OpusClip can import public videos from the following platforms:
YouTube
,Google Drive
,Vimeo
,Zoom
,Rumble
,Twitch
,Facebook
,LinkedIn
,X
,Dropbox
,Riverside
,Loom
,Frame.io
,StreamYard
- Any public video S3 link of an MP4 file
Ensure you replace API_KEY
with your actual API key.
Brand Templates
We offer an option to customize the appearance of your clips by brand template
.
- If a brand template is specified, relevant render preferences will be applied.
- It is recommended to define your brand templates within the OpusClip dashboard and set your default template.
- If a brand template not defined, the default template on your account will be used automatically.
Customizing Brand Templates
For a high level of customization, you can create and manage your brand templates.
Using Preset Brand Templates
Not familiar with it? No worries, we provide popular templates for your convenience.
For example, to use the Karaoke
brand template:
Ensure you replace API_KEY
with your actual API key.
Curation Preferences
Curation preferences define how your long-form video should be curated. Here you can define:
- The duration of the resulting clips
- The genre of the video
- Topic keywords that you want to prioritize clipping for
- The curation model you prefer to use
✨ New Feature: ClipAnything ✨
Curious to try ClipAnything? Click here to learn more!
You can also explore different examples by switching tabs between ClipBasic
and ClipAnything
.
Example:
Ensure you replace API_KEY
with your actual API key.
Import Preferences
Import preferences let you define the language of the original video. OpusClip supports videos in 20+ languages
.
By default, the video language is automatically detected. It is recommended that if your video is not in English, you should specify the language.
Example
Ensure you replace API_KEY
with your actual API key.
Ensure you fill in sourceLang
with language code.
Conclusion Actions
Conclusion actions allow you to call a webhook or email a specific person when your results are ready.
Ensure you replace API_KEY
with your actual API key.
Curation Model
Curate video clips using either ClipBasic
or ClipAnything
, depending on your needs.
ClipBasic
is optimized for talking-head videos, providing precise scene selection.ClipAnything
is our most advanced and versatile model, capable of extracting key moments from any video type, including vlogs, sports, TV shows, behind-the-scenes footage, news, music videos, and more.
When to Use ClipAnything
?
ClipAnything
is ideal when you need advanced scene selection beyond talking-head videos. It utilizes multimodal reasoning, natural language prompts, and deep scene analysis to curate the most relevant moments based on objects, actions, emotions, and genre.
For more information about ClipAnything
, refer to the link below.
What is ClipAnything
Explore the ClipAnything wiki for more details.
Model Selection & Parameters
By default,
ClipBasic
is used. To switch toClipAnything
, update your Curation Preferences.
- The
topicKeywords
parameter is only applicable toClipBasic
.- The
customPrompt
parameter is exclusively available withClipAnything
.
For details on configuring curation settings, refer to the link below.
Curation Preferences Schema
View the curation preferences schema for more details.
Example:
You can explore different examples of using
ClipBasic
andClipAnything
by switching tabs below.
Playground
Generate Code Snippet
You can use this code generator to generate code snippets easily.
Response Schema
API Response Schema
For more details of response, please refer to the API response schema.