edit

Media · Image · Scribble to image (ControlNet)

Turn a rough sketch/scribble into a finished image via Stable Diffusion ControlNet, steered by prompt (and negative_prompt). Pass the scribble as image_url or base64 image. Generates a NEW image from line art; to edit an existing photo use magicInpaint / generativeFill. Async — returns a task_id (auto-polled).

post/api/v1/tools/sd-scrible

Request

  • Base URL
    https://api.simplified.com
  • Auth
    API key in header Authorization

Request body

promptstring required

Text description of the desired output image.

negative_promptstring required

What to avoid in the generated image.

image_urlstring

URL of the scribble/sketch input image.

imagestring

Base64-encoded scribble image (alternative to image_url).

image_resolutioninteger

Output resolution in pixels.

stepsinteger

Diffusion steps (higher = better quality, slower).

guidance_scalenumber double

How closely to follow the prompt.

countsinteger

Number of variations to generate.

Response

Async task queued.

task_idstring

Poll GET /api/v1/tasks/{task_id} until SUCCESS or FAILURE.

Changes

No recorded changes to this operation across all 1 revision of this API.