AIToday
Large Language ModelsAI Coding AssistantsSimon Willison's WeblogPublished: Jun 23, 2026, 10:00 JST

Claude Code ports Moebius image inpainting to web browsers

Claude Code ports Moebius image inpainting to web browsers

3 Key Points

  1. What happened

    Simon Willison used Claude Code, an AI coding agent, to convert the Moebius 0.2B PyTorch model to ONNX format and build a browser-based interface that runs on WebGPU. The converted model weights (1.24GB) were published to Hugging Face, and the frontend was deployed to GitHub Pages at simonw.github.io/moebius-web/. The project involved solving a caching challenge so that ~1.3GB of model files did not re-download on every page reload, which Claude addressed using the CacheStorage API.

  2. Why it matters

    This demonstrates that modern browsers and AI coding agents can now handle the conversion and execution of machine learning models that previously required Python and NVIDIA CUDA hardware. For non-technical users, it means image inpainting—the ability to mark areas of an image and have the model fill them in—is now accessible directly in Chrome, Firefox, and Safari without installation or special setup.

  3. What to watch

    The demo is live at simonw.github.io/moebius-web/, and the converted ONNX weights are available at huggingface.co/simonw/Moebius-ONNX. Claude Opus 4.8 performed the entire porting task, including model conversion, publishing, and web application development, while the human author tested and debugged without writing any code directly.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Simon Willison's WeblogRead Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGray Swan launches AI security platform for language models