WIP documentation work

This commit is contained in:
doctorpangloss 2024-05-21 11:38:20 -07:00
parent f69b6225c0
commit 5b9eadc165
6 changed files with 23 additions and 18 deletions

View File

@ -1 +1,2 @@
* @comfyanonymous * @comfyanonymous
* @doctorpangloss

View File

@ -477,6 +477,11 @@ The default installation includes a fast latent preview method that's low-resolu
Ctrl can also be replaced with Cmd instead for macOS users Ctrl can also be replaced with Cmd instead for macOS users
# Configuration
## Extra Model Paths
### Command Line Arguments ### Command Line Arguments
``` ```
@ -706,7 +711,7 @@ async with EmbeddedComfyClient() as client:
# At this point, all the models have been unloaded from VRAM, and everything has been cleaned up. # At this point, all the models have been unloaded from VRAM, and everything has been cleaned up.
``` ```
See [script_examples/basic_api_example.py](script_examples/basic_api_example.py) for a complete example. See [script_examples/basic_api_example.py](docs/examples/script_examples/basic_api_example.py) for a complete example.
### Remote ### Remote
@ -722,7 +727,7 @@ with open("image.png", "rb") as f:
f.write(png_image_bytes) f.write(png_image_bytes)
``` ```
See [script_examples/remote_api_example.py](script_examples/remote_api_example.py) for a complete example. See [script_examples/remote_api_example.py](docs/examples/script_examples/remote_api_example.py) for a complete example.
### OpenAPI Spec for Vanilla API, Typed Clients ### OpenAPI Spec for Vanilla API, Typed Clients

View File

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 116 KiB

View File

@ -3,22 +3,21 @@
#config for a1111 ui #config for a1111 ui
#all you have to do is change the base_path to where yours is installed #all you have to do is change the base_path to where yours is installed
a111: a1111:
base_path: path/to/stable-diffusion-webui/ base_path: path/to/stable-diffusion-webui/
checkpoints: models/Stable-diffusion
checkpoints: models/Stable-diffusion configs: models/Stable-diffusion
configs: models/Stable-diffusion vae: models/VAE
vae: models/VAE loras: |
loras: | models/Lora
models/Lora models/LyCORIS
models/LyCORIS upscale_models: |
upscale_models: | models/ESRGAN
models/ESRGAN models/RealESRGAN
models/RealESRGAN models/SwinIR
models/SwinIR embeddings: embeddings
embeddings: embeddings hypernetworks: models/hypernetworks
hypernetworks: models/hypernetworks controlnet: models/ControlNet
controlnet: models/ControlNet
#config for comfyui #config for comfyui
#your base path should be either an existing comfy install or a central folder where you store all of your models, loras, etc. #your base path should be either an existing comfy install or a central folder where you store all of your models, loras, etc.