Google Flow API examples (useapi.net)
English · 中文 · 日本語 · Português · Tiếng Việt · Bahasa Indonesia · ไทย
Runnable Node.js and Python examples for the Google Flow API by useapi.net. Generate Veo 3.1 Lite video, Omni 1.2 Flash audio-native video, and Nano Banana Pro, 2.1 and 2 Lite images through a REST API that runs on your Google AI subscription for Google Flow: Free, Plus $4.99, Pro $19.99, Ultra $99.99 or Ultra $199.99 a month (as of November 2026). No Google Cloud project, no Gemini API key, no per-call metering.
Each example ships JavaScript and Python implementations (.mjs and .py) driven by a prompts.json (or, for omni-extend/, a story.json) you edit. Most are batch runners: they submit every prompt in the file and download every result, so you can queue a batch and come back to the winners. ugc-product-video/ is a pipeline instead — it chains six endpoints into one finished video, checkpointing as it goes.
| Example | What it does | Tutorial | Tutorial date |
|---|
demo/ | Live agent chat app: a browser chat with Google Flow's creative agent through the API, with answers streamed live, the agent's images and videos inline (full-size view, download, reuse), uploads, characters and voices attached along the way, spending approvals, a Library and the agent's settings. Open the live demo or open demo/index.html locally. Vanilla JS, no build | Agent overview, Chat with Google Flow Agent | October 16, 2026 |
veo-video/ | Batch-generate Veo 3.1 Lite video — text-to-video, first/last-frame image-to-video | Generate Veo 3.1 video via curl · 中文 | June 15, 2026 (October 20, 2026) |
images/ | Batch-generate images with Nano Banana 2 Lite (default), Nano Banana 2.1, Nano Banana Pro | Generate images via curl | June 15, 2026 (October 20, 2026) |
nano-banana-compare/ | Run one prompt through all three Nano Banana models (2 Lite, 2.1, Pro) and compare | Nano Banana 2 Lite vs 2.1 vs Pro compared | July 2, 2026 (October 20, 2026) |
omni-flash/ | Batch-generate Omni 1.2 Flash audio-native video — text-to-video, first/last-frame image-to-video, reference-to-video, video-to-video edit | Generate Omni 1.1 Flash video via curl | June 15, 2026 (November 6, 2026) |
omni-extend/ | Make one long Omni 1.2 Flash video: a first clip of 3 to 15 seconds, then extensions of up to 10 seconds each with their own voices, images or characters (the release post's 30-second scene is the default story) | Extend a video with Omni 1.2 | June 15, 2026 (November 6, 2026) |
ugc-product-video/ | Build a whole UGC product video — product sheets, a presenter, one still, an Omni 1.2 Flash clip per product, upscaled and joined | Make a UGC product video | September 4, 2026 (October 20, 2026) |