Transform a stored screenshot (URL form)
The same single-output transform as POST, described entirely in the query string — handy for <img> tags and quick tests. cache defaults to true here so re-fetching a link reuses the stored output instead of charging again. outputs, webhookSecret and storage credentials are POST-only.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
An unexpired screenshotId belonging to the authenticated account.
^scr_Query Parameters
Named output shape: og-image, twitter-card, thumbnail, square, full-width. Named output shape. Explicit fields override it.
On a whole full-page screenshot, the fixed-shape presets (og-image, twitter-card, square) take the top of the page at their aspect ratio. Set region, bounds or fit to choose differently.
og-image, twitter-card, thumbnail, square, full-width Cut this saved region (e.g. region-1) from the screenshot. Requires a capture with regions=true.
With region: part id or index (0 = first).
With region + part: use the stored crop file instead of cutting original pixels. Use it for pages whose whole screenshot exceeds 64 MP or 24 MiB.
x,y,width,height in screenshot pixels.
^\d+,\d+,\d+,\d+$Output width. Give one side to keep the aspect ratio.
1 <= x <= 32768Output height.
1 <= x <= 32768How to fit both sides: contain may pad, cover may crop, fill may stretch. Default contain.
contain, cover, fill Padding / transparency fill for contain and JPEG.
^#[0-9a-fA-F]{6}$Output encoding. Default: same family as the source.
jpeg, png, webp Lossy quality. Default 80 (or the preset's).
1 <= x <= 100Reuse an identical stored output (refunded). Defaults to true on GET.
Return 202 and a status URL instead of waiting.
Deliver the result here; implies async.
Response
All outputs completed
- Option 1
- Option 2
^ast_^scr_Ordered crop/resize and optional encoding. Format may occur once, last. Otherwise retain source format, lossy quality 80.
1 - 4 elements