Description
Gemini 2.5 Flash Image Preview is a state of the art image generation model with contextual understanding. It is capable of image generation, edits, and multi-turn conversations.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Google: Gemini 2.5 Flash Image Preview (google/gemini-2.5-flash-image-preview)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "google/gemini-2.5-flash-image-preview",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Google: Gemini 2.5 Flash Image Preview model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
- Images
API Pricing
- Input: 0.3$ / 1M tokens
- Output: 2.5$ / 1M tokens
- Image: 0.001$ / image
Token Limits
- Max Output: 8,192 tokens
- Max Context: 32,768 tokens
Subscription Tiers
- free
- pro
- ultimate