Models About & Code

Standalone App & PWA

Install Multimodal Omni Desk from its dedicated origin as an offline WebGPU desktop or mobile PWA with direct OS image, audio, and note file_handlers support plus least-privilege microphone permission (zero camera or geolocation).

Open omni.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so omni.webai.show caches its own Gemma 4 E2B QAT Mobile ONNX (~2,603.9 MB) weights. Staying on webai.show shares Cache Storage across the catalogue.

Visual Canvas & Sketch Callout

~280 <|image|> tokens

First-party Alpine Solar Station B-07 inspection plate (840×540) ready for Gemma 4 E2B visual question answering.

Alpine Solar Station B-07 · 840×540 Drop / Paste image anywhere

Native Audio & Microphone Deck

~275 <|audio|> tokens

16 kHz mono audio waveform preview ready for Gemma 4 E2B audio encoder.

Loading starter audio clip… 16 kHz · max 30s

Omni Prompt Composer

Text + Image + Audio
160 tok

Preparing starter multimodal brief… Every pixel, waveform sample, and token stays strictly on your device.

Probing WebGPU adapter & shader-f16 support…

Modality Token Inspector & Telemetry

Estimated budget
Text Tokens ~48
<|image|> (258880) ~280
<|audio|> (258881) ~275
TTFT Pending run
Decode Speed Pending run
Integrity 0 NaN · WebGPU

Live Omni Transcript

0 turns · Gemma 4 E2B
Ready for live on-device multimodal inference (zero precomputed output) Attach or annotate an image, record or load an audio clip, and click Run Multimodal Turn to stream tokens live from Gemma 4 E2B on WebGPU.

Local WebGPU AI Engine

Single unified multimodal transformer — onnx-community/gemma-4-E2B-it-qat-mobile-ONNX (Apache-2.0, ~2,603.9 MB across 4 WebGPU ONNX subgraphs) running off the main thread on an isolated Transformers.js 4.3.2 worker pin.

Gemma 4 E2B Instruct QAT Mobile ONNX (~2,603.9 MB · WebGPU q2f16 / fp16)

onnx-community/gemma-4-E2B-it-qat-mobile-ONNX (Apache-2.0 · Gemma 4 License) · isolated @huggingface/transformers@4.3.2 in worker.js

Processor Gemma4Processor (not loaded)
Vision + Audio Encoders FP16 187.5 MB + Q2F16 92.3 MB
Decoder + Embeddings Q2F16 995.4 + 1,296.6 MB
Cache & Integrity 0 NaN · Checking storage…

How Multimodal Omni Desk Works

Instead of chaining separate ASR, captioning, and text models, Gemma 4 E2B encodes image patches and raw 16 kHz log-mel audio frames directly into its shared token stream inside one WebGPU worker.

1. Direct Gemma4Processor Fusion

Because the upstream ONNX repo's preprocessor_config.json omits processor_class, worker.js imports Gemma4Processor directly from Transformers.js 4.3.2 so processor_config.json, Gemma4ImageProcessor (up to 280 soft tokens), Gemma4AudioFeatureExtractor (40 ms/token, up to 750 tokens), GemmaTokenizer (32.2 MB), and chat_template.jinja all initialize cleanly together.

2. Unified 4-Subgraph WebGPU Execution

Gemma4ForConditionalGeneration loads four QAT Mobile ONNX subgraphs onto WebGPU: embed_tokens_q2f16 (1,296.6 MB), decoder_model_merged_q2f16 (995.4 MB), vision_encoder_fp16 (187.5 MB), and audio_encoder_q2f16 (92.3 MB). Image and audio embeddings replace <|image|> (258880) and <|audio|> (258881) slots in a single forward pass.

3. Honest WebGPU Gate & Zero-Upload Privacy

Every subgraph ships Q2F16/FP16 WebGPU graphs (device: "webgpu"). On CPU-only browsers without WebGPU, createModelLoader degrades honestly to unsupported with zero fake output. Microphone access is strictly user-initiated under Permissions-Policy: camera=(), microphone=(self), geolocation=().

Show the code — WebGPU adapter probe & exact modality token counter
Show the code — Direct Gemma4Processor + Gemma4ForConditionalGeneration loader (Transformers.js 4.3.2)
Show the code — Unified Text + Image + Audio generation loop with TextStreamer & InterruptableStoppingCriteria
Show the code — Gemma 4 audio (40 ms/token) & variable-aspect vision soft-token estimators
Show the code — Streaming Gemma 4 <|channel>thought reasoning channel parser
Show the code — OWASP-safe session JSON export builder

Export Multimodal Omni Session

0 turns · OWASP-sanitized Markdown & JSON