KI-Assistenten
ChatGPT Video Downloader
ChatGPT Video Downloader mit Hunt verwendenNutzen Sie ChatGPT mit HuntAPI, um Videos zu laden, Audio zu extrahieren und Metadaten abzurufen - ohne den Chat zu verlassen. Ideal für Custom GPTs, Actions und Agent-Workflows.
Was Sie tun können
- YouTube- (oder andere) URL in ChatGPT einfügen und eine Datei-URL erhalten
- Nur Audio extrahieren (
download_type=audio) - Titel, Dauer und Thumbnail via
https://api.huntapi.com/v1/media/metadatavor dem Download holen - Fortschritt (0–100) per Poll auf
https://api.huntapi.com/v1/jobs/{id}verfolgen
Schnellstart
Hunt-Downloads sind asynchron. ChatGPT sollte:
- Download-Endpoint aufrufen →
job_iderhalten - Jobs pollen bis
status=CompletedJob result.response(CDN-URL) undresult.metadatazurückgeben
Schritt 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
Antwort:
{
"job_id": "0193443f-fb80-9d19-29ba-82bc77c7cd84"
}
Schritt 2: Status & Fortschritt
GET https://api.huntapi.com/v1/jobs/0193443f-fb80-9d19-29ba-82bc77c7cd84
x-api-key: YOUR_API_KEY
Laufend:
{
"id": "0193443f-fb80-9d19-29ba-82bc77c7cd84",
"status": "Running",
"progress": 63,
"result": null
}
Fertig:
{
"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"
}
}
Alle 1–2 Sekunden pollen, solange status Queued oder Running ist.
Optional: nur Metadaten (kein Download)
GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY
Synchron - liefert sofort { "metadata": { ... } }.
ChatGPT Actions einrichten
- Custom GPT erstellen → Configure → Actions → Create new action
- OpenAPI-Schema mit:
GET https://api.huntapi.com/v1/video/downloadGET https://api.huntapi.com/v1/jobs/{id}- (optional)
GET https://api.huntapi.com/v1/media/metadata
- Auth: API Key-Header
x-api-key - Server-URL:
https://api.huntapi.com - GPT anweisen, bis
CompletedJobzu pollen und die Datei-URL zu teilen
Beispiel-Systemprompt (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.
Nützliche Query-Parameter
| Param | Werte | Hinweise |
|---|---|---|
query | URL | Erforderlich |
download_type | audio_video, audio, video | audio für MP3 |
video_quality | best, 1080p, 720p, … | Lange Videos (>1h) auf 720p begrenzt |
video_format | mp4, webm, mkv | Präferenz |
Verwandt
VIDEO API
Discover why Hunt is the preferred API provider for developers.