# Repository Briefing: TizenryA/drawing-studio-release
> Source: https://repoforai.com/repo/TizenryA/drawing-studio-release (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/TizenryA/drawing-studio-release
- **Official Docs / Website**: https://tizenrya.github.io/drawing-studio-release/
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Python
- **License**: AGPL-3.0
- **Engineering Health**: A (81/100 · Maintenance 35/35 · Adoption 15/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v1.0.47 (2026-12-04) — https://github.com/TizenryA/drawing-studio-release/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, API
- **Momentum**: 81 ★ total (+6 24h / +76 7d) · 21 forks
- **When to Use**: Best for: Solo creators building repeatable image, comic, or short-video pipelines who want a mobile UI, editable ComfyUI graphs, and Drive-backed archives without keeping a dedicated GPU online. Skip if: You need fully offline inference, guaranteed GPU availability, multi-tenant service guarantees, or a setup with no Google OAuth or model staging.

## Overview
```text
### Architecture & Core Mechanics
Drawing Studio separates the always-on control plane from GPU execution and durable storage. A React/Vite PWA and API clients talk to FastAPI under Uvicorn. SQLite in WAL mode holds the persistent queue and gallery index, while local storage keeps thumbnails and previews. Google Drive holds model weights, originals, and JSON sidecars; Colab disks serve as temporary inference caches. Colab and Drive can use separate OAuth accounts.

The queue snapshots parameters and the resolved ComfyUI API graph at submission. The controller reaches ComfyUI through a Colab tunnel and an authenticated Jupyter kernel WebSocket, then resumes tracking dispatched jobs by `prompt_id` after a restart. The manifest includes Pillow, httpx, and websockets. Clients can follow progress over SSE or use the protected `/comfy/` interface for node editing. LLM Studio runs llama-server in a separate Colab runtime rather than sharing the image workers.

### Key Capabilities & Differentiators
The catalog combines eight code-native pipelines with 30 public workflows. It covers SDXL generation and inpainting, MOSS Image, Krea2 Turbo with MOSS, and Anima/Illustrious pipelines. The MOSS editor turns canvas layouts into coordinate prompts, while a Markdown parser turns storyboards into batch submissions. MiniMax H3 workflows cover keyframe-driven video and tail continuation, with RIFE interpolation and SeedVR2 refinement available for post-processing.

Import ComfyUI API JSON directly or convert LiteGraph JSON against `/object_info` when a GPU worker is ready. The same node metadata helps check for missing weights before staging them from Drive: up to two models at a time, with up to six resumable HTTP Range streams per model and size/MD5 verification. Light jobs can use two ComfyUI workers; heavy jobs run exclusively. The `/v1/images/*` routes feed the same queue as the UI, while LLM Studio offers OpenAI-compatible chat, completions, and embeddings with separate CU accounting.

### Trade-offs & Limitations
Compared with direct ComfyUI on a dedicated GPU, Drawing Studio adds useful coordination for mobile editing, queued jobs, and project archives without taking away the node editor. In exchange, runtime availability depends on Colab capacity and quotas, and a fresh runtime may need to pull large weights from Drive before it can start. A hosted generator avoids much of that setup, but is a less direct fit when editable node graphs and control over model files and originals are priorities.

SQLite and a single container reduce operational dependencies, but the architecture targets a private single-user deployment, not a highly available multi-tenant service. Queue recovery can reconnect to a surviving worker; it cannot preserve GPU execution after Colab reclaims the runtime. Budget VPS storage for the database and preview cache, and test representative workflows before enabling a second worker: two workers on the same GPU do not double its VRAM. AGPL-3.0 also matters if you modify the application and serve it to others over a network.

### Hardware & Deployment Guide
For a VPS install, create `data/` and `config/private/`, restrict the private directory, and run `docker compose up -d --build`. Compose binds `127.0.0.1:8790` and mounts the directories at `/data` and `/config`. Set `DRAWING_PASSWORD` or retrieve the generated password from `data/admin-password`. Keep the credential directory writable by the service for OAuth refresh and protect its backups. For remote access, terminate HTTPS at a reverse proxy that preserves WebSocket upgrades and does not buffer SSE.

The Windows launcher under `ops/` creates a Python virtual environment; install FFmpeg if using video features on Windows. Android offers a full-stack APK with Python 3.12, a Termux option, or PWA access to a running instance. The GitHub Pages demo simulates the UI without a backend or GPU; it does not generate media. v1.0.45 added dynamic Colab account slots, v1.0.46 introduced the bundled Android control plane, and v1.0.47 added the separate LLM runtime and CU ledger.
```

## Key Capabilities
```text
- Control plane: FastAPI and SQLite WAL run without Redis or PostgreSQL; Colab handles inference and Drive stores durable assets.
- Queue recovery: Submission freezes parameters and the API graph; restart recovery tracks dispatched ComfyUI prompt IDs.
- Model staging: Syncs only missing weights from Drive, with two concurrent model transfers and up to six HTTP Range streams per model.
- Scheduling: ComfyUI can run on one or two workers (8188/8189); heavy video or VRAM-intensive jobs run exclusively.
- Workflow catalog: Eight native pipelines plus 30 public workflows cover SDXL, MOSS composition, and MiniMax H3 video.
- LLM isolation: v1.0.47 serves GGUF models through a separate Colab llama-server instance and tracks its CU usage separately.
```

## Quick Start / Clone
```bash
mkdir -p data config/private
chmod 700 config/private
docker compose up -d --build
```
