---
description: >-
  This is a comprehensive guide detailing how to use the portrait mode image
  generator.
---

# Portrait Generator

The focus of portrait mode is to generate realistic faces.

<figure><img src="https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2FIjkDFj0zRjCCdHQ7Nh53%2FScreenshot%202023-06-22%20at%2022.20.24.png?alt=media&#x26;token=734a81ad-f00c-4411-a37f-d75e16b6bdbf" alt=""><figcaption><p>Different faces that can be generated with the portrait tool</p></figcaption></figure>

Because of this, the style is set to variations of colors that you want in your image -since it will use the same AI Engine for all of them- and the photography settings are focused on the composition, dimensions and identity.

## Composition

![](https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2FH5fzSzoxmrApbEyVhJSP%2FScreenshot%202023-06-26%20at%2015.50.12.png?alt=media\&token=cd67f4c9-10ec-4ff7-97a7-7d164c487ab9)

This allows you to focus on different views of the person:

* **Close-up**: For faces and hyper-realistic portraits.
* **Wait-up**: For a waist-view of the person
* **Full-body**: For the entire body view

<figure><img src="https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2FzIFJSxxAXtKP9YIpk01p%2FScreenshot%202023-06-26%20at%2015.53.15.png?alt=media&#x26;token=d2d68d1c-1b42-428d-9321-2a776dc96157" alt=""><figcaption><p>Same prompt, different focus depending on the selected composition </p></figcaption></figure>

## Dimensions

![](https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2FTqzchILE9uz8xsh87pH1%2FScreenshot%202023-06-26%20at%2015.50.23.png?alt=media\&token=b4f6cb51-f692-462b-8603-79562c0cde73)

Exactly the same as in [**Image generator**](image-generator), you can adjust the size of the image.

## Identify (beta)

![](https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2FjqrwBPRkykdt0npb5O4s%2FScreenshot%202023-06-26%20at%2015.50.33.png?alt=media\&token=ae97f21f-5d20-4020-a204-d6d39fd4e248)

You can also customize the look that you want your ai-generated person to be inspired upon. For example, this will generate Praetorian soldiers with the facial features of this picture from Elon Musk.&#x20;

<figure><img src="https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2F4RNczSMR14KMt24bVSbu%2FScreenshot%202023-06-22%20at%2022.28.04.png?alt=media&#x26;token=5530d7fe-cdef-46a9-94c8-383b1a619a6f" alt=""><figcaption><p>Sample "Elon Musk" praetorian with different styles and compositions.</p></figcaption></figure>

### Freezing the seed

![](https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2FxcpklAFyGEZJ5ujNFQB1%2FScreenshot%202023-06-26%20at%2015.41.37.png?alt=media\&token=d878203f-2991-40c2-aeef-eb6e6d86c76a)

Setting any arbitrary number here (like 42 or 12345) will allow you to consistently get the exact same results with the same prompt.&#x20;

There is a creativity trade-off since you will get less variations (since the same prompt will generate the same results) but it allows you to ensure you always get what you are looking for.

![](https://1025298504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLY2rXNTpHIzl6JFxbxzb%2Fuploads%2Fg68cVVHRmxyT6128acSD%2FScreenshot%202023-06-26%20at%2015.57.45.png?alt=media\&token=af9fde51-09d1-485d-af8f-c696d42707d6)

Finally, it is worth noting the difference in results between portrait and image generation mode, where one is clearly more realistic and focused on the facial features than the other one.

```markup
A vibrant portrait of a man wearing a traditional mariachi suit, 
confidently holding a trumpet, and gazing spiritedly at the viewer. 
Inspired by Diego Rivera's painting style.
```

And there you have it! You are now ready to create amazing portraits with KREA.
