KI-Assistenten

ChatGPT Video Downloader

ChatGPT Video Downloader mit Hunt verwenden
ChatGPT Video Downloader mit HuntAPI

Nutzen 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/metadata vor dem Download holen
  • Fortschritt (0–100) per Poll auf https://api.huntapi.com/v1/jobs/{id} verfolgen

Schnellstart

Hunt-Downloads sind asynchron. ChatGPT sollte:

  1. Download-Endpoint aufrufen → job_id erhalten
  2. Jobs pollen bis status = CompletedJob
  3. result.response (CDN-URL) und result.metadata zurü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

  1. Custom GPT erstellen → ConfigureActionsCreate new action
  2. OpenAPI-Schema mit:
    • GET https://api.huntapi.com/v1/video/download
    • GET https://api.huntapi.com/v1/jobs/{id}
    • (optional) GET https://api.huntapi.com/v1/media/metadata
  3. Auth: API Key-Header x-api-key
  4. Server-URL: https://api.huntapi.com
  5. GPT anweisen, bis CompletedJob zu 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

ParamWerteHinweise
queryURLErforderlich
download_typeaudio_video, audio, videoaudio für MP3
video_qualitybest, 1080p, 720p, …Lange Videos (>1h) auf 720p begrenzt
video_formatmp4, webm, mkvPräferenz

Verwandt

VIDEO API

Discover why Hunt is the preferred API provider for developers.