> 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/tutorials/guides/how-to-transform-a-simple-sketch-into-stunning-images.md).

# How to Transform a Simple Sketch into Stunning Images

You can swiftly elevate a basic sketch into a sophisticated work of art with Sogni. Just follow these steps: \
\
**1.** Launch an SD model that supports ControlNet. (Sample images were generated using 🅂 Sogni Artist 𝛂3) \
\
**2.** Drag and drop your sketch image into the ControlNet module. Optionally, you can use the Sketch preprocessor to refine your image.&#x20;

<div><figure><img src="/files/wbMMw1hlqw5kuKQAVenw" alt="" width="301"><figcaption></figcaption></figure> <figure><img src="/files/tI6bfT1SM3qBKqN5eTBS" alt="" width="301"><figcaption></figcaption></figure></div>

**3.** Choose one of the ControlNet models: Scribble, LineArt, or LineArt (Anime).&#x20;

<div align="center"><figure><img src="/files/uWwsiCRtIL3t052JTwc3" alt="" width="303"><figcaption></figcaption></figure></div>

**4.** Provide a prompt describing what your sketch represents, the desired style, etc. \
\
**5.** Generate the image.&#x20;

{% hint style="info" %}
Inverting your sketch image colors, making it a white sketch on a black background, can yield better results, especially with the LineArt CN models. Utilize the invert preprocessor to reverse the colors of your sketch image.
{% endhint %}

<div><figure><img src="/files/O3vI9YscF52zozKf0E5i" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/n9JOm0YnLYVPh3SnM7Fo" alt="" width="375"><figcaption></figcaption></figure></div>

<div><figure><img src="/files/8LW2gG2hL0p5Pv178Yqt" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/hgyopbDg78a4dbR3z3ZO" alt="" width="375"><figcaption></figcaption></figure></div>


---

# 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/tutorials/guides/how-to-transform-a-simple-sketch-into-stunning-images.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.
