amd
/

Text-to-Image
Diffusers
ONNX

black-forest-labs/FLUX.1-dev

Original Model

https://huggingface.co./black-forest-labs/FLUX.1-dev

Running

1. Using Amuse GUI Application

Download and install Amuse GUI application to run it: https://www.amuse-ai.com/

2. C# Inference Demo

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

// csharp example
// Create Pipeline
var pipeline = FluxPipeline.CreatePipeline("D:\\Models\\FLUX.1-dev-onnx");
// Prompt
var promptOptions = new PromptOptions
{
    Prompt = "a majestic Royal Bengal Tiger on the mountain top overlooking beatiful Lake Tahoe snowy mountains and deep blue lake, deep blue sky, ultra hd, 8k, photorealistic"
};
// Scheduler Options
var schedulerOptions = pipeline.DefaultSchedulerOptions with
{  
    InferenceSteps = 50,
    GuidanceScale = 3.5f,
    SchedulerType = SchedulerType.FlowMatchEulerDiscrete,
};

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

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

Inference Result

image/png

Downloads last month
0
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.

Model tree for amd/FLUX.1-dev-onnx

Quantized
(24)
this model