UNPKG

@dondonudonjp/vertexai-imagen-mcp-server

Version:

[DEPRECATED] MCP Server for Vertex AI Imagen image generation. Imagen endpoints shut down 2026-06-30; migrate to the nanoBanana MCP Server (Gemini image models).

75 lines 2.11 kB
/** * YAML設定ファイルの型定義 * customize_image_from_yaml ツール用 */ /** * Subject(被写体)設定 */ export interface YamlSubjectConfig { reference_id: number; images: string[]; config: { description: string; type: "person" | "animal" | "product" | "default" | "SUBJECT_TYPE_PERSON" | "SUBJECT_TYPE_ANIMAL" | "SUBJECT_TYPE_PRODUCT" | "SUBJECT_TYPE_DEFAULT"; }; } /** * Control(制御画像)設定 */ export interface YamlControlConfig { reference_id: number; image_path: string; type: "face_mesh" | "canny" | "scribble" | "CONTROL_TYPE_FACE_MESH" | "CONTROL_TYPE_CANNY" | "CONTROL_TYPE_SCRIBBLE"; enable_computation?: boolean; } /** * Style(スタイル画像)設定 */ export interface YamlStyleConfig { reference_id: number; image_path: string; description?: string; } /** * メタデータ(将来の拡張用) */ export interface YamlMetadata { title?: string; tags?: string[]; notes?: string; } /** * YAML設定ファイルのルート構造 */ export interface CustomizeImageYamlConfig { model: string; output_path: string; prompt: string; aspect_ratio?: "1:1" | "3:4" | "4:3" | "9:16" | "16:9"; sample_image_size?: "1K" | "2K"; sample_count?: number; safety_level?: "BLOCK_NONE" | "BLOCK_ONLY_HIGH" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_LOW_AND_ABOVE"; person_generation?: "DONT_ALLOW" | "ALLOW_ADULT" | "ALLOW_ALL"; language?: "auto" | "en" | "zh" | "zh-TW" | "hi" | "ja" | "ko" | "pt" | "es"; subjects?: YamlSubjectConfig[]; control?: YamlControlConfig; style?: YamlStyleConfig; negative_prompt?: string; region?: string; return_base64?: boolean; include_thumbnail?: boolean; metadata?: YamlMetadata; } /** * customize_image_from_yaml ツールの引数 */ export interface CustomizeImageFromYamlArgs { yaml_path: string; } /** * customize_image_from_yaml_inline ツールの引数 */ export interface CustomizeImageFromYamlInlineArgs { yaml_content: string; } //# sourceMappingURL=yamlConfig.d.ts.map