Gemini
Gemini 画像生成
CometAPI 経由で Gemini モデルを使って画像を生成します — 4K、マルチターン編集、最大 14 枚の参照画像、Thinking をサポートします。
POST
Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
gemini-2.5-flash-image は、プロバイダーにより 2026-10-02 に停止予定です。新しいプロジェクトでは、gemini-3.1-flash-image-preview または gemini-3-pro-image-preview を使用してください。詳細は、Google の廃止スケジュールを参照してください。承認
Use your CometAPI API key.
パスパラメータ
The Gemini image model to use. See the Models page for current options.
ボディ
application/json
Conversation turns. Each item has a role ("user" or "model") and parts array containing text and/or image data.
Controls generation behavior — output modalities, image resolution, thinking, etc.
Optional tools. Pass [{"google_search": {}}] to enable Google Search grounding for real-time information in generated images.