同一新闻,精选展示《Google 向开发者开放 Genie 4 交互式世界模型》
Genie 4 hits the Gemini API: what a playable world model means for 3D web devs
For years, "generate a 3D world from a prompt" meant producing assets: meshes, textures, maybe a scene file you load into three.js. Google's Genie 4, which reached developers through the Gemini API on November 19, takes a different route. It doesn't hand you geometry at all. It streams a world you can walk through, frame by frame, as a live video that reacts to your keyboard.
That distinction matters a lot if you build interactive 3D for the browser, so let's unpack what actually shipped, what it can and can't do, and where it fits next to a React Three Fiber scene.
WHAT HAPPENED
A day after announcing Genie 4, Google made it available through the Interactions API in the Gemini API and in Google AI Studio. According to the official announcement, you start from a text prompt, a reference image, or both, and the model generates a continuous 720p world at 24fps with synchronized native audio. You steer it with real-time keyboard controls and can send text prompts mid-session to change weather, lighting, objects or events.
Key details from the developer docs:
- Output is fixed at 1280x720, 16:9, 24fps, with 48 kHz stereo audio.
- Movement keys (WASD and arrows) respond in roughly 0.2 to 0.5 s; text prompts take about 1 to 2 s to show up.
- Two transports: WebRTC for browser apps (native video and audio tracks on a video element) and WebSocket for Python, Node.js and custom pipelines (base64 JPEG frames plus PCM audio).
- It requires a paid-tier API key. Google's docs list billing at 240 video output tokens per frame, around $0.10 per second with audio.
- Every output carries SynthID watermarking, per Google.
WHY IT MATTERS
This is a world model, not a renderer. The docs are refreshingly honest about the trade-offs: Genie 4 simulates frames over a rolling temporal window instead of keeping a persistent 3D scene graph. Look away from an object for 8+ seconds or spin 360 degrees and landmarks can shift or reset. Stability may degrade past 60 to 90 seconds, and sessions have a hard cap of 120 seconds. Signs and clocks deform, and object counts drift.
In other words, it's dreaming the world in real time, not simulating it. There's no geometry to raycast against, no physics body to collide with, no camera matrix you control. That's both the magic and the limitation.
WHAT IT MEANS FOR WEB, 3D AND REACT DEVELOPERS
If you ship product configurators, games, digital twins or data viz with three.js or R3F, Genie 4 does not replace your scene. Deterministic state, exact measurements, accessible UI, clickable objects and reproducible renders are exactly what a scene graph gives you and a world model doesn't.
Where it does get interesting:
- Prototyping: sketch the mood, lighting and layout of a space in seconds before modeling anything.
- Concept and pitch work: let a client "walk" a rough idea before you commit to assets.
- Hybrid UIs: a Genie stream on a video element behind or inside your R3F canvas, with your own HTML or 3D overlays on top for interaction.
- Agent and robotics experiments, which Google itself calls out as a target use case.
The browser integration story is also very web-native. Your backend creates the interaction and mints a single-session ephemeral token, so your long-lived API key never reaches the client. The browser connects over WebRTC and pipes the stream into a video element. Here is the shape of that flow, simplified from the docs:
// server: create the session, hand the browser a short-lived token
const interaction = await ai.interactions.create({ model: 'genie-4' });
const { auth_token } = await ai.interactions.authTokens.create(http://interaction.id);
// browser: connect over WebRTC and render into <video>
const session = await clientAi.interactions.connect(id, { transport: 'webrtc' });
session.transport.setVideoElement(videoEl);
// always end it, closing the tab does not stop billing
window.addEventListener('pagehide', () => session.complete());
That last line is the one to tattoo on your hand. The docs warn that closing a tab or exiting a block detaches the transport without immediately stopping server-side generation. Call complete() explicitly, or you keep paying.
PRACTICAL TAKEAWAYS
- Treat Genie 4 output as video, not 3D. Plan overlays and interactions in your own layer.
- Design around the 120-second cap: short, guided experiences beat open-ended exploration.
- Keep keys server-side and use ephemeral tokens for browser sessions.
- Budget carefully: per-second pricing adds up fast for public demos, so gate sessions behind a click and end them aggressively.
- Expect safety filters: prompts or images with real people, public figures or brand IP can be blocked or end a stream mid-session.
- Check latency for your users: Google serves it from the US, Western Europe and Japan, and the docs note higher steering latency elsewhere. That's worth testing from Latin America before you build on it.
World models and scene graphs are starting to look complementary rather than competitive: one is great at plausible, instant atmosphere, the other at exact, controllable interaction. The fun part is figuring out where the seam goes.
So, would you put a generated world stream behind your R3F scene, or does it stay a prototyping toy until it gets persistent state?
Official announcement: https://blog.google/innovation-and-ai/technology/developers-tools/genie-4-in-gemini-api/
来源:React-three-fiber · x.com