ControlNet Preprocess Scribble
ControlNet Preprocess Scribble converts an input image into a simplified scribble-style guide for ControlNet conditioning. It is best for workflows that want loose structural guidance, rough composition transfer, or sketch-based reinterpretation instead of strict edge preservation.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
scribble-extraction
Aerospace Founder Headshot Retouch Guide$0.0006~4s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:controlnet-preprocess@scribble',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/83ba7f04-23d6-4b6d-a117-0cc0c9484019.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/83ba7f04-23d6-4b6d-a117-0cc0c9484019.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "controlNetPreprocess",
"taskUUID": "e0fd5f7b-bd93-49b5-be84-afcf8618d7b2",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/83ba7f04-23d6-4b6d-a117-0cc0c9484019.jpg"
}
}
]'runware run runware:controlnet-preprocess@scribble \
inputs.image=https://assets.runware.ai/assets/inputs/83ba7f04-23d6-4b6d-a117-0cc0c9484019.jpg{
"taskType": "controlNetPreprocess",
"taskUUID": "e0fd5f7b-bd93-49b5-be84-afcf8618d7b2",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/83ba7f04-23d6-4b6d-a117-0cc0c9484019.jpg"
}
}Response
{
"taskType": "imageControlNetPreProcess",
"taskUUID": "e0fd5f7b-bd93-49b5-be84-afcf8618d7b2",
"guideImageURL": "https://im.runware.ai/image/os/a03d21/ws/3/ii/bc4b4c10-e090-4839-9948-e6377b4ace4e.jpg",
"cost": 0.0006,
"guideImageUUID": "bc4b4c10-e090-4839-9948-e6377b4ace4e",
"inputImageUUID": "e5c77cab-71a8-4db2-b432-01cbe0568e3a"
}scribble-extraction
Avalanche Team Portrait Scribble Guide$0.0006~7s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:controlnet-preprocess@scribble',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/1dd0dadc-4b7e-4f15-909a-4661a728e876.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/1dd0dadc-4b7e-4f15-909a-4661a728e876.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "controlNetPreprocess",
"taskUUID": "cc3a04eb-ddb4-4493-bea4-2c0dca561415",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/1dd0dadc-4b7e-4f15-909a-4661a728e876.jpg"
}
}
]'runware run runware:controlnet-preprocess@scribble \
inputs.image=https://assets.runware.ai/assets/inputs/1dd0dadc-4b7e-4f15-909a-4661a728e876.jpg{
"taskType": "controlNetPreprocess",
"taskUUID": "cc3a04eb-ddb4-4493-bea4-2c0dca561415",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/1dd0dadc-4b7e-4f15-909a-4661a728e876.jpg"
}
}Response
{
"taskType": "imageControlNetPreProcess",
"taskUUID": "cc3a04eb-ddb4-4493-bea4-2c0dca561415",
"guideImageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/9a7dfa87-7a87-45a5-83a2-bc7a8aaa9668.jpg",
"cost": 0.0006,
"guideImageUUID": "9a7dfa87-7a87-45a5-83a2-bc7a8aaa9668",
"inputImageUUID": "c77c4b50-ba6b-4f0b-837a-f1f786920844"
}scribble-extraction
Damaged Clinic Bus Restoration Guide$0.0006~3s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:controlnet-preprocess@scribble',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/50d52ff4-243d-42cf-9744-63c2743d6f24.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/50d52ff4-243d-42cf-9744-63c2743d6f24.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "controlNetPreprocess",
"taskUUID": "1100f233-761b-406c-9b12-3f51fb5c4f64",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/50d52ff4-243d-42cf-9744-63c2743d6f24.jpg"
}
}
]'runware run runware:controlnet-preprocess@scribble \
inputs.image=https://assets.runware.ai/assets/inputs/50d52ff4-243d-42cf-9744-63c2743d6f24.jpg{
"taskType": "controlNetPreprocess",
"taskUUID": "1100f233-761b-406c-9b12-3f51fb5c4f64",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/50d52ff4-243d-42cf-9744-63c2743d6f24.jpg"
}
}Response
{
"taskType": "imageControlNetPreProcess",
"taskUUID": "1100f233-761b-406c-9b12-3f51fb5c4f64",
"guideImageURL": "https://im.runware.ai/image/os/a05d22/ws/3/ii/ac4de470-47cb-481e-8c77-9d9cc173a57a.jpg",
"cost": 0.0006,
"guideImageUUID": "ac4de470-47cb-481e-8c77-9d9cc173a57a",
"inputImageUUID": "fce8cdbb-f2ab-4d9e-89a4-960241deb22e"
}scribble-extraction
Bathysphere Panorama Expansion Guide$0.0006~3s
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:controlnet-preprocess@scribble',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/596641df-6f54-4cce-a5f8-1dca44569e85.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/596641df-6f54-4cce-a5f8-1dca44569e85.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "controlNetPreprocess",
"taskUUID": "09f9111a-219b-4322-98d3-3a29913415f1",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/596641df-6f54-4cce-a5f8-1dca44569e85.jpg"
}
}
]'runware run runware:controlnet-preprocess@scribble \
inputs.image=https://assets.runware.ai/assets/inputs/596641df-6f54-4cce-a5f8-1dca44569e85.jpg{
"taskType": "controlNetPreprocess",
"taskUUID": "09f9111a-219b-4322-98d3-3a29913415f1",
"model": "runware:controlnet-preprocess@scribble",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/596641df-6f54-4cce-a5f8-1dca44569e85.jpg"
}
}Response
{
"taskType": "imageControlNetPreProcess",
"taskUUID": "09f9111a-219b-4322-98d3-3a29913415f1",
"guideImageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/826895ed-bafc-4b8a-b021-414a38e818d7.jpg",
"cost": 0.0006,
"guideImageUUID": "826895ed-bafc-4b8a-b021-414a38e818d7",
"inputImageUUID": "87e67872-7cea-46c9-afef-7b4fe6ee0f78"
}