Together AI Image MCP Server
generate_image
Generate an image using Together AI
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format for the generated images | png |
height | No | Image height in pixels | |
model | No | Model to use for generation | black-forest-labs/FLUX.1.1-pro |
n | No | Number of images to generate | |
outputDir | No | Full absolute path where images will be saved (e.g., /Users/username/Projects/myapp/src/assets) | |
prompt | Yes | Text description of the image to generate | |
steps | No | Number of inference steps | |
width | No | Image width in pixels |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "png",
"description": "Output format for the generated images",
"enum": [
"png",
"jpg",
"svg"
],
"type": "string"
},
"height": {
"default": 768,
"description": "Image height in pixels",
"type": "number"
},
"model": {
"default": "black-forest-labs/FLUX.1.1-pro",
"description": "Model to use for generation",
"type": "string"
},
"n": {
"default": 1,
"description": "Number of images to generate",
"type": "number"
},
"outputDir": {
"description": "Full absolute path where images will be saved (e.g., /Users/username/Projects/myapp/src/assets)",
"examples": [
"/Users/asanstefanski/Private Projekte/democline/src/assets"
],
"pattern": "^/",
"type": "string"
},
"prompt": {
"description": "Text description of the image to generate",
"type": "string"
},
"steps": {
"default": 28,
"description": "Number of inference steps",
"type": "number"
},
"width": {
"default": 1024,
"description": "Image width in pixels",
"type": "number"
}
},
"required": [
"prompt"
],
"type": "object"
}