GPU rendering

gpu=true renders that capture with a GPU, including WebGL and canvas. Leave it out and the page is rendered without a GPU.

GPU rendering is available on Growth and Business and adds 2 credits. The rules are on Plans and credits.

Send gpu as true or false on a screenshot request, as a query parameter or in JSON. It also applies to logo and color captures and to scrolling recordings.


const axios = require("axios");

let config = {
	method: "get",
	maxBodyLength: Infinity,
	url: "https://shot.screenshotapi.net/v3/screenshot?token=TOKEN&url=https%3A%2F%2Fexample.com&gpu=true",
	headers: { }
};

axios.request(config).then((response) => {
	console.log(JSON.stringify(response.data));
}.catch((error) => {
	console.log(error);
});