mcp_openai_image
Generate images using OpenAI's DALL-E API by providing a text prompt, model, size, and quality parameters. Returns the file path for the created image, ensuring users can access and utilize the output effectively.
Instructions
OpenAI DALL-E API를 사용하여 이미지를 생성합니다. 생성된 이미지 파일 경로를 반환하며, 이 경로는 반드시 사용자에게 알려주어야 합니다.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fileName | No | 저장할 파일 이름 (확장자 제외) | |
model | No | 사용할 모델 (예: dall-e-3, dall-e-2) | |
n | No | 생성할 이미지 수 | |
prompt | Yes | 이미지를 생성할 프롬프트 | |
quality | No | 이미지 품질 (dall-e-3만 해당) | |
saveDir | No | 이미지를 저장할 디렉토리 | |
size | No | 이미지 크기 | |
style | No | 이미지 스타일 (dall-e-3만 해당) |
Input Schema (JSON Schema)
{
"properties": {
"fileName": {
"description": "저장할 파일 이름 (확장자 제외)",
"type": "string"
},
"model": {
"description": "사용할 모델 (예: dall-e-3, dall-e-2)",
"type": "string"
},
"n": {
"description": "생성할 이미지 수",
"maximum": 10,
"minimum": 1,
"type": "number"
},
"prompt": {
"description": "이미지를 생성할 프롬프트",
"type": "string"
},
"quality": {
"description": "이미지 품질 (dall-e-3만 해당)",
"enum": [
"standard",
"hd"
],
"type": "string"
},
"saveDir": {
"description": "이미지를 저장할 디렉토리",
"type": "string"
},
"size": {
"description": "이미지 크기",
"enum": [
"256x256",
"512x512",
"1024x1024",
"1792x1024",
"1024x1792"
],
"type": "string"
},
"style": {
"description": "이미지 스타일 (dall-e-3만 해당)",
"enum": [
"vivid",
"natural"
],
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}