Darkgrade runs a Sony, Canon or Nikon camera from a computer, so you can shoot tethered from a Mac, have Claude direct a shoot, script a timelapse or build your own camera app. The ideas below are grouped by product, and each links to the page that gets you started.
| You are | Jump to |
|---|---|
| A creative who wants to shoot, not configure | Shoot with Studio |
| An AI director who wants Claude to run the camera | Direct with Claude |
| A hacker with scripts and automations | Automate with the CLI |
| A developer building an app or a rig | Build with Slate |
Shoot with Studio
For creatives. Studio is the Mac app: plug in your camera and everything is on one screen. No code.
Put the camera on a tripod, step in front of it and say “focus”, “start recording”, “cut”. The take is on the card when you're done.
“A bit brighter.” “Warmer.” “Undo that.” Studio chooses which setting to move, so you don't have to.
Watch live view with a histogram, waveform or vectorscope, zebras and focus peaking, and click the picture to focus.
Browse the photos and clips on the card, preview one, and download a file or all of them without taking the card out.
Studio is in alpha and the download is not public yet. Ask for a build on Discord.
Direct with Claude
For AI directors. Over MCP (the Model Context Protocol, the way AI apps use tools), Claude gets a tool for every camera operation. You describe the shot; Claude works the camera. Serve the tools from Studio, from one CLI command (darkgrade mcp), or from your own server written with Slate.
“Switch to manual, 1/250, f/2.8, ISO 400, then focus on the middle and take a photo.” Claude sets each one and tells you the value the camera now reports.
“Take five photos, moving the focus a small step nearer each time.” Claude alternates the focus and the shutter for you.
“What does the camera see? Is it too dark?” Claude reads the live picture, then decides what to change.
“Show me the last five photos. Which are sharp?” Claude lists the files, looks at their previews and names the best.
Start with the MCP quickstart. The tool reference lists every tool Claude can call.
Automate with the CLI
For hackers. Every camera operation is one darkgrade command that opens the camera, does its job and exits, so it fits anywhere a command does.
One scheduled command takes a frame a minute and copies it to your computer.
A doorbell, a motion sensor or a button that can run a command can take a photo or record a clip.
A short script puts the camera in a known state: mode, shutter, aperture, ISO, white balance.
Read the battery and the card's free space as JSON, and stop a long shoot before it runs out of either.
A frame for a timelapse, and a ten-second clip:
npx darkgrade camera take-photo --destination computer \
--no-autofocus --output "frame-$(date +%H%M).jpg" --quiet
npx darkgrade camera start-recording --duration 10sStart with the CLI quickstart. Scripts and automations has these recipes in full, with card backups and failure handling.
Build with Slate
For developers. Slate is the TypeScript library Studio, MCP and the CLI are built on. Your code gets every control, the photo's bytes and the camera's events.
Shoot from your own app, get each photo's bytes the moment it's taken, and set exposure from your UI.
Open every attached camera and run them side by side, for photogrammetry, product turntables or multi-angle video.
Read frames as JPEGs, with the camera's focus frames, for a monitor, a focus aid or a vision model watching the scene.
Serve the same MCP tools from your own process, on a headless machine or beside your app.
Tethered shooting takes a few lines:
import { Camera } from '@darkgrade/slate'
const camera = new Camera()
await camera.connect()
try {
await camera.setShutterSpeed('1/250')
const photo = await camera.takePhoto({ destination: 'computer' })
console.log(photo.name, photo.data.byteLength)
} finally {
await camera.disconnect()
}Start with the Slate quickstart. The guides go further: react to the camera's events, record one take on several cameras and share one camera between programs. Writing Slate code with a coding agent? Build with an AI coding agent gives it these docs.
Before you start
97 Sony, Canon and Nikon cameras. Find yours.
How a request gets from you to the camera, in plain words.
Stuck on the way? Get help.