Set screen frame
set_screen_framePROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. THE tool for 'that floating rounded window on a gradient' look — the standard treatment for a screen recording or app demo. The finished picture is inset, its corners rounded, a soft shadow dropped under it, and it floats on a solid colour or a two-colour gradient. inset 0.02-0.35 (0.08 default — how much room the backdrop gets); radius 0-0.25 as a fraction of the picture's short side; shadow 0-1; background/background2 are #RRGGBB (pass background2 for a gradient, or 'none' to go flat) with direction vertical/horizontal/diagonal/radial — the same gradient renderer add_color_screen uses, so a backdrop can match an interstitial exactly. Calling it again edits the settings rather than stacking. It applies to the WHOLE finished picture (captions and overlays scale with it, because they are inside the window) and changes no timing at all. Remove with remove_screen_frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inset | No | ||
| radius | No | ||
| shadow | No | ||
| direction | No | ||
| background | No | ||
| project_id | Yes | Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess. | |
| background2 | No |