MCP를 사용하여 AI 이미지를 만드는 방법
먼저 kp_capabilities를 호출하고 image.models에서 하나의 완전한 입력을 선택합니다.
Nano Banana 2
{ "type": "image", "prompt": "A clean binary-search course cover with a dark technical style", "image": { "provider": "gemini", "model": "nano-banana-2", "aspect_ratio": "16:9", "output_quality": "2K" }}
GPT Image 2
{ "type": "image", "prompt": "A binary-search poster for a developer course", "input_file_ids": ["file_xxx"], "image": { "provider": "azure_openai", "model": "gpt-image-2", "aspect_ratio": "3:2", "output_quality": "2K", "quality": "medium" }}
노트
- 공급자와 모델은 동일한 능력 입구에서 나와야합니다.
- aspect_ratio 및 output_quality는 해당 패키지에 의해 지원되어야 합니다.
- 품질은 유효한 경우에만 GPT Image.
- kp_upload_file를 사용하여 참조 이미지 또는 문서를 업로드합니다.
- AI Image은 URL 컨텍스트를 광고하지 않습니다; 웹 페이지를 읽고 있다고 주장하지 마십시오.
- kp_get로 롤하고 준비 후 kp_outputs를 호출합니다.
