gemini-3.1-flash-image-preview
Gemini 3 · Per Token
gemini-3.1-flash-image-previewAvailableSync / AsyncText to ImageFastPreviewVisionImage Edit
Context Window: 1MMax Output Tokens: 64KPricing
| Official Price | LemonData Price | Discount | |
|---|---|---|---|
| 默认规格 | Input $0.50 / Output $3.00 | Input $0.175 / Output $1.05 | 65% |
| 默认规格 | Input $0.50 / Output $60.00 | Input $0.175 / Output $21.00 | 65% |
Parameters
Context Window
1M tokens
Max Output Tokens
64K tokens
Best For
Vision
Image understanding, document analysis, and visual reasoning
Cost Calculator
1M
0.5M
Estimated Monthly Cost$0.70
API Code Example
POST/v1/images/generations
curl -X POST "https://api.lemondata.cc/v1/images/generations" \
-H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{
"operation": "text-to-image",
"aspect_ratio": "1:1",
"resolution": "1k",
"model": "gemini-3.1-flash-image-preview",
"prompt": "A minimalist product photo of matte black headphones on a soft blue background."
}'FAQ
How much does gemini-3.1-flash-image-preview cost?
On LemonData, gemini-3.1-flash-image-preview costs $0.175-$21.00 Per Token, with model-specific platform pricing.
What is gemini-3.1-flash-image-preview best for?
gemini-3.1-flash-image-preview excels at Text to Image, Fast, Preview. Access it through LemonData's unified API with a single API key.
How to use gemini-3.1-flash-image-preview API?
Get your API key from LemonData, then call https://api.lemondata.cc/v1/images/generations using any compatible SDK. See the code examples above for detailed integration.