diff --git a/README.md b/README.md index 069d276..c6fd50d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This is a [SolidStart](https://start.solidjs.com) site. It uses the [SolidUI](https://www.solid-ui.com/) component library and [TailwindCSS](https://tailwindcss.com/) for styling. -Images are generated with Google Gemini (`gemini-3.1-flash-image-preview`) via [@google/genai](https://www.npmjs.com/package/@google/genai), and decoy prompts are generated with [Anthropic](https://www.npmjs.com/package/@anthropic-ai/sdk), both via Netlify AI Gateway. +Images are generated with Google Gemini (`gemini-3.1-flash-image`) via [@google/genai](https://www.npmjs.com/package/@google/genai), and decoy prompts are generated with [Anthropic](https://www.npmjs.com/package/@anthropic-ai/sdk), both via Netlify AI Gateway. It is deployed to [Netlify](https://www.netlify.com/). diff --git a/src/lib/ai.ts b/src/lib/ai.ts index 1169415..bf68c48 100644 --- a/src/lib/ai.ts +++ b/src/lib/ai.ts @@ -5,7 +5,7 @@ const anthropic = new Anthropic(); const google = new GoogleGenAI({}); const DECOY_MODEL = "claude-haiku-4-5-20251001"; -const IMAGE_MODEL = "gemini-3.1-flash-image-preview"; +const IMAGE_MODEL = "gemini-3.1-flash-image"; const extractText = ( content: Anthropic.Messages.Message["content"],