> For the complete documentation index, see [llms.txt](https://joe-kyx.gitbook.io/kyx-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joe-kyx.gitbook.io/kyx-ai/commands/image-generation.md).

# Image Generation

One of Kyx Ai's key features is image generation

Kyx Ai allows you to generate images. You can either ask Kyx Ai to draw an image for you through chat by mentioning it *"@Kyx Ai hey, please draw an image of ... for me"* or by using one of the **image\_generation commands.**&#x20;

Kyx Ai also offers you the possibility to **upload your images and remix** them.

Dive into the art of digital creation with Kyx Ai and discover the endless possibilities at your fingertips. Remember, the only limit is your imagination!

## /generate\_image

Tells Kyx Ai to generate an image.

> &#x20;/generate\_image prompt style photo\_real number\_of\_images

<details>

<summary>Available Arguments</summary>

**prompt (required):** The prompt to generate an image from.&#x20;

*Example: Tokyo at night, sport cars driving around, full moon reflecting on the streets, neon lights*

**style:** Choose from a list of styles to generate the image in

**number\_of\_images:** The amount of images that should be generated

</details>

### Example

<figure><img src="https://1840235248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdbDB5sM45BUwFUEszku%2Fuploads%2FxEId9dbCgaX58yW5E6x7%2Fimage.png?alt=media&amp;token=302359da-3d49-4b46-983f-29af3aa72195" alt=""><figcaption><p>Input Command</p></figcaption></figure>

<figure><img src="https://1840235248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdbDB5sM45BUwFUEszku%2Fuploads%2FG9lLvWKNrl52xL4r51LB%2Fimage.png?alt=media&amp;token=f45b6849-be9a-4959-b803-23df2d9ba9fe" alt=""><figcaption><p>The results</p></figcaption></figure>

## /generate\_image\_advanced

Works similar to the /generate\_image command but offers more settings. Try around with them to find the perfect settings for your requirments.&#x20;

<details>

<summary>Available Arguments</summary>

**prompt (required):** The prompt to generate an image from.&#x20;

**negative\_prompt:** In the negative prompt you can specify what should not be in the image

**number\_of\_images:** The amount of images that should be generated

**height:** The height of the generated images in pixels

**width:** The width of the generated images in pixels

**alchemy:** Whether to use alchemy feature. Alchemy brings incredibly high-fidelity image generation.

**prompt\_magic:** Whether to use prompt magic. Brings higher coherence with your prompt.

**prompt\_magic\_strength:** The strength of the prompt magic. A value between 0.1 and 1

**high\_resolution:** Enable to use the High Contrast feature of Prompt Magic.

**photo\_real:** Enable the photo real feature. Requires enabling alchemy.

**photo\_real\_strength:** Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high.

**preset\_style:** The preset style to use. This is an advanced setting that you should not change unless you know what you are doing.

**scheduler:** The scheduler to use. This is an advanced setting that you should not change unless you know what you are doing.

**uploaded\_image\_name:** Use a previously uploaded image as input for your generation (/upload\_image)

**input\_image:** Upload an image to use as input for your generation

</details>

## /upload\_image

Lets you upload an image which then can later be used in other commands.

<details>

<summary>Available Arguments</summary>

**image (required):** The image to upload

**name:** If you set a name, you can use the image in the future by referencing the name in the generate\_image\_advanced command. If no name is set, you will have to use an auto-generated ID to reference the image.

</details>

### Example

<figure><img src="https://1840235248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdbDB5sM45BUwFUEszku%2Fuploads%2FmCTkSBQajIwtroz9X4fY%2Fimage.png?alt=media&amp;token=ee9b581a-97e8-4c2b-b69d-36322caaf3e2" alt=""><figcaption><p>Uploading a picture</p></figcaption></figure>

<figure><img src="https://1840235248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdbDB5sM45BUwFUEszku%2Fuploads%2Fnjy2R0gXCv4Grla25H49%2Fimage.png?alt=media&amp;token=6ff1bdcf-c167-4cbf-af26-dc3224bac041" alt=""><figcaption><p>To later use it in another command</p></figcaption></figure>

## /my\_uploaded\_images

View a catalog of your uploaded images, ready for use or remixing.

## /remix\_image

Combine creativity and technology by remixing an existing or uploaded image for something truly unique.

<details>

<summary>Available Arguments</summary>

**prompt (required):** The prompt to generate the image from

**image:** Upload an image to use as input for your generation&#x20;

**uploaded\_image:** Use a previously uploaded image as input for your generation [#upload\_image](#upload_image "mention"). You can use [#my\_uploaded\_images](#my_uploaded_images "mention") to see your uploaded images.

**style:** The style of the generated image

**height:** The height of the generated images in pixels

**width:** The width of the generated images in pixels

**photo\_real:** Whether to use a photo real model&#x20;

**number\_of\_images:** The number of images to generate

</details>

### Example

<figure><img src="https://1840235248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdbDB5sM45BUwFUEszku%2Fuploads%2FEivJfUkxi3PuxW9f31VD%2Fimage.png?alt=media&amp;token=a5cb7ed0-a42f-46fc-8404-3f02d90ee947" alt=""><figcaption><p>Uploading an image to "remix it"</p></figcaption></figure>
