Skip to main content
Glama
stefanskiasan

Together AI Image MCP Server

Together AI 이미지 서버

Together AI의 이미지 생성 모델을 사용하여 이미지를 생성하는 MCP 서버입니다.

설정

  1. 종속성 설치:

지엑스피1

  1. 서버를 빌드하세요:

npm run build

Related MCP server: OpenAI GPT Image MCP

구성

1. Together AI API 키

서버에는 Together AI API 키가 필요합니다. Together AI 플랫폼 에서 API 키를 받으실 수 있습니다.

2. 클라인 구성

Cline MCP 설정 파일에 서버를 추가합니다.

macOS/Linux의 경우: ~/Library/Application Support/Windsurf/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

{ "mcpServers": { "togetherai-image": { "command": "node", "args": ["/path/to/togetherai-image-server/build/index.js"], "env": { "TOGETHER_API_KEY": "your-api-key-here" }, "disabled": false, "autoApprove": [] } } }

클라인에서의 사용법

서버는 다음 매개변수를 사용하여 generate_image 도구를 제공합니다.

{ prompt: string; // Required: Text description of the image to generate model?: string; // Optional: Model to use (default: 'black-forest-labs/FLUX.1.1-pro') width?: number; // Optional: Image width in pixels (default: 1024) height?: number; // Optional: Image height in pixels (default: 768) steps?: number; // Optional: Number of inference steps (default: 28) n?: number; // Optional: Number of images to generate (default: 1) outputDir?: string; // Optional: Directory where images will be saved (default: './output') }

사용 예

Cline의 서버는 다음과 같이 사용할 수 있습니다.

Generate an image of a cat and save it to my desktop: <use_mcp_tool> <server_name>togeherai-image</server_name> <tool_name>generate_image</tool_name> <arguments> { "prompt": "A cute cat sitting on a windowsill", "outputDir": "/Users/username/Desktop/generated-images" } </arguments> </use_mcp_tool>

산출

이 도구는 다음을 포함하는 JSON 응답을 반환합니다.

  • filepath : 저장된 이미지의 전체 경로

  • filename : 저장된 이미지 파일의 이름

  • dimensions : 이미지의 원본 및 최종 치수

특징

  • Together AI의 최신 FLUX.1.1-pro 모델을 지원합니다.

  • 크기가 256픽셀 미만이면 이미지 크기를 자동으로 조정합니다.

  • 크기 조정 중에도 종횡비를 유지합니다.

  • 고품질 JPEG 출력(90% 품질)

  • 재귀적으로 출력 디렉토리를 생성합니다.

  • 이미지 크기를 포함한 자세한 메타데이터를 반환합니다.

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stefanskiasan/togetherai-image-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server