Close menu
Explore Plans
Mobile menu Close menu
Gemini

Analyze a YouTube video

Pro plus icon This query returns Gemini's analysis of a YouTube video based on the prompt you specify.

Developer info

API endpoint slug
gemini.analyze_youtube_video
Runtime method
performQuery("gemini.analyze_youtube_video"}

Query fields

Model Dropdown list

Label
Model
Helper text
Which Gemini model to use.
Slug
model
Required
true
Can have default value
false

Youtube video url Text input > Link

Label
YouTube video URL
Helper text
The public YouTube watch URL (e.g. https://www.youtube.com/watch?v=...).
Slug
youtube_video_url
Required
true
Can have default value
true

Prompt Text input > Long text

Label
Prompt
Helper text
Tell Gemini what to do with the video (e.g. "Summarize the key points" or "List the topics covered").
Slug
prompt
Required
true
Can have default value
true

Ingredients

Analysis Gemini's analysis of the video.

Slug
analysis
Filter code
Gemini.analyzeYoutubeVideo.Analysis
Type
String
Example
This video introduces the new features in Gemini 2.5...

Video url used The URL of the YouTube video that was analyzed.

Slug
video_url_used
Filter code
Gemini.analyzeYoutubeVideo.VideoUrlUsed
Type
Web URL
Example
https://www.youtube.com/watch?v=dQw4w9WgXcQ

Prompt used The prompt that was sent to Gemini.

Slug
prompt_used
Filter code
Gemini.analyzeYoutubeVideo.PromptUsed
Type
String
Example
Summarize the key points.

Model used The Gemini model that produced the response.

Slug
model_used
Filter code
Gemini.analyzeYoutubeVideo.ModelUsed
Type
String
Example
gemini-2.5-flash

Created at When the response was generated.

Slug
created_at
Filter code
Gemini.analyzeYoutubeVideo.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00