Google: Gemini 2.0 Flash Preview Image Generation
Model Overview
| Property | Value |
|---|---|
| Model ID | google/gemini-2.0-flash-preview-image-generation |
| Name | Gemini 2.0 Flash Preview Image Generation |
| Provider | |
| Released | 2025 |
Description
A preview version of Gemini 2.0 Flash optimized for image generation tasks. Designed for creating visual content from text descriptions.
Specifications
| Spec | Value |
|---|---|
| Context Window | 32,768 tokens |
| Max Completion | 4,096 tokens |
| Modalities | Text, Image (Output) |
Pricing
| Type | Price |
|---|---|
| Input | $0.15 per 1M tokens |
| Output | $0.60 per 1M tokens |
Capabilities
- Image Generation: Yes
- Text Understanding: Yes
Use Cases
Image generation, creative content creation, visual design assistance.
Integration with LangMart
Gateway Support: Type 2 (Cloud), Type 3 (Self-hosted)
API Usage:
curl -X POST https://api.langmart.ai/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-2.0-flash-preview-image-generation",
"messages": [{"role": "user", "content": "Create an image of..."}],
"max_tokens": 2048
}'
Related Models
- google/gemini-2.0-flash-exp-image-generation - Experimental version
- google/gemini-2.5-flash-image - Next generation
Last Updated: December 28, 2025