update_screenshot
Update a card and its main phone: background, phone placement and app screen, pattern, fade, or shadow. imageUrl is the app screen inside the phone (upload_image with type screenshot). The phone model is chosen per platform set with set_device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageX | No | Phone center, in pixels from the card center on the 500px-tall card. | |
| imageY | No | Phone center, in pixels from the card center on the 500px-tall card. Positive moves down. | |
| deviceId | No | This phone's own device, any set_device id. Empty string follows the platform set's device. | |
| imageUrl | No | ||
| rotationX | No | Tilt in degrees (top away from the viewer). 3D frames only. | |
| rotationY | No | Turn in degrees (right side away from the viewer). 3D frames only. | |
| rotationZ | No | The phone's rotation in degrees, on every frame (with no tilt it is a flat rotation). | |
| foldAmount | No | Foldable devices and laptops only. iphone-duo: 0 is open flat, 1 is closed; imageUrl shows on the inner display. MacBooks (macbook-*): the lid, opening = 120 x (1 - foldAmount) degrees (0 fully open, 0.083 is 110°, 1 closed). A laptop's display stays facing the viewer and its base swings about the hinge, so rotationX below 0 tips the top toward the viewer and shows the keyboard. | |
| imageScale | No | ||
| phoneColor | No | This phone's own generic color (black, white, orange, silver, space-gray, blue, purple, red, green). Empty string follows the platform set's color. | |
| shadowBlur | No | ||
| shadowColor | No | ||
| screenshotId | Yes | ||
| imageDisabled | No | ||
| imageRotation | No | Old name of rotationZ; it sets rotationZ. | |
| outerImageUrl | No | Foldable devices (iphone-duo) only: the outer display's image URL (shows when folded). Empty string clears it. | |
| shadowEnabled | No | ||
| shadowOffsetX | No | ||
| shadowOffsetY | No | ||
| backgroundColor | No | ||
| backgroundImage | No | ||
| bottomFadeColor | No | Ignored. The fade always goes to transparent, so whatever is behind the phone shows through. | |
| bottomFadeHeight | No | ||
| deviceModelColor | No | HyperRealistic (threeDFrame): this phone's own real finish, a deviceColors id of its device. Empty string clears it. | |
| hideCardOverflow | No | ||
| bottomFadeEnabled | No | ||
| bottomFadePosition | No | ||
| backgroundImageBlur | No | ||
| backgroundPatternId | No | ||
| focusOverlayCropTop | No | ||
| focusOverlayEnabled | No | ||
| focusOverlayOffsetY | No | Vertical offset of the focus overlay, as a percent of its height. Negative moves it up. Range is -1000 to 1000. | |
| backgroundPatternColor | No | ||
| focusOverlayCropBottom | No | ||
| focusOverlayShadowBlur | No | ||
| focusOverlayBorderColor | No | ||
| focusOverlayBorderWidth | No | ||
| focusOverlayShadowColor | No | ||
| focusOverlayBorderRadius | No | ||
| focusOverlayShadowEnabled | No | ||
| focusOverlayShadowOffsetX | No | ||
| focusOverlayShadowOffsetY | No | ||
| focusOverlayBlurBackground | No |