Agent API
Capture a screen, choose a layout and render a store-sized PNG or an entire set. An AppScreen project file can move between your agent and the browser editor.
Install the AppScreen skill
Run this from your OpenClaw workspace to automate app captures, localized copy, and store screenshot rendering.
npx --yes clawhub@latest install @louiseliu/appscreen-store-screenshots
Connect over MCP
Use Streamable HTTP at /api/mcp. Start with get_screenshot_presets, then pass your project to render_screenshot.
codex mcp add appscreen --url https://appscreen-studio.liuguolin-20083177.workers.dev/api/mcp
Start with a template
List the available templates. Guests can use three templates. Request /api/templates?id=night-rhythm&device=iphone-max to load a ready-to-render project.
Render from HTTP
Start with the sample below or save an editable project JSON in the studio. Send format: "png" with a single slide ID to render one PNG. Use format: "zip" for a set.
origin=https://appscreen-studio.liuguolin-20083177.workers.dev curl -fsS "$origin/api/catalog" | jq .example > request.json curl -fsS "$origin/api/render" \ -H 'Content-Type: application/json' \ --data-binary @request.json -o screenshots.zip
Use your own captures
Set each slide’s image to a PNG or JPEG data URL. Images are limited to 6 MB and 10 megapixels. The request body is limited to 20 MB. For larger projects, render one slide per request.
Capture from a device
Run these commands in the project checkout with your app open on the simulator or emulator. Then add the PNG to the project as a data URL.
npm run capture -- ios screen.png npm run capture -- android screen.png
On macOS the script uses xcrun simctl. Android captures use adb. Add --device to select one when multiple devices are connected.