← 开源

Stable-diffusion with Real-ESRGAN for upsampling

ApplicationsContent creationPython
增长势头
+024 小时新增 Star0.0%
74
Star
8
Fork
+0
本周
0
贡献者
创建于 2022-09-11 · 更新于 2026-02-25 · 今日第 28281 名
README

cog-sd-txt2imghd

Try Replicate web demo here:

This is a Cog implementation of Detailed, higher-resolution images from Stable-Diffusion, originally implemented by @jquesnelle here. Additionally, safety checker is added.

txt2imghd is a port of the GOBIG mode from progrockdiffusion applied to Stable Diffusion, with Real-ESRGAN as the upscaler. It creates detailed, higher-resolution images by first generating an image from a prompt, upscaling it, and then running img2img on smaller pieces of the upscaled image, and blending the result back into the original image.

txt2imghd with default settings has the same VRAM requirements as regular Stable Diffusion, although generation of the detailed images will take longer.

Get started locally

Install Cog if you haven't:

  1. Clone stable-diffusion git clone https://github.com/CompVis/stable-diffusion
  2. Put cog.yaml and predict.py in the root directory of stable-diffusion and download weights (as noted at the top of predict.py)
  3. Generate high-resolution images with cog predict --prompt <your_prompt>
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载