Diffusion models validated for Unity
Collection
Diffusion models validated to run in Unity with tools.doji.diffusers (Unity Inference Engine). โข 8 items โข Updated
This is an unofficial conversion of Stable Diffusion 2.1 (stabilityai/stable-diffusion-2-1) by Stability AI, for Unity Inference Engine and the Unity package tools.doji.diffusers. The pipeline components are converted to ONNX, with float32 weights. The original license terms apply.
The files take 4.81 GiB.
Add julienkay/stable-diffusion-2-1 to the project in Window > AI Model Hub, then:
using Doji.AI.Diffusers;
var pipeline = await DiffusionPipeline.FromPretrainedAsync("julienkay/stable-diffusion-2-1");
var image = await pipeline.GenerateAsync("a cat");
Base model
stabilityai/stable-diffusion-2-1