> 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-generate-photorealistic-faces.md).

# How to generate Photorealistic Faces

Struggling to create photorealistic faces within Sogni? Here are some tips to help you on your creative journey: \
\
• Add keywords related to the face you want in the image. Just mentioning the style of eyes or type of facial expression can already help. Also, adding keywords like "perfect face" or "highly detailed face" usually makes the model put in more effort. \
\
• Use a lower Guidance Scale setting when looking for photorealistic results. **A lower Guidance setting around 5-6** can help maintain softer edges and achieve more realistic lighting, film, and atmospheric effects. \
\
• For achieving photorealistic faces, consider experimenting with the Film and Photography style presets to fine-tune the visual nuances. \
\
• Turn OFF automatic scaling in the Advanced tab. The upscaler can sometimes lead to excessive smoothing, particularly on faces and skin areas, resulting in an unnatural appearance.

<div><figure><img src="/files/oSOdTBR1QeQ4DKxB7Xiv" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/NDK5EvmfwcXtf9W0apRy" alt="" width="375"><figcaption></figcaption></figure></div>

▶️ **Tutorial video:** [Creating Photorealistic Portraits in Sogni AI](https://youtu.be/sHOpCedS9sU?feature=shared)

{% embed url="<https://youtu.be/sHOpCedS9sU?feature=shared>" %}


---

# 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-generate-photorealistic-faces.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.
