https://github.com/lucataco/cog-sdxl-controlnet
Attempt at cog wrapper for SDXL Controlnet - Canny
https://github.com/lucataco/cog-sdxl-controlnet
cog
Last synced: 5 months ago
JSON representation
Attempt at cog wrapper for SDXL Controlnet - Canny
- Host: GitHub
- URL: https://github.com/lucataco/cog-sdxl-controlnet
- Owner: lucataco
- Created: 2023-08-14T05:56:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T15:33:59.000Z (over 1 year ago)
- Last Synced: 2024-11-25T16:36:13.651Z (over 1 year ago)
- Topics: cog
- Language: Python
- Homepage: https://replicate.com/lucataco/sdxl-controlnet
- Size: 4.28 MB
- Stars: 13
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# diffusers/controlnet-canny-sdxl-1.0 Cog model
[](https://replicate.com/pnyompen/sd-controlnet-lora)
This is an implementation of the [diffusers/controlnet-canny-sdxl-1.0](https://huggingface.co/diffusers/controlnet-canny-sdxl-1.0) as a Cog model. [Cog packages machine learning models as standard containers.](https://github.com/replicate/cog)
First, download the pre-trained weights:
cog run script/download-weights
Then, you can run predictions:
cog predict -i image=@demo.png -i prompt="aerial view, a futuristic research complex in a bright foggy jungle, hard lighting" -i negative_prompt="low quality, bad quality, sketches"
## Example:
Input:
"aerial view, a futuristic research complex in a bright foggy jungle, hard lighting"

Output:
