From 45171e7b3ea8db0004e763714202da7e0a89d4b2 Mon Sep 17 00:00:00 2001 From: John Karabudak Date: Sun, 16 Jun 2024 00:24:25 -0230 Subject: [PATCH] added four new environment variables for ComfyUI - COMFYUI_CFG_SCALE: sets cfg_scale to be passed to ComfyUI - COMFYUI_SAMPLER: sets the sampler - COMFYUI_SCHEDULER: sets the scheduler - COMFYUI_SD3: uses the SD3 latent image --- docs/getting-started/env-configuration.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 221dd2d..3bb7d16 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -469,6 +469,26 @@ Query: [query] - Description: Specifies the URL to the ComfyUI image generation API. +#### `COMFYUI_CFG_SCALE` + +- Default: `7` +- Description: Specifies a `cfg_scale` value to use with ComfyUI. If you are using Stable Diffusion 3, the recommended value is `5.5`. + +#### `COMFYUI_SAMPLER` + +- Default: `euler` +- Description: Specifies a sampler to use with ComfyUI. + +#### `COMFYUI_SCHEDULER` + +- Default: `normal` +- Description: Specifies a scheduler to use with ComfyUI. If you are using Stable Diffusion 3, the recommended value is `sgm_uniform`. + +#### `COMFYUI_SD3` + +- Default: `False` +- Description: Sets ComfyUI to Stable Diffusion 3 mode. SD3 will work without this set, but the image quality will be significantly lower. Requires a recent version of ComfyUI. + #### `IMAGES_OPENAI_API_KEY` - Default: `${OPENAI_API_KEY}`