Skip to main content
Core.Today
|
ControlNetMediumHigh

ControlNet Scribble

The classic sketch-to-image model (38M+ runs) โ€” turn any scribble or line drawing into a detailed image guided by your prompt. Draw the composition, describe the content.

120 credits
per run (num_samples '4' costs 480)
Sketch controls composition, prompt controls content
38M+ runs โ€” the scribble standard
1 or 4 samples per run
Additional prompt / negative prompt refinement

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "jagilley/controlnet-scribble",
  "input": {
    "image": "https://example.com/house-sketch.png",
    "prompt": "a cozy cottage in a forest, warm sunset light, storybook illustration",
    "image_resolution": "512"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-What the final image should be
imagestringYes-Scribble/line drawing input
num_samplesstringNo1Number of images ('1' or '4'). '4' is billed 4x
14
image_resolutionstringNo512Output resolution
256512768
ddim_stepsintegerNo20Denoising steps
scalenumberNo9Prompt guidance scale (0.1-30)
seedintegerNo-Random seed
etanumberNo0eta (DDIM)
a_promptstringNobest quality, extremely detailedAdded quality prompt
n_promptstringNolongbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low qualityNegative prompt

How to Provide File Input

There are 3 ways to provide files for the image parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=jagilley/controlnet-scribble" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "jagilley/controlnet-scribble",
  "input": {
    "prompt": "your prompt here",
    "image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Sketch to Illustration

Turn a rough house sketch into a detailed illustration

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "jagilley/controlnet-scribble",
  "input": {
    "image": "https://example.com/house-sketch.png",
    "prompt": "a cozy cottage in a forest, warm sunset light, storybook illustration",
    "image_resolution": "512"
  }
}'

Tips & Best Practices

1Bold, clear lines in the sketch give the strongest composition control
2num_samples '4' explores variations quickly (billed 4x)
3For sketch editing with frontier quality, also try nano-banana or FLUX Kontext with the sketch attached

Use Cases

Concept art from rough sketches
Whiteboard drawing to illustration
Kid-drawing gift art
Layout-controlled product shots
Storyboard visualization