gemini-2.5-flash-image-hd

Gemini 2.5 · Per Image

gemini-2.5-flash-image-hdAvailable
ImageImage GenerationTool UseVisionPrompt CacheJSON ModeFastContext Window: 33KMax Output Tokens: 33K

Pricing

Official PriceLemonData Price
Price$0.039$0.0273
Cache Read$0.03$0.03

Parameters

Context Window
33K tokens
Max Output Tokens
33K tokens

Best For

Image Generation

Creating images, illustrations, and visual content

Vision

Image understanding, document analysis, and visual reasoning

API Code Example

POST/v1beta/models/gemini-2.5-flash-image-hd:generateContent
API Format:
curl "https://api.lemondata.cc/v1beta/models/gemini-2.5-flash-image-hd:generateContent" \
  -H "Content-Type: application/json" \
  -H "x-goog-api-key: sk-xxx" \
  -d '{
    "contents": [
      {"role": "user", "parts": [{"text": "Hello!"}]}
    ]
  }'

FAQ

How much does gemini-2.5-flash-image-hd cost?

On LemonData, gemini-2.5-flash-image-hd costs N/A per 1M input tokens and N/A per 1M output tokens, which is up to 30% off the official pricing.

What is gemini-2.5-flash-image-hd best for?

gemini-2.5-flash-image-hd excels at Image, Image Generation, Tool Use. Access it through LemonData's unified API with a single API key.

How to use gemini-2.5-flash-image-hd API?

Get your API key from LemonData, set the base URL to api.lemondata.cc/v1, and use any OpenAI-compatible SDK. See the code examples above.

Related Models