diff --git a/README.md b/README.md index 039bb31..9ab2a3f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ A powerful client-side AI image generation tool using OpenRouter API. Generate t ### 🎨 Multi-Model Support - **Gemini 2.5 Flash Image** - Google's fast image generation - **Gemini 2.5 Flash (Preview)** - Preview version with latest features +- **Gemini 3.1 Flash (Preview)** - Newer Gemini preview image model - **Gemini 3 Pro (Preview)** - Advanced model, up to 14 reference images - **GPT-5 Image** - OpenAI's latest image model - **GPT-5 Image Mini** - Faster, smaller GPT-5 variant @@ -112,4 +113,4 @@ Under the condition that: - 📋 You disclose the source code when distributing - 📋 Modified versions must also be licensed under GPL-3.0 -See the [LICENSE](LICENSE) file for full details. \ No newline at end of file +See the [LICENSE](LICENSE) file for full details. diff --git a/index.html b/index.html index ecbdb27..cecd48a 100644 --- a/index.html +++ b/index.html @@ -48,6 +48,8 @@ Flash Image
Gemini 2.5 Flash (Preview)
+
Gemini 3.1 + Flash (Preview)
Gemini 3 Pro (Preview)
GPT-5 Image
@@ -191,4 +193,4 @@ - \ No newline at end of file + diff --git a/src/app.js b/src/app.js index 2dcd257..91c9633 100644 --- a/src/app.js +++ b/src/app.js @@ -116,6 +116,13 @@ const MODEL_CONFIGS = { supportsImageInput: true, maxReferences: 3 }, + 'google/gemini-3.1-flash-image-preview': { + name: 'Gemini 3.1 Flash Image (Preview)', + supportsImageSize: true, + supportsAspectRatio: true, + supportsImageInput: true, + maxReferences: 3 + }, 'google/gemini-3-pro-image-preview': { name: 'Gemini 3 Pro Image (Preview)', supportsImageSize: true,