OpenRadar

Project · TypeScript · Added June 4, 2026

infinite-canvas

Open-source infinite canvas workspace for AI image and video creation — built with React 19, Next.js 16, and a Go backend. 960+ GitHub stars in two weeks.

962 stars 219 forks View on GitHub

Infinite Canvas

Overview

Infinite Canvas (无限画布) is an open-source creative workspace that puts AI image generation, video creation, reference editing, and prompt management on a zoomable, pannable canvas. Think of it as Figma meets Midjourney — except you own the infrastructure, the prompts, and the output. It crossed 960 GitHub stars and 219 forks within two weeks of its May 18, 2026 launch, which is notable for a project that started in the Chinese developer community and is now gaining traction internationally.

The project is built by basketikun, a developer active in the Linux.do community (a Chinese tech forum similar to Hacker News). The architecture is a fullstack split: a Next.js 16 frontend with React 19 handles the canvas UI, state management, and API routing, while a Go backend powered by Gin and GORM manages authentication, model channels, billing, and data persistence. It supports SQLite, MySQL, and PostgreSQL out of the box, and ships as a single Docker container.

The core problem Infinite Canvas solves is workflow fragmentation. If you’re iterating on AI-generated images today, you’re bouncing between ChatGPT for prompts, Midjourney for generation, Figma for layout, and some local folder for assets. Infinite Canvas collapses that loop. You write prompts, generate images, drag them onto a canvas, connect them visually, edit with reference images, and generate variations — all without leaving the browser. The changelog shows 15 releases in 16 days (v0.0.1 on May 19 through v0.2.1 on June 3), which tells you the maintainers are shipping fast.

Why it matters

The AI creative tooling space is dominated by closed platforms. Midjourney, DALL-E, and Ideogram all lock you into their interfaces, their billing, and their prompt ecosystems. Infinite Canvas takes the opposite approach: it’s a self-hosted frontend that connects to any OpenAI-compatible API. You bring your own API key from ChatGPT, Grok, or any compatible provider, and the tool handles the rest. That’s a meaningful shift for developers and creative teams who want control over their AI pipeline.

For fullstack developers, this project is worth studying even if you never use it for image generation. The architecture is a clean example of a modern React + Go application. The frontend uses Zustand for state, TanStack Query for data fetching, Ant Design and shadcn/ui for components, and Tailwind CSS 4 for styling. The backend is a textbook Go REST API with Gin, GORM, and JWT auth. If you’re building a complex web app with a canvas-based UI, this is a reference implementation worth bookmarking.

The timing connects to a broader trend: AI agents and creative tools are converging. Infinite Canvas already has a “canvas assistant” feature where you can chat with an AI about selected nodes, generate images from the conversation, and insert results back into the canvas. That’s the kind of agent-in-the-loop workflow that every creative tool will adopt within a year.

Key Features

Infinite Canvas with Node Graph. The canvas supports multi-project workspaces with drag-and-drop node placement, zoom, pan, minimap navigation, undo/redo, and import/export. Nodes can be connected with lines to show relationships between images, prompts, and variations. This isn’t a flat image grid — it’s a spatial workspace where you can organize creative exploration visually.

AI Image Generation via OpenAI-Compatible APIs. The tool connects to any provider that implements the OpenAI API spec: ChatGPT, Grok, DeepSeek, or self-hosted models through chatgpt2api, grok2api, flow2api, and newapi. It supports text-to-image, image-to-image, reference image editing, and text Q&A. The model channel system lets admins configure multiple providers with different billing rates.

Video Generation with Seedance 2.0. Added in v0.2.0, the video generation feature supports audio input, watermarks, and image/video/audio reference inputs. It integrates with Volcengine’s Agent Plan API (火山方舟) for Seedance 2.0 video generation. You can drag video nodes onto the canvas alongside image nodes and connect them in a production pipeline.

Canvas Assistant (AI-in-the-Loop). Select one or more nodes on the canvas, open the assistant panel, and have a conversation about your creative direction. The AI can generate new images based on your selected context and automatically insert results as new canvas nodes. This turns the canvas from a passive layout tool into an active creative partner.

Prompt Library with GitHub Aggregation. The system pulls prompt collections from multiple open-source GitHub projects and organizes them by use case. The admin panel lets you configure prompt sources and manage the library. As of v0.0.7, it supports batch operations and the awesome-gpt-image2-prompts collection. For teams building prompt engineering workflows, this is a curated starting point.

User Accounts and Credit System. Built-in authentication supports username/password registration and Linux.do OAuth. The admin panel includes a credit/compute-point system where different models have different costs, and users see their balance and estimated generation cost before clicking generate. This makes it viable for shared team deployments.

One-Click Docker Deployment. The entire stack — Next.js frontend, Go backend, database — runs in a single Docker container via docker-compose. There’s also a Deploy to Render button for zero-config cloud deployment. The Next.js app proxies /api/* requests to the internal Go service, so the architecture is clean even in a single-container setup.

Use Cases

Pros and Cons

Pros:

Cons:

Getting Started

# Clone and run with Docker (recommended)
git clone https://github.com/basketikun/infinite-canvas.git
cd infinite-canvas
cp .env.example .env
# Edit .env to set your admin credentials
docker-compose up -d

# Access at http://localhost:3000
# Admin panel at http://localhost:3000/admin

For local development with source:

# Clone the repo
git clone https://github.com/basketikun/infinite-canvas.git
cd infinite-canvas
cp .env.example .env

# Run with local build
docker compose -f docker-compose.local.yml up -d --build

To configure AI providers, go to Admin > Model Channels and add your OpenAI-compatible API endpoint with your API key. Then navigate to the canvas and start generating.

Alternatives

Excalidraw — The most popular open-source whiteboard tool, but it’s focused on hand-drawn diagrams, not AI image generation. Excalidraw is better for wireframing and collaborative sketching. Infinite Canvas is better when your primary workflow involves generating and iterating on AI images.

ComfyUI — A node-based interface for Stable Diffusion that gives you fine-grained control over the image generation pipeline. ComfyUI is more powerful for advanced diffusion workflows (ControlNet, LoRA, custom models), but it’s desktop-only and has a steep learning curve. Infinite Canvas is web-based, simpler, and focused on the creative exploration phase rather than production diffusion pipelines.

Krea AI — A commercial AI creative platform with real-time generation and a canvas interface. Krea is more polished and has better English-language support, but it’s closed-source, cloud-only, and requires a subscription. Infinite Canvas is the self-hosted alternative for teams that want to own their infrastructure.

Verdict

Infinite Canvas is one of the most interesting fullstack projects to come out of the Chinese open-source community in 2026. The tech stack alone — React 19, Next.js 16, Go with Gin, Zustand 5, Tailwind CSS 4 — makes it worth studying as a reference architecture. But the actual product is compelling too: it solves a real problem (fragmented AI creative workflows) with a clean spatial interface that feels natural for visual exploration. The 960 stars in two weeks, mostly organic from the Linux.do community, suggest genuine developer interest rather than marketing-driven growth. The Chinese-first documentation is a real barrier for English-speaking developers, but the code is clean enough to read without docs. If you’re building canvas-based web apps or looking for a self-hosted AI creative workspace, give this a serious look.

Related

Shared tags