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 키를 환경 변수로 설정하세요.
또는 프로젝트 루트에 .env 파일을 만들 수 있습니다.
개발
서버를 빌드하세요:
자동 재빌드를 사용한 개발의 경우:
Claude Desktop과 함께 사용
Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.
macOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json
/path/to/together-ai-image-server 실제 설치 경로로 바꾸세요.
디버깅
MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.
검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
API 참조
생성_이미지
Together AI의 이미지 생성 API를 사용하여 텍스트 프롬프트를 기반으로 이미지를 생성합니다.
매개변수:
prompt(문자열, 필수): 이미지 생성을 위한 텍스트 프롬프트steps(숫자, 선택 사항, 기본값: 4): 확산 단계 수(1-4)n(숫자, 선택, 기본값: 1): 생성할 이미지 수(1-4)
보고:
JSON 객체에는 다음이 포함됩니다.
image_urls: 생성된 이미지에 대한 URL 배열local_paths: 로컬 캐시된 이미지에 대한 경로 배열
특허
MIT
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
Related MCP Servers
- Asecurity-licenseAqualityEnables 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 -7MIT License
- AsecurityAlicenseAqualityAllows AI assistants to generate and transform high-quality images from text prompts using Google's Gemini model via the MCP protocol.Last updated -324MIT License
- Asecurity-licenseAqualityAn 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 -11
- Asecurity-licenseAqualityAn 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 -113MIT License