API v1
Build clips into your product
A REST API for creating, retrieving and managing AI-generated clips. Auth via bearer token, JSON everywhere.
cURL
curl -X POST https://api.hypecut.ai/v1/clips \
-H "Authorization: Bearer $HYPECUT_KEY" \
-H "Content-Type: application/json" \
-d '{
"source_url": "https://youtu.be/dQw4w9WgXcQ",
"aspect_ratio": "9:16",
"captions": true,
"max_clips": 5
}'JavaScript
import HypeCut from "hypecut";
const cf = new HypeCut(process.env.HYPECUT_KEY);
const job = await cf.clips.create({
source_url: "https://youtu.be/dQw4w9WgXcQ",
aspect_ratio: "9:16",
captions: true,
max_clips: 5,
});
console.log(job.id, job.status);Endpoints
POST
/v1/clipsCreate a new clip generation jobGET
/v1/clips/:idRetrieve clip job status and outputsGET
/v1/clipsList all clip jobs for your accountPOST
/v1/webhooksRegister a webhook for job eventsDELETE
/v1/clips/:idDelete a clip and its assets