Urgent.News

What's breaking now, across thousands of outlets.

AI

[AI in Action] Gemini Agentic Video: 4 Hidden Prerequisites and My LINE Bot Integration Process

Background I have a LINE Bot that I use every day, linebot-helper-python . If you send it a URL, it returns a summary and social media copy for four platforms; if you send a YouTube link, it returns a video summary. It also handles bookmarks, location queries, voice assistants, and more. It runs on Cloud Run and uses Vertex AI. In late August, Google published a post Introducing agentic video in…

In late August, Google introduced agentic video in Gemini, a feature that allows users to ask questions about videos instead of just receiving summaries. However, there are four hidden prerequisites that must be met for agentic video to work on Vertex AI:

1. api_version must be set to v1beta1. If left at the default v1, agentic mode will be disabled.

2. media_processing must be set to AGENTIC. If not specified, the system defaults to STATIC mode.

3. The model used must be one of the supported options: gemini-3.7-flash, gemini-3.6-flash, or gemini-3.5-flash-lite. Using an unsupported model will silently revert to STATIC mode.

4. The thinking_level parameter must be set. This is the most critical prerequisite, as failing to set it correctly will result in the API returning a 200 response, but the agentic mode will not be activated, leading to unexpected costs.

In addition to these four technical prerequisites, there are also two environmental prerequisites to consider:

1. The SDK version must be 2.20.0 or higher, as the media_processing field was added in this version.

2. The documentation examples provided by Google are written for the Gemini Developer API, not Vertex AI. The behavior on Vertex AI is different, requiring a stateless re-query approach instead of the multi-turn conversation mechanism used in the Developer API.

These hidden prerequisites can be easily overlooked, leading to unexpected costs and performance issues. The author of the article created four tests to ensure each prerequisite was met, as failing to meet any of these requirements would result in the program running correctly, but with incorrect costs and performance.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

[AI in Practice] Gemini 3.8 Flash TTS Launch: I built a "Learn Japanese with MVs" Web App and burned through my daily quota.

Recap Every time I see a new Gemini feature, my first thought is "Can I connect it to my LINE Bot?" The Gemini API release notes from 9/22 stated that Gemini 3.8 Flash TTS and Gemini 3.8 Flash-Lite…

  • Gemini 3.8 Flash TTS and Flash-Lite TTS models officially launched on September 22
  • Developed web app using MVs to teach Japanese with pronunciation guidance
  • Utilized Gemini 3.8 Flash TTS for natural-sounding voices and voice replication

Behind EcoPrompt: How I modeled the hidden physical cost of AI prompts (Zero Telemetry)

GenAI web interfaces (ChatGPT, Gemini, Claude) are pristine, minimal, and fast. But behind every single prompt lies a massive array of GPU clusters consuming real electricity, requiring evaporative…

  • EcoPrompt tracks physical costs of AI prompts, including water, energy, and carbon emissions.
  • Extension uses peer-reviewed research and industry data to calculate environmental impact.
  • EcoPrompt ensures user privacy with zero telemetry, client-side processing, and local storage.

More from Saturday 26 September →