YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Dreamshaper XL Turbo - Onnx Olive DirectML Optimized
Original Model
https://civitai.com/models/112902/dreamshaper-xl
C# Inference Demo
https://github.com/TensorStack-AI/OnnxStack
// Create Pipeline
var pipeline = StableDiffusionXLPipeline.CreatePipeline("D:\\Models\\Dreamshaper-XL-Turbo-SFW-onnx", ModelType.Turbo);
// Prompt
var promptOptions = new PromptOptions
{
Prompt = "Generate a 3D render of a sleek sci-fi spaceship soaring through the stars, with engines blazing and stars streaking past."
};
// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions);
// Save Image Result
await result.SaveAsync("Result.png");
Inference Result
Unable to determine this model's library. Check the
docs
.