AI-assistenten
ChatGPT Video Downloader
Gebruik ChatGPT Video Downloader met HuntGebruik ChatGPT met HuntAPI om video’s te downloaden, audio te extraheren en metadata op te halen - zonder de chat te verlaten. Ideaal voor Custom GPTs, Actions en agents.
Wat je kunt doen
- Een YouTube- (of andere) URL in ChatGPT plakken en een bestands-URL krijgen
- Alleen audio extraheren (
download_type=audio) - Titel, duur en thumbnail via
https://api.huntapi.com/v1/media/metadatavóór download - Voortgang (0–100) volgen via poll op
https://api.huntapi.com/v1/jobs/{id}
Snel starten
Hunt-downloads zijn asynchroon. ChatGPT moet:
- Download-endpoint aanroepen →
job_idontvangen - Pollen tot
status=CompletedJob result.response(CDN-URL) enresult.metadatateruggeven
Stap 1: download starten
GET https://api.huntapi.com/v1/video/download?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY
Response:
{
"job_id": "0193443f-fb80-9d19-29ba-82bc77c7cd84"
}
Stap 2: status & voortgang
GET https://api.huntapi.com/v1/jobs/0193443f-fb80-9d19-29ba-82bc77c7cd84
x-api-key: YOUR_API_KEY
Bezig:
{
"id": "0193443f-fb80-9d19-29ba-82bc77c7cd84",
"status": "Running",
"progress": 63,
"result": null
}
Klaar:
{
"id": "0193443f-fb80-9d19-29ba-82bc77c7cd84",
"status": "CompletedJob",
"success": true,
"progress": 100,
"result": {
"metadata": {
"title": "Example video",
"duration": 432,
"thumbnail": "https://i.ytimg.com/vi/.../maxresdefault.jpg"
},
"response": "https://s3.huntapi.com/videos/<uuid>.mp4"
}
}
Poll elke 1–2 seconden zolang status Queued of Running is.
Optioneel: alleen metadata (geen download)
GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY
Synchroon - geeft meteen { "metadata": { ... } } terug.
ChatGPT Actions instellen
- Maak een Custom GPT → Configure → Actions → Create new action
- Importeer een OpenAPI-schema met:
GET https://api.huntapi.com/v1/video/downloadGET https://api.huntapi.com/v1/jobs/{id}- (optioneel)
GET https://api.huntapi.com/v1/media/metadata
- Auth: API Key-header
x-api-key - Server-URL:
https://api.huntapi.com - Laat de GPT pollen tot
CompletedJoben de bestands-URL delen
Voorbeeld system prompt (Custom GPT)
You are a video downloader assistant powered by HuntAPI.
When the user pastes a video URL:
1) Optionally call https://api.huntapi.com/v1/media/metadata to confirm title/duration.
2) Call /v1/video/download with query=<url>.
3) Poll /v1/jobs/{job_id} every 2 seconds until status is CompletedJob.
4) Return the CDN URL from result.response and a short summary from result.metadata.
Never invent download links. If status is Error/NotFound, explain the error clearly.
Nuttige queryparameters
| Param | Waarden | Notities |
|---|---|---|
query | URL | Verplicht |
download_type | audio_video, audio, video | audio voor MP3 |
video_quality | best, 1080p, 720p, … | Lange video’s (>1u) begrensd op 720p |
video_format | mp4, webm, mkv | Voorkeur |
Gerelateerd
VIDEO API
Discover why Hunt is the preferred API provider for developers.