hishamchow's picture
Update README.md
b8aca07 verified
|
raw
history blame
735 Bytes
---
license: apache-2.0
---
---
pipeline_tag: text-to-image
---
# Stable-Diffusion XL Base 1.0 - AMD Optimized ONNX
## Original Model
https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0
```csharp
// csharp example
// Create Pipeline
var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Models\\stable-diffusion-xl-base-1.0_amdgpu");
// Prompt
var promptOptions = new PromptOptions
{
Prompt = "a beautiful castle in the mountains of Lake Tahoe snow, deep blue lake, ultra hd, cartoonish style"
};
// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions, schedulerOptions);
// Save Image Result
await result.SaveAsync("Result.png");
```
## Inference Result
![Intro Image](sampleImg-sdxl.png)