.do
Media

screenshots

Generate pixel-perfect screenshots with full-page rendering, mobile viewports, and dark mode support. Capture at 300+ edge locations with <1s generation time.

screenshots

Screenshots.do

Overview

The screenshots primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.

Semantic Pattern

All screenshots operations follow the semantic $.Screenshots.verb.Object pattern:

import { $, screenshots } from 'sdk.do'

// Create resources
await $.Screenshots.create.Resource({ /* config */ })

// Query data
await $.Screenshots.get.Data({ /* params */ })

// Update state
await $.Screenshots.update.Status({ /* changes */ })

Quick Start

import { screenshots } from 'sdk.do'

// Initialize and use the primitive
const result = await screenshots.operation({
  // configuration parameters
})

Access Methods

The screenshots primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

import { screenshots } from 'sdk.do'
await screenshots.method({ /* ... */ })

SDK Documentation

CLI

Command-line interface for terminal operations:

do screenshots <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

curl -X POST https://api.do/v1/screenshots \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use screenshots primitives with AI assistants via MCP

MCP Documentation

See other primitives in the media category.