Introduction
Programmatically create AI-powered video shorts from YouTube videos or uploaded files using the Ssemble API.
Overview
The Ssemble API lets you create short-form video clips from long-form content programmatically. It provides the same AI clipping capabilities available in the Ssemble web app — but accessible via REST API for automation, integrations, and custom workflows.
With the API, you can automate your entire content repurposing pipeline: submit a video, let the AI identify the most engaging segments, and receive ready-to-publish short clips with captions, music, and overlays.
Base URL
All endpoints are relative to this base URL. For example, the templates endpoint is at https://aiclipping.ssemble.com/api/v1/templates.
What you can do
- Create shorts from YouTube URLs or uploaded video files — the AI analyzes content and extracts the best segments
- Customize output with caption templates, background music, gameplay overlays, meme hooks, and call-to-action text
- Control clip length from under 30 seconds to under 10 minutes
- Choose video layout — auto, fill, fit, or square framing for different platforms
- Track progress of video processing in real-time with status polling
- Retrieve results including video URLs, AI-generated titles, viral scores, and metadata
- Browse assets — list available music tracks, game videos, and meme hooks to use in your shorts
- Manage requests — list, filter, sort, and delete your creation requests
Quick start
1. Get your API key
Sign in to the Ssemble dashboard, click your profile icon in the top-right corner, and select API Keys to generate a new key.
2. Choose a template
Fetch available caption templates. Each template controls the style, font, color, and animation of your captions.
Copy the templateId from the response and use it in the next step. If you skip this, the default Karaoke style is applied automatically. For a detailed explanation of all available templates, see the List Templates endpoint.
3. Create a short
This example shows the most common parameters. For the full list of options (background music, gameplay overlays, meme hooks, and more), see the Create Short endpoint.
4. Poll for completion
Poll every 10 seconds until status is completed. See the Get Status endpoint for all status values and response fields.
5. Download results
The response includes all generated clips with video URLs, titles, and viral scores. See the Get Shorts endpoint for the full response structure.
Full workflow
Here's the complete flow:
See Examples for complete working code.
API endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /templates | List available caption templates |
POST | /shorts/create | Create a new short from a video |
GET | /shorts/:id/status | Check processing status |
GET | /shorts/:id | Retrieve generated shorts |
GET | /shorts | List all your requests |
DELETE | /shorts/:id | Delete a request |
GET | /music | Browse background music tracks |
GET | /game-videos | Browse gameplay video overlays |
GET | /meme-hooks | Browse meme hook clips |
Requirements
- An active Ssemble subscription with available credits
- An API key (generated from the dashboard)
- Each short creation consumes 1 credit
Response format
All responses follow a consistent structure:
Success:
Error:
See Errors for the full list of error codes and Rate Limits for usage limits.









