chore(registry): disable gemini 2.5 flash image preview model

This commit is contained in:
hkfires
2026-01-27 18:31:41 +08:00
parent c65f64dce0
commit 88a0f095e8

View File

@@ -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",