// in-browser model · file type detection

Magika standard_v3_3

magika-standard-v3-3@3f2cb853 fp32 vetted · active onnxruntime-web ≥ 1.19.0 wasm

Downloads 3.0 MB once from models.skillsafe.ai, then stays cached for every SkillSafe app that uses it. Inference runs on your device; nothing you enter is uploaded to load it. Licensed Apache-2.0 · source GitHub google/magika at 3f2cb8537dce.

See it working

Public apps that declare this model. Open one and the download you see is this file.

  • Magika

    Google's Magika deep-learning file type detector, running entirely in your browser. Drop files to see what they really are, catch executables hiding behind a .pdf name, and keep using it offline: nothing is uploaded, ever.

    5 visits
    Open app

Files

Every file is served at an immutable URL; the canonical form is the SHA-256 itself. Tokenizer and config JSON are not here by design — they ship in your app bundle.

PathFormatSizeSHA-256
model.onnx onnx 3.0 MB fe2d2eb49c5f…69ec8c

Signature

Graph inputs and outputs read from the ONNX bytes at vetting — these are the tensor names your session.run() call feeds and reads. Symbolic dimensions are shown by name.

Inputs

  • bytes int32 [unk__214, 2048]

Outputs

  • target_label float32 [unk__215, 214]

How to use it

Three steps: declare the model on your release, load it through the SDK (verified and cached), hand the bytes to the runtime. The examples below are generated from this entry, so ids, paths and tensor names are exact.

Add to the body of POST /v1/apps/{slug}/releases (or a release session). An unknown or withdrawn model is refused with a 400 naming it; the app page then shows "downloads 3.0 MB · runs on your device" and /models.txt carries the attribution.

{
  "models": [
    {
      "id": "magika-standard-v3-3",
      "revision": "3f2cb853"
    }
  ]
}

Licence & attribution

Apache-2.0 · licence text · notice

Magika standard_v3_3 model and content-type knowledge base: Copyright 2024 Google LLC, licensed under the Apache License, Version 2.0. https://github.com/google/magika

Apps that declare this model get this text in their generated /models.txt, so a licence that requires a notice always carries one.