hdae/txt2img

0

stars

58

commits

Python

primary language

Apr 18, 2026

updated

README

txt2img

Text-to-Image generation service using Diffusers + FastAPI.

πŸ‡―πŸ‡΅ ζ—₯本θͺž (Japanese) | πŸ€– for Agents

Documentation

Quick Start (Local)

  1. Setup Environment:

    cp .env.example .env
    vim .env  # Set CONFIG (e.g., config/chroma/flash)
    
  2. Run:

    task up
    # or: docker compose up
    
  3. Access:

Cloud / RunPod

For cloud deployments (e.g., RunPod), use the pre-built Docker image.

  • Image: hdae/txt2img:latest
  • Environment Variables:
    • CONFIG: Model preset path (e.g., sdxl/illustrious).
    • CIVITAI_API_KEY: Required for downloading models.
    • HF_TOKEN: Required for HuggingFace gated models.
    • VRAM_PROFILE: full (recommended for 24GB+), balanced, or lowvram.

RunPod Template Example

docker run --rm -p 8000:8000 --gpus all \
  -e CONFIG=sdxl/illustrious \
  -e CIVITAI_API_KEY=your_key \
  hdae/txt2img:latest

Contributors

hdae

58 commits

hdae/txt2img

0

stars

58

commits

Python

primary language

Apr 18, 2026

updated

README

txt2img

Text-to-Image generation service using Diffusers + FastAPI.

πŸ‡―πŸ‡΅ ζ—₯本θͺž (Japanese) | πŸ€– for Agents

Documentation

Quick Start (Local)

  1. Setup Environment:

    cp .env.example .env
    vim .env  # Set CONFIG (e.g., config/chroma/flash)
    
  2. Run:

    task up
    # or: docker compose up
    
  3. Access:

Cloud / RunPod

For cloud deployments (e.g., RunPod), use the pre-built Docker image.

  • Image: hdae/txt2img:latest
  • Environment Variables:
    • CONFIG: Model preset path (e.g., sdxl/illustrious).
    • CIVITAI_API_KEY: Required for downloading models.
    • HF_TOKEN: Required for HuggingFace gated models.
    • VRAM_PROFILE: full (recommended for 24GB+), balanced, or lowvram.

RunPod Template Example

docker run --rm -p 8000:8000 --gpus all \
  -e CONFIG=sdxl/illustrious \
  -e CIVITAI_API_KEY=your_key \
  hdae/txt2img:latest

Contributors

hdae

58 commits

Languages

Python

59.5%

TypeScript

39.1%