A
securityF
licenseA
qualityEnables users to generate images from text prompts using Replicate's model, with configurable parameters and full MCP protocol compliance.
Last updated -
1
63
TypeScript
Enables image generation using the Flux Schnell model hosted on Replicate, allowing users to create images based on text prompts.
이 MCP 서버는 Replicate의 Flux Schnell 모델을 사용하여 이미지 생성 기능을 제공합니다.
지엑스피1
서버에는 다음 환경 변수가 필요합니다.
REPLICATE_API_TOKEN
: Replicate API 토큰입니다. Replicate 계정 설정 에서 확인할 수 있습니다.설치 및 구성이 완료되면 서버는 다음 도구를 제공합니다.
텍스트 프롬프트를 기반으로 Flux Schnell 모델을 사용하여 이미지를 생성합니다.
매개변수:
prompt
(문자열, 필수): 원하는 이미지에 대한 텍스트 설명사용 예:
이 도구는 다음을 포함하는 JSON 응답을 반환합니다.
status
: 생성 요청의 상태output
: 생성된 이미지의 URL(성공 시)error
: 실패한 경우의 오류 메시지서버를 변경하려면:
src/index.ts
의 소스 코드를 수정하세요.npm run build
서버에는 다음에 대한 포괄적인 오류 처리 기능이 포함되어 있습니다.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Replicate에서 Flux Schnell 모델을 사용하여 이미지 생성 기능을 제공하므로 사용자는 텍스트 프롬프트에서 이미지를 생성할 수 있습니다.