Getting Started
AI Model Hub separates model declaration from model materialization.
Package maintainers describe which Hugging Face models and files a package needs. Unity project users click once to download and convert them, and choose the optional models they want.
Installation
AI Model Hub and its dependencies tools.doji.downloads and tools.doji.formats.onnx are published on OpenUPM. Add a scoped registry for tools.doji to Packages/manifest.json, then add the package:
{
"scopedRegistries": [
{
"name": "OpenUPM",
"url": "https://package.openupm.com",
"scopes": [ "tools.doji" ]
}
],
"dependencies": {
"tools.doji.model-hub": "1.0.0"
}
}
AI Model Hub requires Unity 6000.3 LTS or later and Unity Inference Engine (Sentis) 2.6.1, which Package Manager installs automatically.
Package maintainers add tools.doji.model-hub to the dependencies of their own package.json instead, so their users get AI Model Hub with the package.
For Package Maintainers
Use this path when you publish or maintain a Unity package that needs AI model files.
Package maintainers create model-hub-manifest.json at package root. The manifest names Hugging Face models, requested revisions, and optional file scope. The package can stay small because source ONNX files and generated .sentis files are not shipped inside the package.
Typical package maintainer tasks:
- declare one or more model dependencies by HuggingFace
repo_id - use every file of a model, or exact selected files
- mark selected files as optional when the project should choose variants before import
- keep the package manifest local and writable while authoring
Continue with For Package Maintainers.
For Unity Project Users
Use this path when a Unity project consumes a package with model dependencies or declares project-owned model dependencies.
AI Model Hub asks before it downloads anything. When a project needs models, or code loads a model the project does not have, a window shows the models and their size:

Typical Unity project user tasks:
- download and convert the models that packages need, in one click
- add a model that code loads, from the prompt
- add the optional models of a package in Model Hub
- choose whether builds bundle each model or download it at runtime
Continue with For Unity Project Users.
Where Details Live
- Manifest Schema documents manifest types, fields, validation, whole-repo scope, selected files, and per-file
optionalflags. - Editor Surfaces documents Model Hub, the setup prompt, Project Settings, and manifest Inspectors.
- Command Line and CI documents the Unity CLI commands for scripts, CI, and coding agents.
- Setup, Cache, and Runtime Loading documents the sync flow, the cache and converted-model folders, builds, players, and the runtime API.