AI Assistants

Gemini Video Downloader

/library/gemini-video-downloader

Download videos

Use Google Gemini with HuntAPI to download videos, extract audio, and fetch metadata from YouTube and 100+ platforms.

Flow

  1. User pastes a video URL in Gemini
  2. Your tool / extension calls HuntAPI
  3. Poll /v1/jobs/{id} until CompletedJob (watch progress 0–100)
  4. Return the CDN URL from result.response

Endpoints

GET https://api.huntapi.com/v1/video/download?query=VIDEO_URL
x-api-key: YOUR_API_KEY
GET https://api.huntapi.com/v1/jobs/{job_id}
x-api-key: YOUR_API_KEY
GET https://api.huntapi.com/v1/media/metadata?query=VIDEO_URL
x-api-key: YOUR_API_KEY

Use download_type=audio for MP3 extraction, or https://api.huntapi.com/v1/media/metadata when you only need title/duration/thumbnail.

Tips for Gemini

  • Keep the API key in your backend or Gemini extension config - not in the chat
  • Poll jobs every 1–2 seconds; do not invent download URLs
  • Prefer video_quality=720p for long videos (>1 hour is auto-capped)

Related

VIDEO API

Discover why Hunt is the preferred API provider for developers.