AIToday
Large Language ModelsAudio & SpeechAI Coding AssistantsZenn AI/MLPublished: Oct 19, 2026, 10:00 JST

Gemini API + Python automate meeting minutes to JSON

Gemini API + Python automate meeting minutes to JSON

3 Key Points

  1. What happened

    The author detailed a Python script that uploads MP3 audio to Google Cloud Storage (GCS), transcribes it with gemini-pro, then extracts summaries, decisions and ToDo items into meeting_report.json.

  2. Why it matters

    The workflow replaces manual transcription, summarization and minute-writing, and the author says it substantially reduced the time spent producing minutes.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The post frames the problem plainly: meeting audio holds important information, but transcribing, summarizing and drafting minutes by hand consumes significant time and invites missed details or misreadings. The author, who already automates work with AI and RPA, treats that manual effort as the thing to remove.

The pipeline is split into two stages connected by a text file. First, audio is uploaded to Google Cloud Storage and handed to gemini-pro for transcription, with the script polling while the file is processed and saving the transcript to transcript.txt. Second, a second script passes that transcript back to Gemini with a prompt that specifies a JSON shape — summary, decisions, and ToDo entries with assignee and due date — and writes the parsed result to meeting_report.json.

The author is candid about where it can break. Transcription quality shifts with room acoustics, voice and background noise; long recordings may need splitting or a speech-specific service; and output quality depends heavily on prompt wording, which is why the example spells out the JSON format. API rate limits and usage costs are flagged as operational concerns for high-volume use. Beyond minutes, the author suggests the same approach could support sales-call analysis and knowledge sharing.

FAQ
What does the output file contain?
The second script saves results to meeting_report.json, with a summary, a decisions list, and ToDo items each having a task, assignee and due date.
What setup is required before running it?
You need a Google Cloud project, a Gemini API key, and a GCS bucket. The scripts install google-cloud-storage and google-generativeai.
What are the known limitations?
Transcription accuracy varies with noise and speaker voice, and long audio may require file splitting or a dedicated service like Google Cloud Speech-to-Text. Rate limits and costs also need management.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleJim Cramer: CrowdStrike, Palo Alto, Okta can build AI "kill switch"