C# Stable Diffusion using ONNX Runtime

C# Stable Diffusion using ONNX Runtime

github地址:https://github.com/saddam213/OnnxStack

Welcome to OnnxStack!

OnnxStack transforms machine learning in .NET, Seamlessly integrating with ONNX Runtime and Microsoft ML, this library empowers you to build, deploy, and execute machine learning models entirely within the .NET ecosystem. Bid farewell to Python dependencies and embrace a new era of intelligent applications tailored for .NET

Welcome to Python-free AI integration with OnnxStack!

Projects

OnnxStack.Core

Model Inference with C# and ONNX Runtime

Core Badge Nuget

OnnxStack.Core is a .NET library designed to facilitate seamless interaction with the OnnxRuntime C# API. This project simplifies the creation and disposal of OrtValues and offers straightforward services for loading and running inferences on a variety of models. With a focus on improving developer efficiency, the library abstracts complexities, allowing for smoother integration of OnnxRuntime into .NET applications.

More information and examples can be found in the OnnxStack.Core project README

OnnxStack.StableDiffusion

Stable Diffusion Inference with C# and ONNX Runtime

StableDiffusion Badge Nuget

OnnxStack.StableDiffusion is a .NET library for latent diffusion in C#, Leveraging OnnxStack.Core, this library seamlessly integrates many StableDiffusion capabilities, including:

  • Text to Image
  • Image to Image
  • Image Inpaint
  • Video to Video
  • Control Net

OnnxStack.StableDiffusion provides compatibility with a diverse set of models, including

  • StableDiffusion 1.5
  • StableDiffusion Inpaint
  • StableDiffusion ControlNet
  • SDXL
  • SDXL Inpaint
  • SDXL-Turbo
  • LatentConsistency
  • LatentConsistency XL
  • Instaflow

More information can be found in the OnnxStack.StableDiffusion project README

OnnxStack.ImageUpscaler

Image upscaler with C# and ONNX Runtime

Upscale Badge Nuget

OnnxStack.ImageUpscaler is a library designed to elevate image quality through superior upscaling techniques. Leveraging OnnxStack.Core, this library provides seamless integration for enhancing image resolution and supports a variety of upscaling models, allowing developers to improve image clarity and quality. Whether you are working on image processing, content creation, or any application requiring enhanced visuals, the ImageUpscale project delivers efficient and high-quality upscaling solutions.

More information and examples can be found in the OnnxStack.ImageUpscaler project README

OnnxStack.ImageRecognition

Image recognition with ResNet50v2 and ONNX Runtime

Harness the accuracy of the ResNet50v2 deep learning model for image recognition, seamlessly integrated with ONNX for efficient deployment. This combination empowers your applications to classify images with precision, making it ideal for tasks like object detection, content filtering, and image tagging across various platforms and hardware accelerators. Achieve high-quality image recognition effortlessly with ResNet50v2 and ONNX integration.

OnnxStack.ObjectDetection

Object detection with Faster RCNN Deep Learning with C# and ONNX Runtime

Enable robust object detection in your applications using RCNN (Region-based Convolutional Neural Network) integrated with ONNX. This powerful combination allows you to accurately locate and classify objects within images. Whether for surveillance, autonomous vehicles, or content analysis, RCNN and ONNX integration offers efficient and precise object detection across various platforms and hardware, ensuring your solutions excel in recognizing and localizing objects in images.

相关推荐
一木 之林2 天前
《OpenAI库基础学习总结:Client 初始化、流式输出 delta 拼接与多轮历史 messages 全流程拆解》
人工智能·学习·计算机视觉·stable diffusion·aigc
一木 之林5 天前
Stable Diffusion 详解:潜空间扩散原理、三件套分工与 diffusers 文生图实战
人工智能·计算机视觉·stable diffusion
AIGC小尼16 天前
本地AI漫剧部署|低配8G显存实战部署MiniMax-H3|4步极速采样+低显存优化完整方案(可角色替换/视频魔改)
人工智能·stable diffusion·comfyui·ai漫剧
一去不复返的通信er1 个月前
Stable Diffusion详解
stable diffusion
月疯1 个月前
Stable Diffusion是如何生成视频
人工智能·stable diffusion
Eric.462 个月前
2026 AI 漫剧叙事可控性深度工程:解决逻辑崩坏、镜头错乱、道具漂移的高阶落地方案
人工智能·stable diffusion·comfyui·ai漫剧
Eric.462 个月前
用 Stable Diffusion 做 AI 漫剧:从静态分镜到动态漫视频的完整工程链路
人工智能·深度学习·stable diffusion·音视频·ai漫剧
Eric.462 个月前
AI漫剧量产Prompt参数实操手册:Stable Diffusion+ComfyUI+OpenClaw通用复制即用配置
人工智能·深度学习·stable diffusion·prompt·ai漫剧
Eric.462 个月前
OpenClaw 结合 Stable Diffusion 与 ComfyUI 实现本地离线 AI 漫剧全自动流水线|批量渲染、人设一致性、帧闪烁问题工程实践
人工智能·stable diffusion·comfyui·ai漫剧
Eric.462 个月前
Stable Diffusion+ComfyUI+OpenClaw AI漫剧量产提示词工程:结构化Prompt、负面词脱敏、权重锁定防画面崩坏全方案
大数据·人工智能·stable diffusion·prompt·comfyui·ai漫剧