|
# AziibPixelMix - Onnx Olive DirectML Optimized
|
|
|
|
## Original Model
|
|
https://civitai.com/models/195730/aziibpixelmix
|
|
|
|
## C# Inference Demo
|
|
https://github.com/TensorStack-AI/OnnxStack
|
|
|
|
```csharp
|
|
// Create Pipeline
|
|
var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Models\\AziibPixelMix-onnx");
|
|
|
|
// Prompt
|
|
var promptOptions = new PromptOptions
|
|
{
|
|
Prompt = "Create a scene of a mystical shaman, with animal skins and feathers, performing a ritual in a sacred grove"
|
|
};
|
|
|
|
// Run pipeline
|
|
var result = await pipeline.GenerateImageAsync(promptOptions);
|
|
|
|
// Save Image Result
|
|
await result.SaveAsync("Result.png");
|
|
```
|
|
## Inference Result
|
|
![Intro Image](Sample.png) |