MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / GeminiImageConfig

Class GeminiImageConfig

src/models.py:144–147  ·  view source on GitHub ↗

图片生成配置

Source from the content-addressed store, hash-verified

142
143
144class GeminiImageConfig(BaseModel):
145 """图片生成配置"""
146 aspect_ratio: Optional[str] = None # "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"
147 image_size: Optional[str] = None # "1K", "2K", "4K"
148
149
150class GeminiGenerationConfig(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected