Live view is what a Sony, Canon or Nikon camera sees right now, sent to your computer one JPEG at a time: for a monitor, a focus aid, or an AI model that looks at the shot.
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.
| What | Does |
|---|---|
| Read a live-view frame | The current picture, as a JPEG. |
| Live-view quality | Sharper or faster live-view pictures. |
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.
Read a live-view frame
Reads the picture the camera sees right now as a JPEG, with the focus boxes the camera draws on it.
The picture in the Studio window is the live view.
To have Studio measure it, click the microphone and ask “Am I clipping anywhere?”Ask Claude: “What does the camera see?”
→ camera_get_live_view_frame {}npx darkgrade camera get-live-view-frame --output frame.jpg
# With the camera's on-screen display: also writes
# frame-overlay.png.
npx darkgrade camera get-live-view-frame --overlay \
--output frame.jpgconst frame = await camera.getLiveViewFrame()
// frame.jpeg: the picture
// frame.focusFrames: the focus boxesInputs
Inputs
overlay· true or false · CLI--[no-]overlay
Also read the camera's own on-screen display, as a picture to lay over the frame.
What you get back
What you get back
Slate returns a LiveViewFrame. MCP and the CLI return the same fields as JSON.
jpeg·Uint8Array
The current picture as a JPEG.focusFrames·FocusFrame[]
The camera's focus, face and tracking boxes; empty when it draws none.overlay·LiveViewOverlay· optional
Present when the overlay was requested.
Each entry of focusFrames:
kind·"focus""face""tracking"
What the box marks: the camera's focus area, a detected face, or a tracked subject.focused·boolean
True once the camera reports this frame in focus.centerX·number
The centre of the box, from 0 (left) to 1 (right).centerY·number
The centre of the box, from 0 (top) to 1 (bottom).width·number
The width of the box, as a fraction of the picture.height·number
The height of the box, as a fraction of the picture.
The fields of overlay:
png·Uint8Array
A PNG with transparency, the size of the camera's display.
The pictures are never inside the JSON: jpeg and png become { file, bytes }. MCP attaches the frame for Claude to look at, and your own server the overlay too. The CLI saves the frame as get-live-view-frame-frame.jpg and the overlay as get-live-view-frame-overlay.png; with --output frame.jpg, the overlay goes to frame-overlay.png.
- It waits for the camera's next frame, so calling it in a loop never asks faster than the camera makes frames.
- The overlay is the camera's own on-screen display as a transparent PNG the size of its screen. Today Sony cameras offer it; Canon and Nikon do not. See what the camera can do for whether yours does.
Also called live view, live preview, get frame, preview frame, monitor feed, on-screen display, OSD. Slate reference: getLiveViewFrame
Live-view quality
The size and quality of live-view pictures: sharper, or faster.
Under the picture, click HQ or LQ to switch between high and low.
Or click the microphone and say “High quality live view”, or ask “What's the live-view quality?”Ask Claude: “High quality live view.”
→ camera_set_live_view_quality {"value": "High"}
Ask Claude: “What's the live-view quality?”
→ camera_get_live_view_quality {}npx darkgrade camera set-live-view-quality High
npx darkgrade camera get-live-view-qualityawait camera.setLiveViewQuality('High')
const liveViewQuality = await camera.getLiveViewQuality() // 'High'Values Low Medium High.
Also called live view quality, preview quality, live view image quality, live view image size, live view size, live view resolution. Slate reference: Live-view quality