
Shoot more.
Edit less.
Settings, focus, photos, video and the files on the card, all from your desk.
Darkgrade is software that runs Sony, Canon and Nikon cameras from a computer: settings, focus, photos, live view, video and the files on the card. It works with 97 Sony, Canon and Nikon cameras and comes as four products: Studio, a Mac app; MCP, camera tools for Claude and other AI apps; the CLI, the darkgrade command; and Slate, a TypeScript library. Every setting has the same name and values on every brand.
Which one are you?
You want one Mac app that does it all. Plug in your camera, see its live view, change any setting on one screen, and say what you want out loud.
You want Claude, Cursor or another AI app to direct the shoot. Ask in your own words, and it sets the camera, focuses and shoots. Studio serves the camera tools with no code, one CLI command serves them without Studio, or you write your own server with Slate.
You want your camera in shell scripts, cron jobs and home automations. Every operation is one darkgrade command, with JSON output when you ask for it.
You want every control in your own code. Slate is the TypeScript library that Studio, MCP and the CLI are built on. It isn't on npm yet: you build it from source, which takes a few minutes.
Not sure? Start with Studio. It needs no code, and it can hand the camera to Claude too.
Get Studio (alpha: ask on Discord)Apple silicon MacStudio is in alpha and the download is not public yet. Ask for a build on Discord.
What you need
| Product | Runs on | Connects over |
|---|---|---|
| Studio | A Mac with Apple silicon | USB |
| MCP | A Mac running Studio, or macOS or Linux with Node.js 22.18 or later for the CLI command or your own server | USB |
| CLI | macOS or Linux with Node.js 22.18 or later | USB |
| Slate | macOS or Linux with Node.js 22.18 or later | USB and Wi-Fi |
The CLI and Slate have not been tested on Windows. Darkgrade is in alpha: names and behaviour can change between releases.
One photo, four ways
Set ISO to 800 and take a photo:
Click the microphone under the picture and say:
“Set ISO to 800.”
“Take a photo.”
Or choose ISO 800 in the sidebar,
then click Take photo.Ask Claude: “Set ISO to 800 and take a photo.”
→ camera_set_iso {"value": "ISO 800"}
→ camera_take_photo {}npx darkgrade camera set-iso 'ISO 800'
npx darkgrade camera take-photoimport { Camera } from '@darkgrade/slate'
const camera = new Camera()
await camera.connect()
try {
await camera.setIso('ISO 800')
const photo = await camera.takePhoto()
console.log(photo.name)
} finally {
await camera.disconnect()
}Pick your product's tab once, and every example in these docs opens on it.
All four run the same two operations, under the same names. Studio, MCP and the CLI are built on Slate, so what you learn in one works in the others. How it works follows a request from you to the camera.
What Darkgrade controls
Every operation below is documented once, with a tab for each product.
- Connection: find cameras, connect, and read what a camera can do right now.
- Exposure: exposure mode, shutter speed, aperture, ISO, compensation, metering.
- Focus: autofocus, focus on a point, manual focus steps, subject detection.
- Zoom and stabilisation: power zoom, digital zoom, image stabilisation.
- Photos: take a photo to the card or the computer; drive mode, format, size.
- Live view: read the camera's live picture, with its focus frames.
- Video: start and stop recording; format, quality, frame rate, audio.
- Colour and look: white balance, colour temperature, looks, picture profiles.
- Card and files: card space; list, preview and download photos and clips.
- Battery and clock: battery level and the camera's clock.
What a camera offers depends on its brand, model and mode. Camera compatibility lists all 97 cameras and what each brand supports. Every product connects over USB; Slate can also connect over Wi-Fi.
Next
New to a word? The glossary explains every term these docs use.