Drisp

v1.0.1
io.drint/drisp Checked 4 days ago Published 9 hours ago

Put an app or website screenshot on a 3D device mockup (iPhone, iPad, MacBook, watch) as a PNG.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_devices List Drisp devices

The devices Drisp can put a screenshot on, each with the screenshot size in pixels that fills its screen exactly (portrait for phones, tablets and watches) and its page on drint.io.

device_mockup Screenshot on a device

Put a screenshot of an app or website on a device mockup and get a PNG. The screenshot fills the screen edge to edge (cropped to the screen's shape if its proportions differ). Give the screenshot as screenshot_url (a public https link) or screenshot_base64 (PNG, JPEG or WebP, at most 10 MB).

ParameterTypeDescription
device *stringWhich device (list_devices).
backgroundstring"transparent" for a cut-out PNG, or a colour like "#ffffff". Leave it out for a soft studio grey.
cleanbooleantrue for a picture without the watermark grid. Needs a signed-in Drisp Pro account; a Pro account gets clean pictures anyway.
frameintegerFrame colour: 0 the device's own (default), 1 the other of black / silver, 2 champagne gold, 3 midnight blue.
screenshot_base64stringThe screenshot itself, base64 (a data: URL is fine).
screenshot_urlstringA public https link to the screenshot (PNG, JPEG or WebP).
sizeintegerThe square PNG's side in pixels (default 1024). 1536 and 2048 need a signed-in Drisp Pro account.