Assistenti IA
Claude Video Downloader
Usa Claude Video Downloader con HuntUsa Claude con HuntAPI per scaricare video, estrarre audio e ottenere metadati. Funziona bene con Claude Projects, tool use / MCP e workflow di sviluppo.
Cosa puoi fare
- Chiedere a Claude di scaricare un video da un URL e ottenere un link CDN
- Estrarre solo audio per trascrizioni o podcast
- Anteprima metadati con
https://api.huntapi.com/v1/media/metadata - Mostrare il progresso con
progress(0–100) dahttps://api.huntapi.com/v1/jobs/{id}
Avvio rapido
I download Hunt sono asincroni. Claude (o il tuo tool MCP) deve:
- Avviare un download → ottenere
job_id - Fare poll fino a
status=CompletedJob - Restituire
result.response
Passo 1: avvia download
GET https://api.huntapi.com/v1/video/download?query=https://www.youtube.com/watch?v=VIDEO_ID&download_type=audio_video
x-api-key: YOUR_API_KEY
Risposta:
{ "job_id": "0193443f-fb80-9d19-29ba-82bc77c7cd84" }
Passo 2: stato e progresso
GET https://api.huntapi.com/v1/jobs/0193443f-fb80-9d19-29ba-82bc77c7cd84
x-api-key: YOUR_API_KEY
status | Significato | progress |
|---|---|---|
Queued | In attesa di un worker | 0 |
Running | Download / upload | 1–99 |
CompletedJob | Pronto | 100 |
Error / NotFound / BadRequest | Fallito | 100 |
Payload completato:
{
"status": "CompletedJob",
"progress": 100,
"result": {
"metadata": { "title": "Example video", "duration": 432 },
"response": "https://s3.huntapi.com/videos/<uuid>.mp4"
}
}
Metadati senza download
GET https://api.huntapi.com/v1/media/metadata?query=https://www.youtube.com/watch?v=VIDEO_ID
x-api-key: YOUR_API_KEY
Usare Claude con HuntAPI
Opzione A - Claude Projects + istruzioni
Aggiungi la chiave API come secret nel layer di integrazione (evita di incollarla in chat). Istruzioni:
When the user shares a video URL, use HuntAPI:
1. GET https://api.huntapi.com/v1/media/metadata?query=<url> (optional preview)
2. GET /v1/video/download?query=<url>
3. Poll GET /v1/jobs/{job_id} every 2s until CompletedJob
4. Share result.response and a short metadata summary
Opzione B - MCP / tool calling
Esporre gli endpoint Hunt come tool (download, jobs, metadata). Claude può chiamarli in loop fino al completamento.
Opzione C - Script da sviluppatore
Da Claude Code / Cursor chiama gli stessi endpoint HTTP con curl o SDK e incolla l’URL CDN in Claude.
Esempi di prompt
- «Scarica questo video YouTube in 720p e dammi il link MP4: <url>»
- «Estrai solo l’audio in MP3»
- «Prima titolo e durata, poi scarica se è sotto i 20 minuti»
Correlati
VIDEO API
Discover why Hunt is the preferred API provider for developers.