mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
chore(registry): disable gemini 2.5 flash image preview model
This commit is contained in:
@@ -554,21 +554,21 @@ func GetAIStudioModels() []*ModelInfo {
|
|||||||
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
||||||
Thinking: &ThinkingSupport{Min: 512, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
Thinking: &ThinkingSupport{Min: 512, Max: 24576, ZeroAllowed: true, DynamicAllowed: true},
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
ID: "gemini-2.5-flash-image-preview",
|
// ID: "gemini-2.5-flash-image-preview",
|
||||||
Object: "model",
|
// Object: "model",
|
||||||
Created: 1756166400,
|
// Created: 1756166400,
|
||||||
OwnedBy: "google",
|
// OwnedBy: "google",
|
||||||
Type: "gemini",
|
// Type: "gemini",
|
||||||
Name: "models/gemini-2.5-flash-image-preview",
|
// Name: "models/gemini-2.5-flash-image-preview",
|
||||||
Version: "2.5",
|
// Version: "2.5",
|
||||||
DisplayName: "Gemini 2.5 Flash Image Preview",
|
// DisplayName: "Gemini 2.5 Flash Image Preview",
|
||||||
Description: "State-of-the-art image generation and editing model.",
|
// Description: "State-of-the-art image generation and editing model.",
|
||||||
InputTokenLimit: 1048576,
|
// InputTokenLimit: 1048576,
|
||||||
OutputTokenLimit: 8192,
|
// OutputTokenLimit: 8192,
|
||||||
SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
// SupportedGenerationMethods: []string{"generateContent", "countTokens", "createCachedContent", "batchGenerateContent"},
|
||||||
// image models don't support thinkingConfig; leave Thinking nil
|
// // image models don't support thinkingConfig; leave Thinking nil
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
ID: "gemini-2.5-flash-image",
|
ID: "gemini-2.5-flash-image",
|
||||||
Object: "model",
|
Object: "model",
|
||||||
|
|||||||
Reference in New Issue
Block a user