Redesign UI from an image
dreamagent_design_modeWRITE ACTION — redesign a website project's UI to match a design image. Website projects only.
The user provides an image (screenshot, mockup, AI-generated design) and instructions. You generate the image (e.g. DALL-E), encode it as base64, and send it here. DreamAgent's AI will read the image and redesign the project's frontend to match.
CONFIRM BEFORE CALLING — show the user:
The project being redesigned
The design instructions Then call only with confirm=true after they agree.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | must be true to execute. | |
| project_id | Yes | the website project to redesign. | |
| image_base64 | Yes | base64-encoded design reference image (PNG/JPG/WEBP). Send the actual image bytes verbatim — the image IS the spec. | |
| instructions | Yes | keep this SHORT — e.g. "Match this design image exactly." The image carries the design; do NOT write a long textual design spec duplicating what is visible in the image. Only add brief must-have requirements the image cannot show (e.g. "keep all existing pages and functionality", "Product Hunt view only"). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |