Mini Canvas
Open source · runs on your computer

Type a request.
Your AI agent designs the slides.

Mini Canvas is a local web app with a chat panel on the left and a canvas on the right. The agent CLI you already use builds the design, and everything it makes stays editable.

Mini Canvas editor: a chat conversation with the agent on the left, an Instagram carousel slide on the canvas, and the Layers panel on the right

Made by the agent from a chat prompt

Both designs below came out of a chat with the agent and were exported as PNG. The slide text is in Indonesian, the language the prompt was written in.

Slide deck 7 slides · 1200 × 675
Slide deck slide 1: cover Slide deck slide 2: the problem Slide deck slide 3: flow diagram from chat to canvas Slide deck slide 4: features and elements Slide deck slide 5: canvas sizes and export Slide deck slide 6: API for integrations Slide deck slide 7: closing call to action
Instagram feed carousel 6 slides · 1080 × 1440
Carousel slide 1: cover Carousel slide 2: the problem Carousel slide 3: the solution Carousel slide 4: three things you can make Carousel slide 5: edit by hand and export Carousel slide 6: closing call to action

How it works

No new AI account and no cloud service: Mini Canvas hands your chat to an agent CLI that is already installed and signed in on your machine.

  1. You chat

    Describe the slide, poster, or carousel you want in the chat panel, in your own language.

  2. The agent designs

    Claude Code, Codex, or Antigravity edits the canvas through a small MCP server in the repo, and checks each slide before moving on.

  3. You refine and export

    Adjust anything by hand, then download PNGs or share the result with a link.

What you get

A small editor with enough tools to finish the job yourself when the agent gets it almost right.

Three canvas sizes

Slide 1200 × 675, IG Feed 1080 × 1440, and IG Reels 1080 × 1920. One slide is a single image; several make a carousel.

Real elements, not a flat image

Text, shapes, lines and arrows, tables, charts, flowcharts, network diagrams, icons, and images, each one selectable.

Editable by hand

Select any element and change it in the toolbar or in the Properties and Layers panel.

A design system per design

Colors, font, and style notes the agent follows. It can be picked up automatically from a website.

Export and share

Download one slide as PNG, all slides as a ZIP, or share the design with a link.

An API for other apps

/api/v1 lets tools such as n8n create designs, send chat, and download the results.

A look around the editor

The left menu switches between Chat, Elements, Text, and Designs. The canvas sits in the middle with its slide strip below.

Elements panel with uploads and shapes, a flowchart node selected on the canvas
Elements. Uploads, shapes, lines, and flowchart or network items to add by hand.
Text panel with heading presets, a slide title selected on the canvas
Text. Heading and body presets, with font, size, and style in the toolbar.
Designs panel listing two saved designs
Designs. Each design keeps its own canvas, slides, and design system.
Chat panel with a conversation next to the canvas
Chat. Ask for a change and the agent replies with what it did.

Quick start

The app listens on 127.0.0.1 only, and your designs are stored in the project's data/ folder.

# get the code
git clone https://github.com/xfrends/mini-canvas.git
cd mini-canvas

# install and run
npm install
npm run dev        # open http://127.0.0.1:4321

You need Node.js 22 or newer and the Claude Code CLI installed and signed in. Codex and Antigravity can be used as the agent too. The README covers production mode, sign-in, and the API.