Skip to main content

ControlNet Scribble - Sketch to Image

Convert simple sketches and line drawings into detailed, realistic images using ControlNet Scribble. This advanced AI model combines your sketch input with text descriptions to generate high-quality images that maintain your structural vision while adding realistic details, textures, and colors.

Model Information

  • Provider: Replicate
  • Model ID: jagilley/controlnet-scribble:435061a1b5a4c1e26740464bf786efdfa9cb3a3ac488595a2de23e143fdb0117
  • Input: Sketch/line drawing + text prompt
  • Output: High-quality generated image

Request Parameters

Field NameTypeExampleDescriptionRequired
typetextSKETCH_TO_IMAGEFeature identifier✔️
modeltextjagilley/controlnet-scribble:435061a1b5a4c1e26740464bf786efdfa9cb3a3ac488595a2de23e143fdb0117AI model identifier✔️
conversationIdtextSKETCH_TO_IMAGEConversation context✔️
promptObject.imageUrlstringhttps://example.com/sketch.jpgURL of the sketch image to transform✔️
promptObject.promptstringA beautiful landscape with mountains and treesText description of desired output✔️
promptObject.image_resolutionstring512resolution of image✖️
promptObject.negative_promptstringblurry, low quality, distortedWhat to avoid in the output✖️

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Code Example

curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "SKETCH_TO_IMAGE",
"model": "jagilley/controlnet-scribble:435061a1b5a4c1e26740464bf786efdfa9cb3a3ac488595a2de23e143fdb0117",
"conversationId": "SKETCH_TO_IMAGE",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_46_46_383_dress.png",
"prompt": "A beautiful mountain landscape at sunset with vibrant colors and detailed textures",
"image_resolution": "512",
"negative_prompt": "blurry, low quality, distorted, ugly"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "SKETCH_TO_IMAGE",
"model": "jagilley/controlnet-scribble:435061a1b5a4c1e26740464bf786efdfa9cb3a3ac488595a2de23e143fdb0117",
"conversationId": "SKETCH_TO_IMAGE",
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_46_46_383_dress.png",
"prompt": "A beautiful mountain landscape at sunset with vibrant colors and detailed textures",
"image_resolution": "512",
"negative_prompt": "blurry, low quality, distorted, ugly"
}
}'

Response Format

{
"aiRecord": {
"uuid": "s2i1m2a3g4-e5f6-7890-bcde-f123456789cd",
"userId": "user-12345",
"teamId": "team-67890",
"teamUser": {
"teamId": "team-67890",
"userId": "user-12345",
"userName": "John Doe",
"userAvatar": "https://example.com/avatar.jpg",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 35000,
"createdAt": "2025-01-01T00:00:00.000Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-01-15T15:00:00.000Z",
"updatedBy": "SYSTEM"
},
"model": "jagilley/controlnet-scribble:435061a1b5a4c1e26740464bf786efdfa9cb3a3ac488595a2de23e143fdb0117",
"type": "SKETCH_TO_IMAGE",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": "SKETCH_TO_IMAGE",
"status": "SUCCESS",
"createdAt": "2025-01-15T15:00:00.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "development/images/2025_10_27_16_46_46_383_dress.png",
"prompt": "A beautiful mountain landscape at sunset with vibrant colors and detailed textures",
"image_resolution": "512",
"negative_prompt": "blurry, low quality, distorted, ugly"
},
"resultObject": [
"development/images/2025_01_15_15_00_90_001_sketch_to_image.png"
],
"responseObject": [
"https://replicate.delivery/pbxt/example/sketch.png",
"https://replicate.delivery/pbxt/example/result.png"
]
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_15_00_90_001_sketch_to_image.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=EXAMPLE_CREDENTIAL&X-Amz-Date=20250115T150000Z&X-Amz-Expires=604800&X-Amz-Signature=example_signature&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}