Only Gemini AI can DO THIS!

1littlecoder · Intermediate ·🧠 Large Language Models ·1y ago

Key Takeaways

The video demonstrates the capabilities of Gemini AI in audio transcription, speaker diarization, and video tokenization using Google AI Studio, highlighting its potential as an alternative to Eleven Labs Scribe or Descript. Gemini AI is used for processing video clips, generating JSON output with timestamps and speaker identification, and summarizing segments in real-time.

Full Transcript

the most underrated Gemini feature is something that no other llm or chat bot can do at this particular Point 11 Labs recently launched scribe and everybody was going bonkers because it can do transcription with speaker diarization which means if two people are speaking in an audio it can just separate a speaker one and speaker 2 and this feature is just hidden inside Gemini and some of Gemini marketing team doesn't even talk about it so in this video I'm going to show you how you can use Google AI studio with Gemini and then you can do audio transcription including speaker diarization and then do much more than that to start with I've got my Google AI studio and I've already uploaded the video of Satya nadala appearing on a podcast and this is a 4 minute 57 seconds clip and then as you can see here the first thing that Google AI Studio did is it took this video clip here converted into tokens for llms everything is token okay so it took this video and then it understands the video it understands the audio behind it and then it converted into tokens so this has taken 8 87,000 tokens 616 tokens so this is basically 87,000 616 and the model is 1 million tokens which means we can pump in a lot more video content inside it and all I did is I just went ahead and then said can you give me the transcript of this and I guess you can do it separately for separate speakers thanks and I didn't even mention how many speakers are there and this is the solution until this point I've tested it with only two speakers but it'll be pretty fascinating to see if it can do three speakers as well and also if you are like an EML nerd machine learning nerd you can do this kind of stuff even using cin clustering like if you have studied cin clustering if you have use cman clustering for customer segmentation or different kind of task you can do speaker diarization using cman clustering I think I might have a video where we did it for whisper but for now the llm can do this completely for us upload the video just say this thing and then the llm has done the transcript for me and then it says of course here is a transcript for the video organized by speaker and then you can see Satya speaking and then there is host then SAA then there is host and then do everything one important thing with these llms is that you have to always make sure that they're not hallucinating because I've had this experience where I've given this to like different LMS and then sometimes the time stamp is completely rubbish just gives you a time stamp but it is not sure so what I did is I wanted to check this out so I've got the podcast here it's 4 minute 57 seconds and I'm going to go here and then just take one clip where Satya appears so at 2:30 Satya is there like m so I think s companies can okay so I'm going to go go to 230 here so 230 here just before 230 we'll stop so therefore that's the contract um so I think yes companies can you know so as you can see here um I think yes companies you know have so that that Gap where he paused and then Satya again started speaking is even classified or categorized as like two different instances with um with the SR with the subtitle here or the time stamp here and this is extremely helpful if you're trying to do like the Tik Tok Style dancing captions or you know the zooming in captions this is extremely valuable for those kind of cases as well so I'm going to go back here and then find another time stamp where instead of Satya the host is talking so I'm going to go and then say Okay 439 the host is asking if you did leave Microsoft what company would you start that's a that's a very interesting question 439 is it is it 439 let's see yourself if you did leave Microsoft what company would you start okay that that is there and then the answer is company I would start man uh like uh I don't know what does he say company I would start man like that's where the company man and my it's amazing company I would start man that's like where the company on okay great so this you you saw how it was done right um but I want to do it live so that you can see how much time it takes and how the exact process is open your Google eii studio if you have never Google used Google eii studio I've got a separate video where I just cover most of the things this is not a use case that I covered in that video and some of you had given me feedback that I should go deeper more um Advanced so here is one Advanced use case so click create a new prompt and after you click create a new prompt you can select any model that you want but I would go ahead with flash 2.0 cuz flash 2.0 is one of the fastest model available but also it's really really good and if you want to translate this into code as well like a actually working code then flash 2.0 would be cost effective for you so keep flash 2.0 so you've got 1 million token totally and all you have to do is go here just drag the podcast whatever the clip here is and then paste it here and then that's it so now all you have to do is you have to just go say um and as you can see here after you upload the video clip and in this case it's not even audio you can do this with audio clip alone you can do it with audio plus video clip you can just do it with video clip but without audio but take it as frames so you can do a lot of different things so here in this case the 3 minute 18sec clip it has 58,000 tokens where wherein like the previous one had uh 7 87,000 tokens for a 4 minute 57 second clip so you can understand how many tokens you can just like pump in inside the existing context window you can do the same thing with 2 million token model as well I'm just giving you a demo of how it can do faster with Gemini 2.0 flash okay so now all I'm going to do is can you create a spe uh audio an audio transcript and um um you can also do it I'm not even saying that speaker diation right you can also do it by Speaker by Speaker can you give me a okay me a Json output let's see if it can give us a Json output that would be pretty fascinating something that I've not experimented before just running it for the first time so you could expect that something could go wrong so now you can understand how much time it took to process a video clip but also you can see how much time it is taking okay because I asked for Json then it is not giving me the time stamp okay so I'm going to go ahead and then say um oh sorry um the time stamp is missing bro I hope Google doesn't mind me calling it bro um but yeah if it Minds you can see that it has taken 8 seconds um it did apologize and we have um multiple time stamps so we have got 0 0 where the host is asking a question 010 where Mark is answering and 125 is where the host is answering asking something again so I'm going to go back again then see first of all 0 0 Let's see like big picture these next couple of decades sure what's happening with AI um and where is Mark answering Mark is answering at 10 okay so we're going to go to 10 9 the course has his I think it's going to be pretty fundamental I think it's he said I think it's going to be pretty fundamental very nice and we going to see 124 somewhere like 123 and then see if he ends with this statement which is I think I think it's going to be I I I does he really say I three times let's go and see so I'm going to go here 124 I think it's going to be it's it's going to really enable people to do the things that they want a lot more is just my view but it will really change the way that we work and give people all these creative tools to do different things that they yeah I I think I think it's going to be okay so did look like he actually said I I I I like that so maybe um we can trust J in this case and 12 125 one second the host is speaking they want a lot more is my view is it your view that like on a great so the experiment the live demo actually worked and like I said you can do a lot more other things for example now we forced it to give us a Json that means you can pass through this you can probably take only host one you can take only the other speaker and in fact like you will be pretty fascinating to know that it figured out that this is Mark Zuckerberg I didn't say it probably the vision language model understand this is Mark Zuckerberg and the same thing like even um you can see okay maybe I said Satya I don't know if that is a clue here but it managed to figure out that this is saaad and here in this case this is Mark zabur which I've not explicitly given unless until it figured it out from the file name so you can do this stuff you can probably take this and then summarize it um for example I can just go here and then say um can you take one what SN said and summarize it as a tweet so the potential is immense because you're not dealing with to only an audio uh let's say audio to text model speech to text model rather you're dealing with a multimodel large language model which can do multiple other things so for example here in this particular case we can take what seya said and then summarize it as a simple tweet and all these things without you having to pay any Penny I mean like I know now somebody would say that the data that I'm using is what Google is going to use but if I'm going to get jav 2.0 Flash and a bunch of other models for free where I don't have to pay for 11 La subscribe or descript or bunch of other tools which podcasters exclusively use just to do this particular bit that I'm telling you then you know you don't need an editor you don't need a podcasting tool all you need is Google eii studio and a very good model like Gemini 2.0 flash I don't know why Google is not talking about it a lot but here you go Google thank you so much or I should say Google you're welcome see you in another video Happy prompting

Original Description

This video shows how you can do audio transcrition along with speaker Diarization using Gemini on Google AI Studio. This video makes a strong argument on how you don't need Eleven Labs Scribe or Descript just to convert video to audio! ❤️ If you want to support the channel ❤️ Support here: Patreon - https://www.patreon.com/1littlecoder/ Ko-Fi - https://ko-fi.com/1littlecoder 🧭 Follow me on 🧭 Twitter - https://twitter.com/1littlecoder
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from 1littlecoder · 1littlecoder · 0 of 60

← Previous Next →
1 How to create your Free Data Science Blog on Github with Fastpages from Fastai
How to create your Free Data Science Blog on Github with Fastpages from Fastai
1littlecoder
2 Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
Making Interactive Matplotlib Plots for Data Science Visualizations on Jupyter (Python)
1littlecoder
3 Create your first Data Science Web App using R Shiny
Create your first Data Science Web App using R Shiny
1littlecoder
4 How to create a Reproducible Example in R using reprex
How to create a Reproducible Example in R using reprex
1littlecoder
5 No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
No Code Visualization using esquisse with Tableau-like Drag and Drop GUI in R
1littlecoder
6 Scrape HTML Table using rvest and Process them for insights using tidyverse in R
Scrape HTML Table using rvest and Process them for insights using tidyverse in R
1littlecoder
7 Google Teachable Machine Learning Build No Code AI solution
Google Teachable Machine Learning Build No Code AI solution
1littlecoder
8 Create meaningful fake tidy datasets in R using fakir [#rstats Package]
Create meaningful fake tidy datasets in R using fakir [#rstats Package]
1littlecoder
9 How to enable using R Programming with Visual Studio VS Code
How to enable using R Programming with Visual Studio VS Code
1littlecoder
10 Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
Python, Community, Books - with Abhiram R - Bangpypers Co-organizers | 1littlecoder podcast
1littlecoder
11 Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
Growing a Tech Community across India - Anubha Maneshwar, Founder Girlscript | 1littlecoder Podcast
1littlecoder
12 Intro to Google Colab - How to use Colab
Intro to Google Colab - How to use Colab
1littlecoder
13 Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
Intro to Plotly Express - Complex Interactive Charts with One-Line of Python Code
1littlecoder
14 Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
Indic NLP Python Toolkit Open Source Development - iNLTK Creator Gaurav Arora | 1littlecoder Podcast
1littlecoder
15 Do you want a career in Data Science - Tamil Webinar
Do you want a career in Data Science - Tamil Webinar
1littlecoder
16 Android Smartphone Analysis in R [Live Coding Screencast]
Android Smartphone Analysis in R [Live Coding Screencast]
1littlecoder
17 Programmatically create Images, Memes, Watermarks using Python with imgmaker
Programmatically create Images, Memes, Watermarks using Python with imgmaker
1littlecoder
18 Kaggle Walkthrough to get you started with Data Science - Webinar
Kaggle Walkthrough to get you started with Data Science - Webinar
1littlecoder
19 Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
Community, Corporate Job, Coding - Gnana Lakshmi T C aka Gyan, WomenWhoCode Leadership Fellow
1littlecoder
20 Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
Easy ggplot2 Theme Customization with {ggeasy} | Data Visualization in R
1littlecoder
21 Excel to R - Pivot + Bar Chart in Excel  & R using tidyverse [Live Coding]
Excel to R - Pivot + Bar Chart in Excel & R using tidyverse [Live Coding]
1littlecoder
22 Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
Excel to R #2 - VLOOKUP in Excel to LEFT_JOIN, MERGE in R
1littlecoder
23 5 websites to get Free Real-World Datasets for Data Science/ML Projects
5 websites to get Free Real-World Datasets for Data Science/ML Projects
1littlecoder
24 Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
Excel to R #3 - APPROXIMATE VLOOKUP in Excel to FUZZY LEFT_JOIN in R
1littlecoder
25 Correlation-alternative PPS (Predictive Power Score) Python Package Demo
Correlation-alternative PPS (Predictive Power Score) Python Package Demo
1littlecoder
26 Automated Website Screenshots in R using {webshot}
Automated Website Screenshots in R using {webshot}
1littlecoder
27 Installing Custom RStudio Theme (Synthwave85)
Installing Custom RStudio Theme (Synthwave85)
1littlecoder
28 Analyse Google Trends Search Data in R using {gtrendsR}
Analyse Google Trends Search Data in R using {gtrendsR}
1littlecoder
29 3 Tips to ask question on Stack Overflow the right way to get answers
3 Tips to ask question on Stack Overflow the right way to get answers
1littlecoder
30 Learn Data Science with R - Mini Projects - Web Scraping Zomato
Learn Data Science with R - Mini Projects - Web Scraping Zomato
1littlecoder
31 Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
Easily make Dumbbell Chart using {ggcharts} | Data Visualization in R
1littlecoder
32 GET Hackernews Front Page Results using REST API in R
GET Hackernews Front Page Results using REST API in R
1littlecoder
33 Quickly deploy ML WebApps from Google Colab using ngrok
Quickly deploy ML WebApps from Google Colab using ngrok
1littlecoder
34 Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
Use Jupyter Notebooks within VSCode (Visual Studio Code) in 2020
1littlecoder
35 Plotly Interactive Plots as Pandas Plotting Backend df.plot()
Plotly Interactive Plots as Pandas Plotting Backend df.plot()
1littlecoder
36 Stack Overflow Developer Survey 2020 Highlights for New Programmers
Stack Overflow Developer Survey 2020 Highlights for New Programmers
1littlecoder
37 Matplotlib Animation Charts in Python using Celluloid
Matplotlib Animation Charts in Python using Celluloid
1littlecoder
38 Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
Coding, Postwoman, Passion Project Book - Liyas Thomas Open Source Developer - 1littlecoder podcast
1littlecoder
39 Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
Aspiring Data Scientist, Tips on How to learn Business Domain Knowledge
1littlecoder
40 Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
Bokeh Interactive Charts as Pandas Plotting Backend df.plot_bokeh()
1littlecoder
41 Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
Easy Fast Python Pandas Summary with Sidetable | Pandas Tips & Tricks
1littlecoder
42 Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
Inception, Content Ideas, Consistency - Srivatsan Srinivasan AIEngineering YouTube Content Creator
1littlecoder
43 ggplot2 Text Customization with ggtext | Data Visualization in R
ggplot2 Text Customization with ggtext | Data Visualization in R
1littlecoder
44 Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
Penguins Dataset Overview - iris alternative | EDA Data Visualization in R
1littlecoder
45 YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
YouTube Growth Tips, Content Creation - Bhavesh Bhatt, YouTuber (Data Science & Machine Learning) #7
1littlecoder
46 Matplotlib Animated Bar Chart Race in Python | Data Visualization
Matplotlib Animated Bar Chart Race in Python | Data Visualization
1littlecoder
47 Simple Python GUI Development using {guietta}
Simple Python GUI Development using {guietta}
1littlecoder
48 #8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
#8 Niche, Growth, Monetization - David Langer - YouTuber Dave on Data
1littlecoder
49 Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
Simple Fast 3-step Python OCR using Deep Learning 40+ Languages
1littlecoder
50 Github New Feature Profile Summary/Mini-Resume - Profile Views
Github New Feature Profile Summary/Mini-Resume - Profile Views
1littlecoder
51 Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
Otto ML Assistant, GPT-3 on Philosophers, Nvidia-ARM - 3 ML Tech News
1littlecoder
52 What is OpenAI GPT-3 - Hype, Examples, Worries
What is OpenAI GPT-3 - Hype, Examples, Worries
1littlecoder
53 Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
Julia 1.5, Datamuse API, Live HDR+ Pixel 4a - Machine Learning Tech News
1littlecoder
54 Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
Self-driving Car Engineer sentenced, arXiv Dataset, AI/ML Startup Idea - Machine Learning Tech News
1littlecoder
55 GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
GPT-3 Explorer, Ciphey (Automated Decryption), Py-Sudoku - ML Tech News
1littlecoder
56 How to use Advanced Google Search to extract Email Ids from Linkedin
How to use Advanced Google Search to extract Email Ids from Linkedin
1littlecoder
57 Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
Cartoonizer Toon-IT (AI Web App), GPT-3 Advice, Android Earthquake Detection - ML Tech News
1littlecoder
58 Flow - R Package to visualize code logic, functions as a Flow Diagram
Flow - R Package to visualize code logic, functions as a Flow Diagram
1littlecoder
59 Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
Build GPT-3-like Language Model on Google Colab with minGPT [PyTorch]
1littlecoder
60 Create a Pencil Sketch Portrait with Python OpenCV
Create a Pencil Sketch Portrait with Python OpenCV
1littlecoder

The video showcases Gemini AI's capabilities in audio transcription, speaker diarization, and video tokenization, and demonstrates how to use it for processing video clips and generating JSON output with timestamps and speaker identification. The model can also be used for text summarization and speech-to-text tasks. By following the steps outlined in the video, viewers can learn how to leverage Gemini AI for their own projects.

Key Takeaways
  1. Create a new prompt in Google AI Studio
  2. Select Flash 2.0 as the model
  3. Upload a video clip or audio file
  4. Generate JSON output with timestamps and speaker identification
  5. Use Gemini AI for text summarization and speech-to-text tasks
💡 Gemini AI can be used as a cost-effective and efficient alternative to other transcription and diarization tools, and its multimodal capabilities make it a powerful tool for a wide range of applications.

Related Reads

📰
Top AI Papers on Hugging Face - 2026-07-15
Explore the top AI papers on Hugging Face, focusing on agent longevity, robotics, and efficient model training methods
Dev.to AI
📰
Integrating Open-Weight LLMs as Drop-In API Replacements: A Practical Guide
Learn to integrate open-weight LLMs as drop-in API replacements for a vendor-locked-in free solution
Dev.to AI
📰
Build a Bounded JSON Repair Loop for LLM Output in Python
Learn to build a bounded JSON repair loop for LLM output in Python to separate syntax, shape, and semantic errors
Dev.to · Alex Chen
📰
How I Built a Multi-Page AI Website Generator for Nigerian SMBs — Architecture, LLM Prompting, and Lessons Learned
Learn how to build a multi-page AI website generator for small businesses using LLM prompting and key architectural decisions
Dev.to · Innocent Oyebode
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →