DiffuGen logo

DiffuGen

by CLOUDWERX-DEV

DiffuGen is a powerful MCP-based image generation system that brings cutting-edge AI models directly into your development workflow. It seamlessly integrates both Flux models and Stable Diffusion variants into a unified interface.

View on GitHub

Last updated: N/A

What is DiffuGen?

DiffuGen is an MCP server that provides text-to-image generation capabilities, integrating Flux and Stable Diffusion models into IDEs like Cursor and Windsurf. It also offers an OpenAPI server for direct HTTP access to image generation.

How to use DiffuGen?

Install DiffuGen using the provided setup script or manually. Configure your IDE's MCP settings by copying the contents of diffugen.json. Start the DiffuGen server and use natural language commands in your IDE or the OpenAPI to generate images.

Key features of DiffuGen

  • Multiple Model Support (Flux, SDXL, SD3, SD1.5)

  • MCP Integration with IDEs

  • OpenAPI Server for HTTP access

  • Cross-Platform Compatibility

  • Fine-grained Parameter Control

  • CUDA Acceleration

  • Natural Language Interface

Use cases of DiffuGen

  • Generating visual concepts directly within your IDE

  • Creating AI art for various projects

  • Prototyping image assets for games and applications

  • Automating image generation tasks using the OpenAPI

  • Integrating AI image generation into chat interfaces

FAQ from DiffuGen

What is MCP?

MCP (Model Context Protocol) is a protocol that enables LLMs to access custom tools and services.

What models are supported?

DiffuGen supports Flux Schnell, Flux Dev, SDXL, SD3, and SD1.5 models.

How do I configure DiffuGen for my IDE?

Copy the contents of diffugen.json to your IDE's MCP configuration file.

How do I start the OpenAPI server?

Run python diffugen_openapi.py.

What are the minimum system requirements?

A 4-core processor, 8GB RAM, 5GB free disk space, Python 3.8+, and an optional GPU.