Workspace & Agents

AI Media, Brainstorm & Game Tools

Generate images and videos straight into your project, run blind multi-model brainstorms with ChatGPT and Gemini, and audit web game motion and assets.

LightCode equips every connected coding agent—whether Claude, Codex, Gemini, Antigravity, or OpenCode—with shared workspace tools for visual assets, multi-model second opinions, and web-game debugging.

Generating & editing images directly in your project#

Instead of switching to separate web tabs, downloading assets, and renaming files by hand, ask any agent in chat to generate or restyle images directly into your repository (for example, "Create a minimalist hero illustration and save it to public/images/hero.png"):

  • Uses your signed-in web accounts first: When you connect a ChatGPT (web) or Gemini (web) account under Add account, LightCode automatically prefers those accounts for image generation—no paid API key required.
  • API key fallback: If no web account is signed in, LightCode falls back to your configured Google Gemini or OpenAI image API key.
  • Reference-based editing: Pass up to 6 existing project images as references so an agent can restyle, extend, or create consistent variations matching your brand or UI.
  • Flexible output options: Agents can choose aspect ratios (1:1, 16:9, 9:16, 4:3, 3:2, 21:9), output tiers (1K, 2K, 4K), and exact relative paths inside your project folder.

Generating short videos with Google Veo#

When a Google Gemini API key is configured, agents can generate short MP4 clips directly into your project folder (for example, public/videos/demo.mp4):

  • Text-to-video and image-to-video: Describe the scene, camera movement, and style—or pass a starting frame from your project folder to animate an existing mockup or illustration.
  • Configurable format: Supports 16:9 and 9:16 aspect ratios, 720p or 1080p resolution, clip duration (4, 6, or 8 seconds depending on the model), and negative prompts.
  • Asynchronous waiting: LightCode handles rendering status on Google's servers and downloads the finished MP4 automatically when ready.

Blind multi-model brainstorm (ChatGPT + Gemini)#

For high-stakes architecture decisions, naming, product tradeoffs, or plan reviews where a single model's bias can miss blind spots, ask your agent to run a multi-model brainstorm:

  • Parallel & blind by default: LightCode sends the exact same prompt and selected project files (with secrets automatically redacted) to your signed-in ChatGPT (web) and Gemini (web) accounts in parallel—neither model sees the other's answer.
  • Optional critique round: Request a two-round brainstorm so each model reviews an anonymized copy of the other model's response and revises its recommendation.
  • Actionable synthesis: Your active coding agent compares where models agree, highlights genuine disagreements, and recommends a clear decision.
  • Single-model second opinions: You can also ask your agent to consult ChatGPT or Gemini individually (including attaching up to 4 UI screenshots for visual review) without leaving your coding thread.

Privacy note: Brainstorm and web-ask requests only send the prompt, explicitly selected text files, and attached screenshots—never your full repository or secret tokens.

Web game & animation helpers#

Building interactive web experiences, canvas animations, or 3D web games? LightCode includes two dedicated built-in inspection tools:

  • Motion frame capture (browser_frames): Captures a sequence of 2–12 consecutive screenshots inside the Browser panel so agents can actually see animations, physics, camera movement, and transitions. In Auto mode, agents can step your simulation deterministically between frames and read live numeric probes (such as player coordinates or FPS) alongside each image.
  • Game asset budget audit (asset_check): Scans your project without opening a browser to inspect .glb/.gltf 3D models (triangle counts, meshes, materials, textures, animations, Draco/Meshopt/KTX2 compression), images (dimensions, power-of-two sizing, estimated GPU memory), and audio files (duration, sample rate, channels, format)—reporting concrete optimization warnings when assets exceed web-game budgets.