|
--- |
|
pipeline_tag: text-to-image |
|
--- |
|
# Copax Timeless XL Turbo - Onnx Olive DirectML Optimized |
|
|
|
## Original Model |
|
https://civitai.com/models/219293/copax-timelessxl-turbo |
|
|
|
## C# Inference Demo |
|
https://github.com/TensorStack-AI/OnnxStack |
|
|
|
```csharp |
|
// Create Pipeline |
|
var pipeline = StableDiffusionXLPipeline.CreatePipeline("D:\\Models\\CopaxTimeless-Turbo-onnx", ModelType.Turbo); |
|
|
|
// 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 |
|
 |