Documentation Index
Fetch the complete documentation index at: https://docs.together.ai/llms.txt
Use this file to discover all available pages before exploring further.
Generate an image
To query an image model, use the.images method and specify the image model:

Supported models
For the current list of image-generation models, see the serverless catalog or the dedicated endpoint model catalog.Parameters
The image generation endpoint accepts a common set of parameters across models, includingprompt, model, width, height, n, steps, seed, and negative_prompt. For the full parameter reference (including image_url, reference_images, frame_images, and model-specific notes), see Image generation parameters.
A few quick notes:
promptis required for all models except Kling.widthandheightrely on defaults unless otherwise specified. Available dimensions differ by model.- FLUX Schnell and Kontext (Pro/Max/Dev) models use the
aspect_ratioparameter to set the output image size, whereas FLUX.1 Pro, FLUX 1.1 Pro, and FLUX.1 Dev usewidthandheight.
Generate multiple variations
Generate multiple variations of the same prompt and choose between them:
Next steps
- Image-to-image generation: edit or transform an existing image with
image_urlorreference_images. - Image generation parameters: full parameter reference, custom dimensions, quality control, base64 responses, safety checker, and troubleshooting.