GET
/v1/schemas/together/image/images/generations
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace468edbdc879c48f500ca284270663ccc30cd83aee57a4e6a4e7a5bc04603b543{
"fetchedAt": 1786771359,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
15 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | A description of the desired images. Maximum length varies by model. | |
| model* | enum | string | The model to use for image generation.<br> <br> [See all of Together AI's image models](https://docs.together.ai/docs/serverless-models#image-models) | |
| steps | integer | Number of generation steps. | default: 20 |
| image_url | string | URL of an image to use for image models that support it. | |
| seed | integer | Seed used for generation. Can be used to reproduce image generations. | |
| n | integer | Number of image results to generate. | default: 1 |
| height | integer | Height of the image to generate in number of pixels. | default: 1024 |
| width | integer | Width of the image to generate in number of pixels. | default: 1024 |
| negative_prompt | string | The prompt or prompts not to guide the image generation. | |
| response_format | enum | Format of the image response. Can be either a base64 string or a URL. | base64 | url |
| guidance_scale | number | Adjusts the alignment of the generated image with the input prompt. Higher values (e.g., 8-10) make the output more faithful to the prompt, while lower values (e.g., 1-5) encourage more creative freedom. | default: 3.5 |
| output_format | enum | The format of the image response. Can be either be `jpeg` or `png`. Defaults to `jpeg`. | jpeg | png · default: "jpeg" |
| image_loras | object[] | An array of objects that define LoRAs (Low-Rank Adaptations) to influence the generated image. | |
| reference_images | string[] | An array of image URLs that guide the overall appearance and style of the generated image. These reference images influence the visual characteristics consistently across the generation. | |
| disable_safety_checker | boolean | If true, disables the safety checker for image generation. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"together","endpointId":"images/generations","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}