Latent Consistency Model (LCM)-SDXL - Onnx Olive DirectML Optimized
Original Model
https://huggingface.co/latent-consistency/lcm-sdxl
C# Inference Demo
https://github.com/saddam213/OnnxStack
// Create Pipeline
var pipeline = LatentConsistencyXLPipeline.CreatePipeline("D:\\Models\\LCM-SDXL");
// Prompt
var promptOptions = new PromptOptions
{
Prompt = "Visualize a cartoonish scene of a wizard's cluttered study, with spellbooks, potion bottles, and magical artifacts."
};
// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions);
// Save Image Result
await result.SaveAsync("Result.png");
Inference Result
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support