Introduction
OpusClip identifies the most compelling hooks, extracts highlights from different parts of your video, and arranges them into viral shorts. The body of thePOST /clip-projects endpoint has 9 main components:
- Video URL
- Brand Template Selection
- Curation Preferences
- Render Preferences
- Import Preferences
- Conclusion Actions
- Curation Model
- Uploaded Video Attributes
- Response Schema
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 bybrand 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.
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
- Whether to skip the clipping process entirely
✨ New Feature: ClipAnything ✨
Curious to try ClipAnything? Click here to learn more!
You can also explore different examples by switching tabs between
Curious to try ClipAnything? Click here to learn more!
You can also explore different examples by switching tabs between
ClipBasic
and ClipAnything.Skip Clipping: You can bypass the clipping process entirely by setting
skipCurate: true in your curation preferences. This is useful when you want to upload and process the original video without clipping it. We also support and will continue to maintain skipSlicing: true for the same purpose.Ensure you replace
API_KEY with your actual API key.Render Preferences
Render preferences allow you to customize how your clips are rendered, including layout options, caption settings, and audio processing features.Layout Aspect Ratio
You can initiate a clip project and define the desired layout aspect ratio (such as portrait, landscape, square) by including it in the renderPref field of your request to the Opus API. Example:Remove Filler Words
You can automatically remove filler words (such as “um”, “uh”, “like”, etc.) from your video clips to create cleaner, more professional content. This feature is available via the Quickstart API configuration. 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 in20+ 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
Ensure you fill in
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.You can explore different examples of using webhooks or email notifications by
switching tabs below.
Ensure you replace
API_KEY with your actual API key.Curation Model
Curate video clips using eitherClipBasic or ClipAnything, depending on your needs.
ClipBasicis optimized for talking-head videos, providing precise scene selection.ClipAnythingis 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.
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.
By default,For details on configuring curation settings, refer to the link below.ClipBasicis used. To switch toClipAnything, update your Curation Preferences.
- The
topicKeywordsparameter is only applicable toClipBasic.- The
customPromptparameter is exclusively available withClipAnything.
Curation Preferences Schema
View the curation preferences schema for more details.
You can explore different examples of usingClipBasicandClipAnythingby switching tabs below.
Playground
Generate Code Snippet
You can use this code generator to generate code snippets easily.
Uploaded Video Attributes
You can set custom attributes for your uploaded video, including a custom title for your project.title: Set a custom title for your clipping project
Ensure you replace
API_KEY with your actual API key and YOUR_TITLE with
your desired project title.Response Schema
API Response Schema
For more details of response, please refer to the API response schema.