Skip to content
Models · Jun 23, 2026

Researcher ports 0.2B Moebius image inpainting model to run in-browser via WebGPU

A developer used Claude Code to convert a PyTorch-based inpainting model to ONNX and run it client-side in a browser using WebGPU, demonstrating feasibility of large-model browser execution.

Trust84
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • A 0.2B-parameter image inpainting model (Moebius) was converted from PyTorch to ONNX and run in a browser using WebGPU.
  • The conversion and deployment were performed by Claude Code without the author writing any code.
  • The resulting demo loads a ~1.3GB model on first use and uses browser caching to avoid re-downloads.
  • The ONNX-converted weights are published on Hugging Face and the frontend is hosted on GitHub Pages.

Simon Willison reports successfully running the 0.2B-parameter Moebius image inpainting model in a web browser using WebGPU, after converting the PyTorch model to ONNX with Claude Code. The original Moebius release required PyTorch and NVIDIA CUDA, but the converted version runs client-side in the browser.

The process involved using ONNX Runtime Web with a WebGPU backend, which sits below libraries like Transformers.js. The author did not write any code; instead, they guided Claude Code through the conversion and deployment steps, including publishing the 1.24GB ONNX weights to Hugging Face and hosting the frontend on GitHub Pages.

The resulting demo is available at simonw.github.io/moebius-web and allows users to upload an image, select regions to remove, and run the inpainting model entirely in the browser. The first load downloads approximately 1.3GB of model weights, but subsequent reloads leverage browser caching to avoid re-downloading.

Willison notes this as an example of "vibe coding," where the primary contributions were testing, suggesting small improvements, and pointing the agent toward examples of desired functionality. The author also documented the process and learned that Chrome, Firefox, and Safari can all run this class of model in the browser.

Sources
  1. 01Simon Willison — weblogPorting the Moebius 0.2B image inpainting model to run in the browser with Claude Code
Also on Models

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.