Stable-Diffusion-Unity-Integration  by dobrado76

Stable Diffusion image generation for Unity Editor workflows

Created 3 years ago
250 stars

Top 100.0% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

This project offers a Unity Editor component for integrating Stable Diffusion Automatic 1111 web UI, enabling AI image generation directly within Unity. It streamlines workflows for creating 3D model textures, normal maps, and UI assets, accelerating content creation pipelines for game developers and designers.

How It Works

The integration connects to a Stable Diffusion Automatic 1111 server (local or cloud) via its API. Users configure server settings and generation parameters using StableDiffusionConfiguration components and SDSettings ScriptableObjects. The tool supports text-to-image for 3D model texturing (with optional normal/bump maps) and UI elements, plus image-to-image for UI components.

Quick Start & Requirements

Highlighted Details

  • Text-to-image for 3D model texturing (including normal/bump maps) and UI elements.
  • Image-to-image generation for UI components.
  • Editor-only components, ensuring no runtime dependencies.
  • Control over standard generation parameters: Prompt, Negative Prompt, Sampler, Steps, CFG Scale, Dimensions, Seed.
  • Asynchronous generation with progress bar; lists server models.

Maintenance & Community

Contributions from UnityCoder, ALBRRT, FOXYTOCIN, PeixuanL, and TeoVibe focus on features like normal map generation, image-to-image, authentication, URP materials, and online server support. No explicit community channels are listed.

Licensing & Compatibility

Licensed under LGPL v2.1. Permits free use, modification, and distribution, including for commercial projects, provided derivative works are shared under the same license and the original source is attributed. Generated artwork requires no attribution.

Limitations & Caveats

Material generation components target Built-in and URP; HDRP support is experimental. Tested on Unity 2019-2021 and Unity 6, with expected broader compatibility.

Health Check
Last Commit

3 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.