Assistenti IA
Hermes Video Downloader
Usa Hermes Video Downloader con HuntUsa un agent Hermes con HuntAPI per scaricare video, estrarre audio e ottenere metadati. Ideale quando Hermes può chiamare tool HTTP o fare poll dei job.
Cosa puoi fare
- Dare a Hermes un URL video e ottenere un link CDN
- Estrarre solo audio (
download_type=audio) - Anteprima titolo, durata e thumbnail via
https://api.huntapi.com/v1/media/metadata - Tracciare il progresso (0-100) su
https://api.huntapi.com/v1/jobs/{id}
Flusso
- Hermes riceve un URL media
- Opzionale: media metadata (sync)
- Avvia
GET https://api.huntapi.com/v1/video/download?query=...→job_id - Poll
GET https://api.huntapi.com/v1/jobs/{job_id}ogni 1-2 secondi fino aCompletedJob - Restituisci
result.responsee un breveresult.metadata
Non inventare URL di download.
Endpoint
GET https://api.huntapi.com/v1/media/metadata?query=VIDEO_URL
x-api-key: YOUR_API_KEY
GET https://api.huntapi.com/v1/video/download?query=VIDEO_URL&video_quality=720p
x-api-key: YOUR_API_KEY
GET https://api.huntapi.com/v1/jobs/{job_id}
x-api-key: YOUR_API_KEY
status | progress |
|---|---|
Queued | 0 |
Running | 1-99 |
CompletedJob / Error / … | 100 |
Esempio di system prompt
When the user shares a video URL, use HuntAPI:
1) GET https://api.huntapi.com/v1/media/metadata?query=<url> (optional)
2) GET https://api.huntapi.com/v1/video/download?query=<url>
3) Poll GET https://api.huntapi.com/v1/jobs/{job_id} every 2s until CompletedJob
4) Return result.response and a short metadata summary
Never invent CDN links. Keep the API key outside the chat transcript.
Consigli
- Conserva
HUNTAPI_API_KEYnell’env runtime, non nei prompt - Preferisci i metadati se ti serve solo durata/disponibilità
- Video lunghi (>1 ora) limitati a 720p
Correlati
VIDEO API
Discover why Hunt is the preferred API provider for developers.