Skip to main content
FunctionalityPhotos: take a photo from your computer

Take a photo on a Sony, Canon or Nikon camera from your computer and get its file name back once the camera has saved it. This is tethered shooting: the computer fires the shutter and can receive the file. The settings below decide what the file is.

Your camera takes only the values it offers right now and refuses the rest: what the camera can do lists them. Every change answers with the value the camera reports afterwards, so you know it took.

WhatDoes
Take a photoTake one photo and get its file name.
Drive modeSingle, burst, self-timer or bracket.
Shutter typeMechanical, electronic or first curtain.
FlashWhether and how the flash fires.
Photo formatRAW, JPEG, HEIF, or RAW with a JPEG.
Photo sizeThe pixel size of JPEG and HEIF photos.
Aspect ratioThe shape of the photo.
JPEG qualityHow much a JPEG is compressed.
RAW compressionHow RAW files are compressed.

Each example has a tab per product. Pick yours once and every example follows. In Studio, the microphone that starts voice is under the picture. MCP tabs show the tool Claude calls on Studio; on your own server the tools also take camera. Each CLI command opens the camera, does one thing and closes it.

Take a photo

Takes one photo and returns once the camera has saved it, with its file name and size.

Click Take photo under the picture, or press Return. The photo is copied to your Mac too.
Or click the microphone and say “Take a photo”.
A photo taken by voice stays on the card.

Get the photo on your computer. Ask for the photo to come to the computer too. It is still saved on the card, unless you choose computerOnly.

The Take photo button does this every time: the photo is also copied to Darkgrade Studio in your Pictures folder.

Inputs

  • autofocus · true or false · CLI --[no-]autofocus
    Default true: focus before the shutter. False takes the photo without waiting for focus.
  • destination · card computer computerOnly · CLI --destination
    Default card. computer saves the photo to the card and also returns its bytes. computerOnly sends it to the computer without saving it to the card.
  • download · true or false · CLI --[no-]download
    Default true. False keeps every byte of the photo on the camera. Only with destination card.
  • rawCompression · Compressed Lossless High efficiency★ High efficiency · CLI --raw-compression
    RAW compression for this photo only, put back afterwards, such as Lossless.
  • includeInfo · true or false · CLI --[no-]include-info
    Also return the camera's own description of the photo (its PTP ObjectInfo), as info.

What you get back

Slate returns a Photo. MCP and the CLI return the same fields as JSON.

  • destination · "card" "computer" "computerOnly"
    Where the photo went.
  • mediaId · string · optional
    The photo's id on the card, the same one the file list gives it. Left out for computerOnly, and on a camera that cannot list its card.
  • name · string
    The file name the camera gave the photo, such as DSC01234.JPG.
  • sizeBytes · number
    The size of the file, in bytes.
  • info · ObjectInfo · optional
    With includeInfo: the camera's own description of the photo, a PTP ObjectInfo.
  • data · Uint8Array · optional
    The photo's bytes, for computer and computerOnly.

A photo sent to the computer is never inside the JSON: data becomes { file, bytes }. The CLI saves the photo in the current folder under the camera's own file name, unless --output names a file. Over MCP the photo is not attached.

  • The shutter command is sent once. If the camera never confirms the photo, you get an error, never a second photo.
  • Refused while the camera is recording.
  • A camera in video mode is switched to photo mode for the shot, and switched back afterwards.
  • Over MCP, Claude gets the file name and size, never the picture. To show Claude a photo, ask for its preview.

Also called capture, capture photo, shoot, snap, release shutter, shutter, press shutter, S2, remote release. Slate reference: takePhoto

Drive mode

What one press of the shutter does: one photo, a burst, a self-timer, or an exposure bracket.

Click the microphone and say “Drive mode to continuous high”, or ask “What's the drive mode?”

Values Single Continuous high Continuous low Self-timer 10 s Self-timer 2 s and more. Brackets are named by step and frame count, such as Continuous bracket 1.0 EV 3 frames. The settings reference lists all 191.

Also called release mode, burst, continuous shooting, still capture mode. Slate reference: Drive mode

Shutter type

Which shutter takes the photo: mechanical, electronic (silent), or electronic first curtain.

Click the microphone and say “Use the electronic shutter”, or ask “Which shutter is it using?”

Values Auto Mechanical Electronic Electronic front curtain.

Also called electronic shutter, silent shutter, electronic front curtain, front curtain, EFCS. Slate reference: Shutter type

Flash

Whether and how the flash fires.

Click the microphone and say “Turn the flash off”, or ask “What's the flash set to?”

Values Off Auto Fill Rear sync and more.

All values (8)

Off Auto Fill Rear sync Red-eye auto Red-eye fill External sync Slow sync

Also called flash mode. Slate reference: Flash

Photo format

What a photo is saved as: RAW, JPEG, HEIF, or RAW with a JPEG or HEIF beside it.

In the sidebar, choose Recording › Photo › Format.
Or click the microphone and say “Shoot RAW plus JPEG”, or ask “What format are photos saved in?”

Values RAW JPEG HEIF RAW+JPEG RAW+HEIF JPEG Fine and more. Canon sizes combine, as in RAW+L or cRAW+M1. The settings reference lists all 440.

Also called still format, image format, file format, file type, image quality. Slate reference: Photo format

Photo size

The pixel size of JPEG and HEIF photos.

In the sidebar, choose Recording › Photo › Size.
Or click the microphone and say “Large photos”, or ask “What size are the photos?”

Values Large Medium Small and more. Some cameras name a size by its width and height in pixels instead.

All values (3, plus patterns)

Written as <number>x<number>, or one of:

Large Medium Small

Also called image size, jpeg size. Slate reference: Photo size

Aspect ratio

The shape of the photo, or a crop of the sensor.

In the sidebar, choose Recording › Photo › Aspect.
Or click the microphone and say “Aspect ratio sixteen by nine”, or ask “What's the aspect ratio?”

Values 3:2 16:9 4:3 1:1 and more.

All values (5)

3:2 16:9 4:3 1:1 3:2 (APS-C crop)

Also called image area, cropping. Slate reference: Aspect ratio

JPEG quality

How much a JPEG is compressed: finer keeps more detail in a bigger file.

In the sidebar, choose Recording › Photo › JPEG quality.
Or click the microphone and say “Fine JPEG quality”, or ask “What's the JPEG quality?”

Values Extra Fine Fine Standard Normal and more.

All values (9)

Extra Fine Fine Standard Normal Light Basic Basic★ Normal★ Fine★

Also called jpeg compression. Slate reference: JPEG quality

RAW compression

How RAW files are compressed: lossless, compressed, or high efficiency.

Click the microphone and say “Lossless RAW”, or ask “How are RAW files compressed?”

Values Lossless Compressed High efficiency and more.

All values (4)

Lossless Compressed High efficiency High efficiency★

Also called NEF compression, raw file type, ARW compression. Slate reference: RAW compression

⌘I