Capture a screenshot
Returns JPEG or PNG bytes unless storage, regions, asynchronous delivery, or Visual Style Guide requires a JSON result.
Every option that fits in a URL is available here. These are POST-body only and are refused with 400 in a query string, because URLs are recorded in logs, browser history and caches: headers, cookies, webhookSecret, and customer-storage credentials (storage_access_key_id, storage_secret_access_key, storage_application_key_id, storage_application_key). Customer-storage destinations (storage_provider, storage_bucket, storage_endpoint, storage_region, storage_public_domain) need those credentials, so use POST for them too.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Ephemeral OpenAI BYOK for Visual Style Guide. Server-to-server and synchronous only.
1024Query Parameters
^https?://jpg, png 1 <= x <= 100320 <= x <= 3840240 <= x <= 2160Server-supported device preset; overrides width and height.
light, dark 10 <= x <= 60Navigation readiness strategy. Network-idle modes are opt-in for pages that eventually become quiet.
load, domcontentloaded, networkidle0, networkidle2 Hide common cookie-consent banners before capture.
Block common ad networks and hide ad slots.
Hide third-party chat and support widgets.
Hide newsletter and promotional popups.
Hide floating accessibility-overlay launchers.
Comma-separated CSS selectors to hide before capture, e.g. .promo,#chat. Commas inside (), [] or quotes do not split. The POST body takes an array.
Comma-separated CSS selectors to click, in order, before capture. Same splitting rules as hideSelectors.
CSS selector to scroll into view before capture.
Adds ordered full-page crops and two credits; implies full-page storage.
Adds a GPT-5.6 Luna Visual Style Guide; implies regions and stored full-page capture.
Bypasses only the seven-day Style Guide cache. Requires styleGuide=true.
Add raw observed design evidence (colors, fonts, spacing) to the JSON result. One credit.
Deliver the result to this URL; implies async=true. Send webhookSecret in a POST body to sign deliveries.
Queue priority for asynchronous jobs.
low, normal, high Include the provider location of the stored object in media.
Response
Binary or JSON screenshot result. JSON may be partial when an add-on failed.
The response is of type string.