Gemini
Tạo ảnh bằng Gemini
Tạo ảnh bằng các model Gemini qua CometAPI — hỗ trợ 4K, chỉnh sửa nhiều lượt, tối đa 14 ảnh tham chiếu và 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 dự kiến sẽ bị nhà cung cấp ngừng hoạt động vào 2026-10-02. Với các dự án mới, hãy dùng gemini-3.1-flash-image-preview hoặc gemini-3-pro-image-preview. Xem lịch ngừng hỗ trợ của Google để biết chi tiết.Ủy quyền
Use your CometAPI API key.
Tham số đường dẫn
The Gemini image model to use. See the Models page for current options.
Nội dung
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.