youknownothing's picture
Duplicate from TensorStack/Fluently-XL-Final-onnx
537cdef verified
|
raw
history blame contribute delete
No virus
720 Bytes
metadata
pipeline_tag: text-to-image

Fluently XL Final - Onnx Olive DirectML Optimized

Original Model

https://huggingface.co/fluently/Fluently-XL-Final

C# Inference Demo

https://github.com/TensorStack-AI/OnnxStack

// Create Pipeline
var pipeline = StableDiffusionXLPipeline.CreatePipeline("D:\\Models\\Fluently-XL-Final-onnx");

// Prompt
var promptOptions = new PromptOptions
{
    Prompt = "Craft an image of a nurse taking care of a patient in a hospital room, with medical equipment and a warm smile."
};

// Run pipeline
var result = await pipeline.GenerateImageAsync(promptOptions);

// Save Image Result
await result.SaveAsync("Result.png");

Inference Result

Intro Image