Create a screenshot project
create_projectUse this when you can run shell commands on the user's machine and have their app's screenshots as local files (a coding agent). Not for a chat without a terminal, such as ChatGPT, where the upload command cannot run. Starts a screenshot set: 1 to 6 screenshots in store order, each with a screen name and a headline. Returns a project_handle and one upload command (bash and PowerShell forms) that sends every screenshot straight to storage; run it once, then call finish_project with the handle. Upload and call finish_project within 1 hour (an unfinished project lapses then); a finished one waits 72 hours to be opened. Nothing is public and no account is needed; the user saves the set to their account when they open the link finish_project returns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fold | No | iPhone Duo only: inner-open (Unfolded, the open inner display), outer-closed (Cover, the folded cover display) or outer-open (Open back, the open phone from behind, showing its cover display). The editor's names work too. Leave it out for the display the canvas is. | |
| store | No | Which store the set is for. | app_store |
| device | No | A device id from list_devices. Defaults to iphone-17-pro-max for the App Store and pixel-11-pro for Google Play. | |
| screens | Yes | One entry per screenshot, in the order the store should show them. The first sells the app. | |
| project_id | No | A project_id from list_projects (the user signed in): the new asset is saved into that saved project of theirs. Use it, not same_project_as, to add to something the user already saved. | |
| canvas_size | No | A canvas size from list_devices, as WIDTHxHEIGHT, portrait or landscape (2868x1320 for a landscape iPhone set). Leave it out and finish_project takes the store size the screenshots are (a landscape capture makes a landscape set), else the store default (1320x2868 for iPhone, 2048x2732 for iPad, 2007x2853 for iPhone Duo, 1080x1920 for Play). | |
| frame_color | No | A colour id of that device from list_devices. Leave it out to pick one that stands out from the background. | |
| orientation | No | Which way up the set is, when canvas_size does not say: landscape for an app that runs in landscape (most games), and the phone is drawn on its side. Leave it out to follow the screenshots. | |
| project_name | Yes | The app's name. It becomes the project name in the user's appdesigns library. | |
| same_project_as | No | The project_handle or design_handle of an earlier asset from this conversation (screenshots, a header...). The user's save then files this one in the same project, once they have saved that one. | |
| background_color | No | #RRGGBB. Use the app's brand or accent colour if you can find it in the code. Leave it out for a neutral light background. |