Jagilley: ControlNet Scribble
jagilley/controlnet-scribble
Access ControlNet Scribble from Jagilley using the Puter.js AI API.
Add to your appModel Card
ControlNet Scribble is an image generation model that combines ControlNet with Stable Diffusion, taking a hand-drawn scribble and a text prompt and generating a full image that follows the scribble's structure.
ControlNet was introduced in "Adding Conditional Control to Text-to-Image Diffusion Models" by Lvmin Zhang and collaborators (ICCV 2023). It adds a trainable copy of a diffusion model's layers that accepts extra conditioning, such as edges, poses, or scribbles, without retraining the base model. The scribble variant was trained on scribble-image pairs built from boundary detection, handling rough hand-drawn lines too.
This is a hosted port of that scribble mode on Replicate, published by developer jagilley, reachable through an API that takes a sketch and a prompt and returns an image.
It suits turning a rough layout sketch into a finished illustration, useful for concept art or converting a wireframe drawing into a polished image while keeping its composition.
Cost Per Image $0.0014
per generation
Configuration second
resolution
Release Date N/A
Add ControlNet Scribble to your app
Use ControlNet Scribble in your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "jagilley/controlnet-scribble"
}).then(image => {
document.body.appendChild(image);
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.txt2img("A serene mountain landscape at sunset", {
model: "jagilley/controlnet-scribble"
}).then(image => {
document.body.appendChild(image);
});
</script>
</body>
</html>
Frequently Asked Questions
You can access ControlNet Scribble by Jagilley through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.
ControlNet Scribble is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.
| Price | |
|---|---|
| Per image | $0.0014 |
Yes — the ControlNet Scribble API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Add ControlNet Scribble to your app for free
Developers can integrate ControlNet Scribble for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.