AIToday

A developer successfully ported the Moebius image inpainting model to run in a web browser using Claude Code, making it accessible without specialized hardware.

Simon Willison's Weblog3h ago3 min read
A developer successfully ported the Moebius image inpainting model to run in a web browser using Claude Code, making it accessible without specialized hardware.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • 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.

  • 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.

  • 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.

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime

5 minutes a day. The AI essentials.

200+ sources · Email / LINE / Slack

Get it free →