> For the complete documentation index, see [llms.txt](https://sogni.gitbook.io/sogni-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sogni.gitbook.io/sogni-docs/sogni-pocket/advanced-features/controlnet/sketch-a-masterpiece.md).

# Sketch a Masterpiece

<figure><img src="/files/u9exRZK2I7yolli11DGp" alt=""><figcaption></figcaption></figure>

<p align="right"><a href="https://www.youtube.com/watch?v=SYUG7lZY9Z8"><strong>▶️ Watch Tutorial Video</strong></a></p>

&#x20;  &#x20;

This feature gives you enhanced control over your creations, allowing you to transform simple sketches into stunning artwork using an additional ControlNet model. The following options are available:

<mark style="color:yellow;">**Scribble:**</mark> Create images from scribbles or freehand drawings.

<mark style="color:yellow;">**LineArt:**</mark> Excels at translating line art into images of any style.

<mark style="color:yellow;">**LineArt Anime:**</mark> Specifically optimized for anime-style output.

<mark style="color:yellow;">**Canny:**</mark> Works with the outlines of an image. It works best if the reference image is an inverted outline-style image (white outline on black background).

&#x20;  &#x20;

### 💡Tips:

* &#x20; Inverting your sketch image (e.g., white sketch on a black background and vice versa) can yield different results. Experiment with the Invert button located at the bottom-right corner of the canvas.
* **Prompt and Style** are crucial for guiding your generations effectively.
* Increasing the number of steps beyond 30 can improve the results.
* Adjusting line width can significantly impact the outcome, so don't hesitate to experiment.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sogni.gitbook.io/sogni-docs/sogni-pocket/advanced-features/controlnet/sketch-a-masterpiece.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
