Skip to main content
Glama

Together AI 이미지 서버

영어 | 간체 중국어

Together AI API를 사용하여 이미지를 생성하기 위한 TypeScript 기반 MCP(Model Context Protocol) 서버입니다.

개요

이 서버는 MCP 프로토콜을 통해 Together AI의 이미지 생성 모델을 사용하여 이미지를 생성하는 간단한 인터페이스를 제공합니다. Claude를 비롯한 MCP 호환 어시스턴트들이 텍스트 프롬프트를 기반으로 이미지를 생성할 수 있도록 지원합니다.

특징

도구

  • generate_image - 텍스트 프롬프트에서 이미지 생성

    • 필수 매개변수로 텍스트 프롬프트를 사용합니다.

    • 생성 단계 및 이미지 수를 제어하기 위한 선택적 매개변수

    • 생성된 이미지에 대한 URL 및 로컬 경로를 반환합니다.

필수 조건

  • Node.js(v14 이상 권장)

  • Together AI API 키

설치

지엑스피1

구성

Together AI API 키를 환경 변수로 설정하세요.

# On Linux/macOS export TOGETHER_API_KEY="your-api-key-here" # On Windows (Command Prompt) set TOGETHER_API_KEY=your-api-key-here # On Windows (PowerShell) $env:TOGETHER_API_KEY="your-api-key-here"

또는 프로젝트 루트에 .env 파일을 만들 수 있습니다.

TOGETHER_API_KEY=your-api-key-here

개발

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

Claude Desktop과 함께 사용

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

macOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "Together AI Image Server": { "command": "/path/to/together-ai-image-server/build/index.js" } } }

/path/to/together-ai-image-server 실제 설치 경로로 바꾸세요.

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.

npm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

API 참조

생성_이미지

Together AI의 이미지 생성 API를 사용하여 텍스트 프롬프트를 기반으로 이미지를 생성합니다.

매개변수:

  • prompt (문자열, 필수): 이미지 생성을 위한 텍스트 프롬프트

  • steps (숫자, 선택 사항, 기본값: 4): 확산 단계 수(1-4)

  • n (숫자, 선택, 기본값: 1): 생성할 이미지 수(1-4)

보고:

JSON 객체에는 다음이 포함됩니다.

  • image_urls : 생성된 이미지에 대한 URL 배열

  • local_paths : 로컬 캐시된 이미지에 대한 경로 배열

특허

MIT

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

Deploy Server
A
security – no known vulnerabilities
-
license - not tested
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    -
    license
    A
    quality
    Enables the generation of images using Together AI's models through an MCP server, supporting customizable parameters such as model selection, image dimensions, and output directory.
    Last updated -
    7
    MIT License
    • Apple
    • Linux
  • A
    security
    A
    license
    A
    quality
    Allows AI assistants to generate and transform high-quality images from text prompts using Google's Gemini model via the MCP protocol.
    Last updated -
    3
    24
    MIT License
    • Apple
  • A
    security
    -
    license
    A
    quality
    An MCP image generation server based on the Flux Schnell model that provides API access for generating images from text prompts with customizable dimensions and seeds.
    Last updated -
    1
    1
    • Linux
    • Apple
  • A
    security
    -
    license
    A
    quality
    An MCP server that allows Claude to use OpenAI's image generation capabilities (gpt-image-1) to create image assets for users, which is particularly useful for game and web development projects.
    Last updated -
    1
    1
    3
    MIT License

View all related MCP servers

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/zym9863/together-ai-image-server'

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