✦ డెవలపర్ API

రోజు వీడియో క్లిప్ సెర్వల్

పొడవైన వీడియోలను నిలువుక్షిణి చేసిన కార్యక్రమాన్ని చాలా వ్యత్యాసకరంగా చేర్చండి.

clip.video exposes a simple HTTP API for clipping, transcription, captioning, and the utility conversions. Embed it in your own product, automate a content pipeline, or clip at scale. The full API (with API-key auth + a published per-minute rate) is available on the స్టియో పధకంName; నేడు ఆప్‌ పవర్‌ క్రిందవున్న ముగింపు పాయింట్లు.

ధృవీకరణ

Stythmboxస్‌ను ఒక ఫీలర్ శీర్షికతో ధృవీకరణము చేయుము. మీ కీ 'ఆర్దిష్ట' ను మీ కీ సేవిక- ప్రక్కన ఉంచండి.

Authorization: Bearer sk_live_your_api_key

1 క్లిప్‌బోర్డును తయారు చేయండి

దస్త్రంను ఎక్కించు లేదా వీడియో URLను పాస్ చేయుము. mode కార్యాన్ని ఎన్నుకుంటుంది: clip (అంగీకరించిన చిన్నారి) captions (వీడిస్ మొత్తం కవర్, లేదా) transcribe (rancloped మాత్రమే)

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

సమాధానం:

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

2 పొల్ జాబ్ స్థితి

పైపులైట్‌ అయోమయంగా ఉంది. done నిజం; పూర్తైన క్లిప్లు వస్తున్నాయి clips డౌన్‌లోడ్‌చేయగల సమాచరం output యుఆర్ఎల్.

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 AS ఒక సౌలభ్యంని నడుపు (సమస్య)

ffmg టూల్‌అనువర్తనంకు పనిముట్లు నేరుగా డౌన్‌లోడ్‌ను తిరిగివుంచవచ్చు. సాధనాన్ని పాస్‌చేయి 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 AS ఉచ్ఛారణను ఎగుమతిచేయి

ఒక కోసం transcribe పని, నిమోట్‌ను అలా ఎగుమతిచేయి txt, srt, లేదా vtt.

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

ప్రసారం

clip.video స్టోరో పథకానికి ఒక మిలియన్ స్పెషల్ రేటును ప్రచురించు —⁠ మీరు ఇష్టపడిన మీ వినియోగదారులకు బిల్. చూడండి. ప్రింటింగ్ లేదా మాకు పరిచయం వాల్యూమ్ రేటు మరియు తెలుపు-నెడ్ కోసం.