Ontology MCP

mcp_gemini_generate_multimodal_content

Generate multimodal content, including text and images, using the Gemini model. Returns text and image file paths for user access, enabling versatile content creation.

Instructions

Gemini 모델을 사용하여 텍스트와 이미지를 포함한 멀티모달 콘텐츠를 생성합니다. 생성된 텍스트와 이미지 파일 경로를 반환하며, 이 정보는 반드시 사용자에게 알려주어야 합니다.

Input Schema

NameRequiredDescriptionDefault
contentsYes입력 콘텐츠 (텍스트나 이미지)
fileNameNo저장할 이미지 파일 이름 (확장자 제외)gemini-multimodal-1745301746147
max_tokensNo생성할 최대 토큰 수
modelNo사용할 Gemini 모델 ID (예: gemini-2.0-flash-exp-image-generation)gemini-2.0-flash
responseModalitiesNo응답에 포함할 모달리티 (텍스트, 이미지)
saveDirNo생성된 이미지를 저장할 디렉토리./temp
temperatureNo생성 랜덤성 정도 (0.0 - 2.0)

Input Schema (JSON Schema)

{ "properties": { "contents": { "description": "입력 콘텐츠 (텍스트나 이미지)", "items": { "properties": { "inlineData": { "description": "인라인 이미지 데이터", "properties": { "data": { "description": "Base64로 인코딩된 이미지 데이터", "type": "string" }, "mimeType": { "description": "이미지 MIME 타입 (예: image/png)", "type": "string" } }, "type": "object" }, "text": { "description": "텍스트 콘텐츠", "type": "string" } }, "type": "object" }, "type": "array" }, "fileName": { "default": "gemini-multimodal-1745301746147", "description": "저장할 이미지 파일 이름 (확장자 제외)", "type": "string" }, "max_tokens": { "default": 1024, "description": "생성할 최대 토큰 수", "type": "number" }, "model": { "default": "gemini-2.0-flash", "description": "사용할 Gemini 모델 ID (예: gemini-2.0-flash-exp-image-generation)", "type": "string" }, "responseModalities": { "default": [ "text", "image" ], "description": "응답에 포함할 모달리티 (텍스트, 이미지)", "items": { "enum": [ "text", "image" ], "type": "string" }, "type": "array" }, "saveDir": { "default": "./temp", "description": "생성된 이미지를 저장할 디렉토리", "type": "string" }, "temperature": { "default": 0.7, "description": "생성 랜덤성 정도 (0.0 - 2.0)", "type": "number" } }, "required": [ "contents" ], "type": "object" }
ID: mxvujkgabm