> ## Documentation Index
> Fetch the complete documentation index at: https://togetherai-migration.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Images

## Generate an image

To generate an image, use the `together images generate` method.

Pass the prompt in as the first argument, and use the `--model` option to choose your model:

```sh Shell theme={null}
together images generate \
  "space robots" \
  --model stabilityai/stable-diffusion-xl-base-1.0
```

The image is opened in the default image viewer by default. To disable this, use `--no-show`.

## View all commands

To see all the available images commands, run:

```sh Shell theme={null}
together images generate --help
```

***
