API Documentation
Everything you need to integrate ClipFM's powerful video processing into your applications
Quick Start →
Get up and running with your first API call in minutes
API Reference →
Detailed documentation for all endpoints
Examples →
Real-world integration patterns and use cases
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:
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.fmAll 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