API Documentation

Everything you need to integrate ClipFM's powerful video processing into your applications

What you can build

Instant clip generation

Process videos in seconds with our high-performance infrastructure

AI-powered editing

Multiple style presets optimized for different platforms

Real-time webhooks

Get notified instantly when your clips are ready

Comprehensive analytics

Track views, engagement, and performance metrics

RESTful API

Simple, predictable resource-oriented URLs

Secure authentication

API key-based auth with granular permissions

Getting started

Create your first clip in just a few lines of code. Here's all you need:

1. Get your API key

Sign in to your dashboard and generate an API key. Keep it secure!

2. Make your first request

Send a POST request to create a clip from any video URL.

3. Handle the response

Get back a clip object with a unique URL you can share anywhere.

Create a clip
const response = await fetch('https://api.clip.fm/v1/clips', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    video_url: 'https://s3.amazonaws.com/my-bucket/video.mp4',
    duration: 60,
    style: 'viral'
  })
});

const clip = await response.json();
console.log('Clip created:', clip.url);

Base URL

https://api.clip.fm

All API requests should be made to this base URL.

Authentication

Keep your API keys secure! Never expose them in client-side code or public repositories.

Include your API key in the Authorization header as a Bearer token with every request:

Authorization: Bearer YOUR_API_KEY

Ready to build?

Dive into our guides and start creating amazing video experiences.