CLI — Create AI images from your terminal | Visual Sandbox
Claude Code
$
get started — install the vsb cli
curl -fsSL visualsandbox.com/install.sh | sh && vsb setup

Or paste the prompt into Claude Code — it installs the CLI, signs you in, and runs your first render.

Bring Claude, Cursor or Codex. Copy a setup prompt and it connects itself.

vsb CLI

Visual Sandbox from your terminal

One binary. Every model. Any shell, any script.

60 modelsNo API keyPay per run

It already knows how to prompt them

Every model ships with a prompting guide. Your agent reads it before it writes.

How to set up

curl -fsSL visualsandbox.com/install.sh | sh && vsb setup
vsb run image/nano-banana --prompt "a banana"
Paste this into Claude Code
Set me up with Visual Sandbox (visualsandbox.com) so you can generate images and videos from this terminal.

1. Check the CLI: run "vsb --version".
2. If it is missing, install it: curl -fsSL visualsandbox.com/install.sh | sh
3. Run "vsb setup". If it reports "pending_approval" with an approve_url, show me the link, wait for me to say I approved it, then run "vsb setup" again — it resumes the same sign-in and finishes by itself.
4. Confirm with "vsb balance", then read "vsb --help".
5. Do not generate anything yet. Every run costs credit, so ask me what to make, price it with estimate_cost, and wait for my yes. Results land on my canvas at visualsandbox.com/sandbox.

Frequently asked

There is no subscription. You pay for each run — the provider cost plus a small platform markup — from a balance you top up.