together ai image generation.com
together ai image generation.com logo

Together AI Image Generation

Integrates with Together AI's image generation models to create custom images based on text prompts, dimensions, and out...

Created byApr 23, 2025

Together AI Image Server

An MCP server for generating images using Together AI's image generation models.
<a href="https://glama.ai/mcp/servers/2cwphjnpgw"><img width="380" height="200" src="https://glama.ai/mcp/servers/2cwphjnpgw/badge" alt="Together AI Image Server MCP server" /></a>

Setup

  1. Install dependencies:
  1. Build the server:

Configuration

1. Together AI API Key

The server requires a Together AI API key. You can get one from [Together AI's platform](https://api.together.xyz/).

2. Cline Configuration

Add the server to your Cline MCP settings file:
For macOS/Linux: `~/Library/Application Support/Windsurf/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`

Usage in Cline

The server provides a `generate_image` tool with the following parameters:

Example Usage

You can use the server in Cline like this:

Output

The tool returns a JSON response containing:
  • `filepath`: Full path to the saved image
  • `filename`: Name of the saved image file
  • `dimensions`: Original and final dimensions of the image

Features

  • Supports Together AI's latest FLUX.1.1-pro model
  • Automatically resizes images if dimensions are below 256 pixels
  • Maintains aspect ratio during resizing
  • High-quality JPEG output (90% quality)
  • Creates output directories recursively
  • Returns detailed metadata including image dimensions