Ang video pag-clip API
I-convert ang mahabang video sa captioned vertical clips programatikong. Transparent bawat minuto pricing - walang credits, walang nakatagong sales call.
clip.video> ay nagpapakita ng isang simpleng HTTP API para sa pag-clipping, transcription, captioning, at ang mga conversion utility. I-embed ito sa iyong sariling produkto, awtomatikong isang pipeline ng nilalaman, o clip sa scale. Ang buong API (na may API-key auth + isang nai-publish bawat-minuto rate) ay magagamit sa Studio planoAng mga sumusunod ay ang mga pangunahing katangian ng mga app na ito.
Pag-authenticate
Studio key authenticate sa isang bearer header. Panatilihin ang iyong mga susi server-side.
Authorization: Bearer sk_live_your_api_key
1 · Lumikha ng isang clip trabaho
I-upload ang isang file o ipasa ang isang video URL. mode pumipili ng operasyon:
clip (ranggo shorts), captions (i-caption ang buong video), o
transcribe (Tingnan ang transcript).
# by URL
curl -X POST https://clip.video/api/upload/ \
-F "url=https://example.com/podcast.mp4" \
-F "mode=clip" \
-F "style=hormozi" \
-F "reframe=auto"
# by file
curl -X POST https://clip.video/api/upload/ \
-F "file=@episode.mp4" -F "mode=clip"
Tugon:
{ "error": false, "job_id": "c45de43d67d4...", "redirect": "/v/c45de43d67d4.../" }
2 · Status ng trabaho sa poll
Ang pipeline ay asynchronous. Poll hanggang done ay totoo; nakumpleto clips dumating sa
clips array na may isang ma-download output Ang URL.
curl https://clip.video/api/status/<job_id>/
{
"status": "completed",
"done": true,
"clip_count": 5,
"clips": [
{ "uuid": "22a9d58d...", "title": "The Secret to Going Viral",
"score": 85, "duration": 32.4,
"output": "/uploads/clips/.../22a9d58d....mp4",
"thumbnail": "/uploads/clips/.../22a9d58d....jpg" }
]
}
3 · Patakbuhin ang isang utility tool (sync)
Ang mga tool ffmpeg bumalik ng isang direktang download link. slug
(video-to-audio, compress-video, video-to-gif,
trim-video, make-video-vertical, …).
curl -X POST https://clip.video/api/tool/ \
-F "file=@clip.mp4" -F "slug=video-to-audio"
# -> { "error": false, "download": "/uploads/tools/out/....mp3", "name": "audio.mp3" }
4 · Mag-export ng isang transcript
Para sa isang transcribe trabaho, mag-export ng transcript bilang txt,
srt, o vtt.
curl https://clip.video/v/<job_id>/export/srt/ -o captions.srt
Pagpepresyo
Hindi tulad ng credit-metered APIs, clip.video publish ng isang flat bawat minuto wholesale rate sa Studio plano — bill ang iyong sariling mga gumagamit gayunpaman gusto mo. Tingnan Pagpepresyo o makipag-ugnay sa amin para sa dami ng mga rate at white-label.