✦ Developer API

The Videyo

Transparans pa-minute pri - pa gen okenn kredi, pa gen okenn apèl nan lavant ki kache.

clip.video ekspoze yon API HTTP senp pou clipping, transkriptyon, sous-titres, ak konvèsyon utilité. Enkòpore li nan pwòp pwodwi ou, otomatikman yon tiyo kontni, oswa clip sou eskalye. API a konplè (ak API-key auth + yon pibliye pou chak minit pousantaj) se disponib sou sit entènèt la clip.video.com. Studio Plan; pwent bout anba yo ap travay jodi a.

Auth

Studio kle yo otorize ak yon endèks portail. Konserve ou kle sou bò serveurs.

Authorization: Bearer sk_live_your_api_key

1 · Kreye yon travay clip

Upload a fichier ou passer un vidéo URL. mode chwazi operasyon an: clip (shorts ranpòte), captions (titre tout videyo a), oswa transcribe (transkript sèlman).

# 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"

Reponn:

{ "error": false, "job_id": "c45de43d67d4...", "redirect": "/v/c45de43d67d4.../" }

2 · Sondaj estati travay

Konpayi a se asynchrone. Poll until done se vre; klip ki te fini yo rive nan clips array with a downloadable output 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 · Ekran yon utilité (sync)

Fòmil la pou fè yon dosye download 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 · Ekspòtasyon yon transkript

Pou yon transcribe Job, export the transcript as txt, srt, or vtt.

curl https://clip.video/v/<job_id>/export/srt/ -o captions.srt

Pri

Diferan de APIs kredi-mètre, clip.video pibliye yon flat per minit wholesale rate sou plan Studio - facturation ou pwòp itilizatè yo menm jan ou vle. Pri or Kontakte nou pou pousantaj volim ak blan-etiket.