jagilley / controlnet-scribble

Generate detailed images from scribbled drawings

replicate.com
Total runs: 38.2M
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Github
Model's Last Updated: February 14 2023

Introduction of controlnet-scribble

Model Details of controlnet-scribble

Readme

Model by Lyumin Zhang

Usage

To start, draw a picture of something that you’d like to generate an image of. There’s a nice Replicate-powered UI for doing this at https://scribblediffusion.com/ , though you can also upload an image through this UI or using the Replicate python API.

Then, prompt the model to generate an image as you would for Stable Diffusion. The model generating the image will use your drawing as a template to guide image generation. At the end, you should have an image that looks like your drawing:

Model description

This model is ControlNet adapting Stable Diffusion to use a line drawing (or “scribble”) in addition to a text input to generate an output image.

ControlNet is a neural network structure which allows control of pretrained large diffusion models to support additional input conditions beyond prompts. The ControlNet learns task-specific conditions in an end-to-end way, and the learning is robust even when the training dataset is small (< 50k samples). Moreover, training a ControlNet is as fast as fine-tuning a diffusion model, and the model can be trained on a personal device. Alternatively, if powerful computation clusters are available, the model can scale to large amounts of training data (millions to billions of rows). Large diffusion models like Stable Diffusion can be augmented with ControlNets to enable conditional inputs like edge maps, segmentation maps, keypoints, etc.

Original model & code on GitHub

Other ControlNets

There are many different ways to use a ControlNet to modify the output of Stable Diffusion. Here are a few different options, all of which use an input image in addition to a prompt to generate an output. The methods process the input in different ways; try them out to see which works best for a given application.

ControlNet for generating images from drawings Scribble: https://replicate.com/jagilley/controlnet-scribble

ControlNets for generating humans based on input image Human Pose Detection: https://replicate.com/jagilley/controlnet-pose

ControlNets for preserving general qualities about an input image Edge detection: https://replicate.com/jagilley/controlnet-canny HED maps: https://replicate.com/jagilley/controlnet-hed Depth map: https://replicate.com/jagilley/controlnet-depth2img Hough line detection: https://replicate.com/jagilley/controlnet-hough Normal map: https://replicate.com/jagilley/controlnet-normal

Citation
@misc{https://doi.org/10.48550/arxiv.2302.05543,
  doi = {10.48550/ARXIV.2302.05543},
  url = {https://arxiv.org/abs/2302.05543},
  author = {Zhang, Lvmin and Agrawala, Maneesh},
  keywords = {Computer Vision and Pattern Recognition (cs.CV), Artificial Intelligence (cs.AI), Graphics (cs.GR), Human-Computer Interaction (cs.HC), Multimedia (cs.MM), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {Adding Conditional Control to Text-to-Image Diffusion Models},
  publisher = {arXiv},
  year = {2023},
  copyright = {arXiv.org perpetual, non-exclusive license}
}

Pricing of controlnet-scribble replicate.com

Run time and cost

This model costs approximately $0.0065 to run on Replicate, or 153 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker .

This model runs on Nvidia A100 (80GB) GPU hardware . Predictions typically complete within 5 seconds.

Runs of jagilley controlnet-scribble on replicate.com

38.2M
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About controlnet-scribble replicate.com Model

More controlnet-scribble license Visit here:

https://github.com/replicate/controlnet/blob/main/LICENSE

controlnet-scribble replicate.com

controlnet-scribble replicate.com is an AI model on replicate.com that provides controlnet-scribble's model effect (Generate detailed images from scribbled drawings), which can be used instantly with this jagilley controlnet-scribble model. replicate.com supports a free trial of the controlnet-scribble model, and also provides paid use of the controlnet-scribble. Support call controlnet-scribble model through api, including Node.js, Python, http.

controlnet-scribble replicate.com Url

https://replicate.com/jagilley/controlnet-scribble

jagilley controlnet-scribble online free

controlnet-scribble replicate.com is an online trial and call api platform, which integrates controlnet-scribble's modeling effects, including api services, and provides a free online trial of controlnet-scribble, you can try controlnet-scribble online for free by clicking the link below.

jagilley controlnet-scribble online free url in replicate.com:

https://replicate.com/jagilley/controlnet-scribble

controlnet-scribble install

controlnet-scribble is an open source model from GitHub that offers a free installation service, and any user can find controlnet-scribble on GitHub to install. At the same time, replicate.com provides the effect of controlnet-scribble install, users can directly use controlnet-scribble installed effect in replicate.com for debugging and trial. It also supports api for free installation.

controlnet-scribble install url in replicate.com:

https://replicate.com/jagilley/controlnet-scribble

controlnet-scribble install url in github:

https://github.com/replicate/controlnet

Url of controlnet-scribble

controlnet-scribble replicate.com Url

controlnet-scribble Owner Github

Provider of controlnet-scribble replicate.com

Other API from jagilley

replicate

Modify images using M-LSD line detection

Total runs: 9.5M
Run Growth: 0
Growth Rate: 0.00%
Updated:February 15 2023
replicate

Modify images using canny edge detection

Total runs: 824.7K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2023
replicate

Modify images using HED maps

Total runs: 515.2K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 14 2023
replicate

Modify images using normal maps

Total runs: 330.5K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2023
replicate

Modify images with humans using pose detection

Total runs: 174.4K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2023
replicate

Modify images using semantic segmentation

Total runs: 166.3K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 15 2023
replicate

Change voice for spoken text

Total runs: 71.6K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 28 2023
replicate

Modify images with a prompt while preserving their structure

Total runs: 61.9K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 24 2023
replicate

Create variations of an image while preserving shape and depth

Total runs: 57.2K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 27 2023