Gemini
Gemini bildegenerering
Generer bilder med Gemini-modeller via CometAPI — støtter 4K, redigering over flere runder, opptil 14 referansebilder og 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 er planlagt stengt av leverandøren 2026-10-02. For nye prosjekter, bruk gemini-3.1-flash-image-preview eller gemini-3-pro-image-preview. Se Googles utfasingsplan for detaljer.Autorisasjoner
Use your CometAPI API key.
Stien-parametere
The Gemini image model to use. See the Models page for current options.
Kropp
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.