AI-assistenter
Cursor Video Downloader
Använd Cursor Video Downloader med HuntAnvänd Cursor med HuntAPI för att ladda ner videor, extrahera ljud och hämta metadata medan du kodar. Ideal för agents, terminal och mediapipelines.
Agent-workflow
Be Cursor:
Ladda ner den här videon med HuntAPI och spara CDN-URL:en: <youtube-url>
Agenten bör:
GET https://api.huntapi.com/v1/video/download?query=...→job_id- Polla
GET https://api.huntapi.com/v1/jobs/{job_id}tillsstatus=CompletedJob - Läsa
progress(0–100) underRunning - Returnera
result.response
curl-exempel
# Start
curl -s "https://api.huntapi.com/v1/video/download?query=VIDEO_URL&video_quality=720p" \
-H "x-api-key: $HUNTAPI_API_KEY"
# Poll
curl -s "https://api.huntapi.com/v1/jobs/JOB_ID" \
-H "x-api-key: $HUNTAPI_API_KEY"
# Metadata only
curl -s "https://api.huntapi.com/v1/media/metadata?query=VIDEO_URL" \
-H "x-api-key: $HUNTAPI_API_KEY"
Tips
- Spara
HUNTAPI_API_KEYi Cursor-/shell-env - committa den aldrig - Använd
https://api.huntapi.com/v1/media/metadataföre nedladdning för att kolla längden - Endast ljud:
download_type=audio
Relaterat
VIDEO API
Discover why Hunt is the preferred API provider for developers.