# Let's go Bananas with GenMedia — Guillaume Vernade, Google DeepMind <!-- ref: @content/youtube/aie/2026-05-18-lets-go-bananas-with-genmedia version: 3 updated_at: 2026-10-31T19:28:58.983Z --> Guillaume Vernade (AI Engineer, 2026-05-18): Google DeepMind's generative media models — Nano Banana for images, Veo for video, Lyria for music, and the TTS models — are most interesting when composed rather than used individually, with Gemini acting as the prompt author for all of them. *Synthesized from Guillaume Vernade on AI Engineer, 2026-05-18.* Guillaume Vernade is a developer advocate at Google DeepMind — six years at Google, two at DeepMind, and a video game producer before that, including a stint on Stadia — whose job is both to give developers docs, samples, demos, skills, and prompt guides on release day, and to argue internally for API decisions that make sense outside Google. ## Core Thesis Google DeepMind's generative media models — Nano Banana for images, Veo for video, Lyria for music, and the TTS models — are most interesting when composed rather than used individually, with Gemini acting as the prompt author for all of them. Vernade demonstrates this by illustrating a whole public-domain book end to end in one Colab notebook, and the recurring lesson is that nearly all the control lives in the prompt, not in parameters. ## Key Insights - DeepMind's stated direction is a single world model: one model that ingests as many modalities as possible — sound, video, images, sensors — and outputs as many as possible. Separate image, video, and music models exist for release-engineering reasons, because shipping a specialized model is safer than updating one monolith and risking regressions elsewhere. - The pace is the constraint on Vernade's job: across all of DeepMind something ships roughly every five days on average, generative media alone ships more often than monthly, and counting small features it is multiple times a week. His slide was already stale — Gemma 3 became Gemma 4 the week before. - A cautionary history from Gemini 1.0: all Google models were always multimodal internally, but image understanding was pulled from the 1.0 release, and residual "you can see images but don't admit it" training persisted into 1.5, so users feeding it an image would still get told it was just an LLM. It cleared up at 2.0. - **Nano Banana 2** adds new aspect ratios spanning roughly 520 pixels up to 4K, plus both search grounding and *image* grounding — it can search the web for reference images and use them as grounding, which helps notably with architecture and animals. Undocumented internal rules constrain this: buildings, for instance, must be old enough to clear legal restrictions on using their images. - **Veo 3.1 Light** is the cheapest video model at about 5 cents per second, roughly 40 cents for a video, and is positioned as the iterate-on-the-prompt tier before upscaling with the full model. Veo 3.1 is the main model; the other variants run fewer generation passes. Passing an image to Veo makes it the first frame — and Vernade notes that much of a video model's training is effectively image generation, because getting the first frame right is the hardest part. - **Lyria** ships in two forms: a clip model producing 30-second pieces at about 4 cents, and a full-song model producing up to 3 minutes at about 8 cents. Everything is prompt-controlled — there are no parameters at all right now. Duration, BPM, musical scale, structure (intro / verse / chorus / outro), section timings, and lyrics all go in the prompt. He demonstrates a ritardando-style illusion of accelerating tempo purely by asking for it. - **Lyria RealTime** is Vernade's favorite and, he argues, underused. It is a predictive rather than diffusion model: it generates music continuously until stopped and crossfades to a new prompt like a DJ within about two seconds. He frames the obvious application from his game-industry background — music that reacts live to region, HP, whether the player is fighting or cooking. A colleague's demo places prompts as planets in space that you fly between, with amusing collisions where Christmas songs neighbor Viking metal. Sessions cap at 10 minutes. - Lyria with audio and text modalities returns two outputs, and this is one of the few places streaming genuinely pays: use `generate_content_stream` and the **lyrics arrive first, with timings**, while the music is still generating — enough to title the song, generate cover art, or build a karaoke app before the audio lands. - **Three access surfaces, deliberately different.** The consumer Gemini app is easy but gives a developer no control over model, feature, or parameter choice. Vertex AI is the enterprise opposite: control over data center, buckets, and ACLs, at the cost of a painful start. The Gemini Developer API is the middle ground — create an API key and go, with the corresponding risk that a leaked key is usable by anyone. The SDK is shared between Vertex and the Developer API, so there is no wrong place to start. - The Gemini API's `client.files.upload` exists specifically to hide Vertex complexity — no bucket creation, no ACLs — and is what makes "upload the whole book, keep it in context" a one-liner. - **Service tiers, shipped days before the talk**: standard (normal price, normal queue), **flex** (50% discount, requests may be delayed up to minutes), and **priority** (double the price, fast-track latency). Vernade used priority live for speed and explicitly told the audience to delete that line to save money. It did not yet apply to Veo, the most expensive model. - **The Interactions API** (released a few months earlier, still in preview) is stateful: each call returns an interaction ID that recovers server-side context on the next call, so you stop re-uploading the same book on every turn. It also makes forking a conversation easy — generate lyrics once, then branch into cover art on one side and the song on the other — and automatically caches the reused context, making it cheaper. Retention is roughly two days. Vernade's aside on the rename of `contents` to `input`: he would not have done it. - **Character consistency has two implementations, and the better one is not chat mode.** The naive approach relies on chat history so the model remembers earlier character images — but that resends the entire book every turn and anchors outputs to earlier phrasing. The scalable approach adds a `characters` list to the structured output per chapter, then passes only those characters' reference images to a unary `generate_content` call. His stated further improvement: generate multiple reference angles per character — portrait, full body, side, back — and have the model declare which pose the scene needs. - **Gemini writes the best prompts for these models because of how they were trained.** A large share of the generative media training data was captioned by Gemini, so Gemini's prompt phrasing is close to the models' native distribution. Underneath, the media models also silently rewrite short prompts, which is why one-liners produce dull results and longer prompts are both more interesting and more faithful. - Chat mode's memory is a double-edged tool: asking for four distinct chapter songs in one chat yielded four songs sharing a theme, because the model was anchored by the prompts it had already written. - **A multi-character TTS trick with a two-voice model**: ask Gemini to extract a scene as a play script and to assign each character a distinctive *manner* of speaking in parentheses — long poetic pauses for one, breathless and stuttering for another. Assign one voice to the narrator (Sulafat) and one to all characters (Fenrir), and the style directions alone make listeners hear separate characters. Accents work the same way. The gotcha that cost him 15 minutes the night before: the input must begin with an instruction like "read this text," or the model will not treat the text as something to read. - Prompt-level defenses matter: system instructions were needed to stop the image model from producing book covers with titles or multi-panel layouts whenever it knew the subject was a book, and to make it re-describe each character's clothing every time — which doubles as a consistency aid. - Region and content constraints are real. In Europe, images of children can be generated but not edited. Books like Frankenstein hit safety refusals or toned-down output on graphic scenes, which is why he settled on children's books for the demo. And the Europe availability problem he calls his P0: Google Cloud only serves preview models on global endpoints, and because releases came back to back — Gemini 3.1 arriving before Gemini 3 reached GA — the preview counter kept resetting. His honest answer on whether the endpoint rule changes was no; the fix he is pushing for is faster general availability instead. - Practical robustness detail: he wires the `genai` client with automatic retry — five attempts, two-second spacing — because Nano Banana 2 gets overloaded, particularly once the US wakes up. ## Actionable Takeaways 1. Start from the cookbook repo rather than blank code — the notebook driving this entire talk is at `goo.gle/cookbook-illustration`, and running it end to end costs about $1, most of it video generation. 2. For character consistency at scale, don't lean on chat history. Emit structured output per scene that includes the list of characters present, then pass only those reference images into a unary `generate_content` call. 3. Use Gemini to write your image, video, and music prompts. It matches the training distribution of the media models, and longer prompts beat one-liners because the media models rewrite short inputs anyway. 4. Generate video in two passes: ask Gemini for a *separate* video prompt describing what happens in the next few seconds after the still, rather than reusing the image prompt — reusing it is what made the wrong character speak in his first attempt. 5. Iterate on Veo 3.1 Light at ~5 cents/second and only upscale to the full model once the prompt is right. Video generation is the expensive step; do not brute-force it a hundred times. 6. Put every musical parameter in the Lyria prompt — BPM, scale, duration, intro/verse/chorus/outro structure, per-section timings, lyrics. There are no parameters. Use the full-song model for structurally complex pieces; the 30-second clip model takes shortcuts to stay interesting. 7. Stream Lyria output to get lyrics with timestamps ahead of the audio, and use that window for titling, cover art, or karaoke-style sync. 8. Switch to the Interactions API when you're repeatedly resending large context — it returns an interaction ID that restores state server-side, caches automatically, and lets you fork a conversation. Expect roughly two-day retention while it is in preview. 9. Delete `service_tier: priority` from demo code unless you need the latency; use flex for a 50% discount when delay is acceptable. 10. Configure automatic retries (five attempts, two seconds apart) against Nano Banana 2 overload before running anything live. 11. Get multi-voice narration out of a two-voice TTS model by assigning speaking styles per character in parentheses, and always prefix the payload with an explicit "read this text" instruction. ## Notable Quotes > "A normal developer should be able to just swap the model name and it works." — Guillaume Vernade > "Everything is managed in the prompt. You don't have parameters at all at the moment." — Guillaume Vernade > "All of our gen media models are trained with prompts written by Gemini." — Guillaume Vernade > "The most important part of generating a video is generating the first frame, so it knows where to start." — Guillaume Vernade > "The longer your prompt, the more interesting it's going to be and the more likely it will follow what you're asking." — Guillaume Vernade > "At Google we like to create multiple products that are doing the same thing and confuse our users." — Guillaume Vernade --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*