Video in the conversation

When you ask chat for a video, the answer is not a link. A card takes over that part of the transcript: it waits with you, then plays the clip where the reply would have been. This page mounts that card and lets you drive it through all three of its states.

Drive the card

Press Run it and the page records a few seconds of animation in your own browser, then hands that clip to the player. A real render is owner-only and costs money, so the clip is a stand-in. Everything around it — the waiting card, the reader that decides which state to show, the player, the Edit and Variation buttons — is the code chat runs.

How this works

  1. 01 You ask, the model picks up the tool Ask chat for a clip and the model calls generate_video with your prompt, the aspect and the length. Nothing has been sent anywhere yet.
  2. 02 You approve the spend Every render bills a provider, so the tool always stops and asks. Approve and Deny appear in the conversation. Approving re-sends the turn, and that is the moment the render actually starts.
  3. 03 The job goes to a provider The default path uses a key the site already holds and reaches 23 video models, with google/veo-3.1-lite as the default. The provider accepts the job and returns an id.
  4. 04 The worker polls, with a ceiling It checks that id until the render reaches a final state. Both the number of checks and the time each one may take are capped, so nothing hangs forever.
  5. 05 Chat shows the wait honestly While polling, you see the waiting card: an elapsed clock, your prompt, and a hint that it usually takes about ninety seconds. No percentage is shown unless the provider actually reports one.
  6. 06 The finished file is copied and served Provider links expire, so the worker downloads the mp4 and keeps its own copy under an unguessable name, then returns a link to that copy.
  7. 07 The player appears in the transcript The conversation spots the finished tool result and draws the player: scrub, mute, fullscreen, download. Edit and Variation write your next chat message for you. The clip renders once, even though the model is also told to write a link to it.
  8. 08 A long render says so If the render outruns the wait budget, the card says it is still rendering at the provider rather than reporting a success that has not happened.

What this page does not do

It does not call a video provider and it does not spend anything. It does not sign you in, and it does not need a workspace. Generating a real clip in chat is limited to the workspace owner, and it still asks for approval every single time.

Open chat