Skip to main content

Documentation Index

Fetch the complete documentation index at: https://togetherai-migration.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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:
Shell
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:
Shell
together images generate --help