ultimate-gemini-mcp 1.0.4__py3-none-any.whl → 1.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ultimate-gemini-mcp might be problematic. Click here for more details.
- src/__init__.py +1 -1
- src/services/imagen_client.py +7 -0
- src/tools/generate_image.py +1 -1
- {ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/METADATA +1 -1
- {ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/RECORD +8 -8
- {ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/WHEEL +0 -0
- {ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/entry_points.txt +0 -0
- {ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/licenses/LICENSE +0 -0
src/__init__.py
CHANGED
src/services/imagen_client.py
CHANGED
|
@@ -82,6 +82,13 @@ class ImagenClient:
|
|
|
82
82
|
},
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
# Add imageSize for models that support it (Standard and Ultra, not Fast)
|
|
86
|
+
# Fast model only supports 1K, while Standard and Ultra support up to 2K
|
|
87
|
+
if model in ["imagen-4", "imagen-4-ultra"]:
|
|
88
|
+
request_body["parameters"]["imageSize"] = "2K"
|
|
89
|
+
elif model == "imagen-4-fast":
|
|
90
|
+
request_body["parameters"]["imageSize"] = "1K"
|
|
91
|
+
|
|
85
92
|
# Add optional parameters
|
|
86
93
|
if negative_prompt:
|
|
87
94
|
request_body["instances"][0]["negativePrompt"] = negative_prompt
|
src/tools/generate_image.py
CHANGED
|
@@ -117,7 +117,7 @@ async def generate_image_tool(
|
|
|
117
117
|
if model.startswith("imagen"):
|
|
118
118
|
params["number_of_images"] = number_of_images
|
|
119
119
|
params["output_format"] = f"image/{output_format}"
|
|
120
|
-
params["person_generation"] = "
|
|
120
|
+
params["person_generation"] = "allow_all" # Hard-coded to allow all people
|
|
121
121
|
if negative_prompt:
|
|
122
122
|
params["negative_prompt"] = negative_prompt
|
|
123
123
|
if seed is not None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ultimate-gemini-mcp
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: Ultimate image generation MCP server unifying Gemini 2.5 Flash Image and Imagen 4/Fast/Ultra with advanced features
|
|
5
5
|
Project-URL: Homepage, https://github.com/anand-92/ultimate-image-gen-mcp
|
|
6
6
|
Project-URL: Repository, https://github.com/anand-92/ultimate-image-gen-mcp
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
src/__init__.py,sha256=
|
|
1
|
+
src/__init__.py,sha256=T9HBR_iOl-3bM_AG1NyK9PT1li5t_kuhswn-oVWOJWI,435
|
|
2
2
|
src/server.py,sha256=nZI63qIDL3JWv3dyyFk6lIXStZuHe1MTdZqZSrqK56k,5862
|
|
3
3
|
src/config/__init__.py,sha256=hL0recV_ycXBEGCym7BqwyaPCnQHy8o429pBirnBeiA,704
|
|
4
4
|
src/config/constants.py,sha256=ue4dT6wFwCzAgDWvSt8RnbdaoaGHY8c7SViNxI-P73w,1870
|
|
@@ -9,13 +9,13 @@ src/core/validation.py,sha256=JTB6_ft4nN6NHRVD5vOv_q12aPupBrlaNl32jwR2TuE,4758
|
|
|
9
9
|
src/services/__init__.py,sha256=n6FVDj052zvTerDFJSjaiLIycWGePm8Wr6dabbvd9o0,395
|
|
10
10
|
src/services/gemini_client.py,sha256=VPuBPDHhAag_8xBqzMuVIEWVG0BINXOHkwKIALzcFAk,8324
|
|
11
11
|
src/services/image_service.py,sha256=ovYsxDMwqsSiG1YbwBcTBrgmGTA7bdhDF6_jPs9XV_k,7095
|
|
12
|
-
src/services/imagen_client.py,sha256=
|
|
12
|
+
src/services/imagen_client.py,sha256=mvwbmtYQHqpKKM36tp8JPZTjxav5eeeist37lRJsv4k,6122
|
|
13
13
|
src/services/prompt_enhancer.py,sha256=J_0s1EVmXdPAhjZPM4hL1vk9YiawqfH_ogF89VrFkW8,4776
|
|
14
14
|
src/tools/__init__.py,sha256=zBfAjFT51LvvD7WXTfDYiyJstRdphr2ChddAmGMZxkI,346
|
|
15
15
|
src/tools/batch_generate.py,sha256=LLrIwVvx-0kZBCiR0tcYnmKi5iYIdV-93ekIQbMrabo,5004
|
|
16
|
-
src/tools/generate_image.py,sha256=
|
|
17
|
-
ultimate_gemini_mcp-1.0.
|
|
18
|
-
ultimate_gemini_mcp-1.0.
|
|
19
|
-
ultimate_gemini_mcp-1.0.
|
|
20
|
-
ultimate_gemini_mcp-1.0.
|
|
21
|
-
ultimate_gemini_mcp-1.0.
|
|
16
|
+
src/tools/generate_image.py,sha256=BGmplbkqaFvLa8mbJWs-a8v1t5i-Pdep4IZhXHIbisk,8456
|
|
17
|
+
ultimate_gemini_mcp-1.0.5.dist-info/METADATA,sha256=G2FWqdrQVbJaMDpi5TpLshSnoDrY6fp4UrREpBFoc6M,11646
|
|
18
|
+
ultimate_gemini_mcp-1.0.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
19
|
+
ultimate_gemini_mcp-1.0.5.dist-info/entry_points.txt,sha256=-BeRTT4oR05e-YnF1ZNbNxlaekD4LsWhD-Zy_1dyRnc,56
|
|
20
|
+
ultimate_gemini_mcp-1.0.5.dist-info/licenses/LICENSE,sha256=ilyzUnN0QHYtYGJks-NFUwiniNu08IedLmn_muRqa0o,1480
|
|
21
|
+
ultimate_gemini_mcp-1.0.5.dist-info/RECORD,,
|
|
File without changes
|
{ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{ultimate_gemini_mcp-1.0.4.dist-info → ultimate_gemini_mcp-1.0.5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|