Gemini
Pembuatan gambar Gemini
Buat gambar dengan model Gemini melalui CometAPI — mendukung 4K, pengeditan multi-turn, hingga 14 gambar referensi, dan Thinking.
POST
gemini-2.5-flash-image dijadwalkan untuk dihentikan oleh penyedia pada 2026-10-02. Untuk proyek baru, gunakan gemini-3.1-flash-image-preview atau gemini-3-pro-image-preview. Lihat jadwal deprecation Google untuk detailnya.Otorisasi
Use your CometAPI API key.
Parameter Path
The Gemini image model to use. See the Models page for current options.
Body
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.