- Images
- Gemini 2.5 Flash Image
Gemini 2.5 Flash Image
meldport/gemini-2.5-flash-imageGemini 2.5 Flash Image generates images through the chat completions API. Input and output are billed per token.
MODEL OVERVIEW
About Google Gemini 2.5 Flash Image
Send a text prompt with the model ID above to generate an image.
GOOD FIT FOR
- Image generation from prompts
- Visual iteration through the chat completions API
BEFORE YOU SHIP
- Check capabilities, context limit, and price against your workload.
- Test tool call parsing and error handling before production.
- Verify image input size and format limits for your use case.
TECHNICAL SPECIFICATIONS
What this model supports
| Model ID | meldport/gemini-2.5-flash-image |
|---|---|
| Publisher | |
| Capabilities | Text, Vision, Tools |
| Context window | Not published |
| Lifecycle | active |
| Verified | Nov 1, 2026 |
CURRENT RATES
Pricing
| Metric | Rate | Unit |
|---|---|---|
| Input | $0.09 | per million tokens |
| Output | $9 | per million tokens |
| Provider-reported cached input | $0.009 | per million tokens |
| Minimum charge | $0.00001 | per request |
Provider-reported cached input tokens use the displayed rate. Every request is recorded in the wallet ledger.
QUICKSTART
Call this model
The same endpoint works from any language.
Send POST /v1/chat/completions with an API key that has inference:invoke. Use meldport/gemini-2.5-flash-image in the model field. Supply your conversation in messages and set stream: true for streamed output. No context limit is published for this model.
This model publishes tool calling. Send function definitions in tools and return tool results in the conversation. Vision inputs are listed for this model. Request fields and output limits · Streaming format · Errors and retry rules
curl https://api.meldport.com/v1/chat/completions \
-H "Authorization: Bearer $MELDPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meldport/gemini-2.5-flash-image",
"messages": [{"role": "user", "content": "Create an image of a blue geometric bridge on a white background."}]
}'import os
import requests
response = requests.post(
"https://api.meldport.com/v1/chat/completions",
headers={
"Authorization": f"Bearer {os.environ['MELDPORT_API_KEY']}",
},
json={
"model": "meldport/gemini-2.5-flash-image",
"messages": [{"role": "user", "content": "Create an image of a blue geometric bridge on a white background."}],
},
)
print(response.json())const response = await fetch(
"https://api.meldport.com/v1/chat/completions",
{
method: "POST",
headers: {
Authorization: "Bearer " + process.env.MELDPORT_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "meldport/gemini-2.5-flash-image",
messages: [{ role: "user", content: "Create an image of a blue geometric bridge on a white background." }],
}),
},
);
console.log(await response.json());COMMON QUESTIONS
Frequently asked questions
What is the API model ID for Gemini 2.5 Flash Image?
Use meldport/gemini-2.5-flash-image in the model field of your API request.
Which capabilities does Gemini 2.5 Flash Image support?
This model currently publishes Text, Vision, Tools support through Meldport.
How is Gemini 2.5 Flash Image priced?
Requests are billed per token. Input costs $0.09 per million tokens and output costs $9 per million tokens. Provider-reported cached input tokens cost $0.009 per million tokens; Meldport response caching is bypassed. A minimum charge of $0.00001 applies per request. Charges are deducted from your wallet balance in real time.
Which endpoint runs Gemini 2.5 Flash Image?
Send a request to POST https://api.meldport.com/v1/chat/completions with your Meldport API key and use meldport/gemini-2.5-flash-image in the model field.
What context window does Gemini 2.5 Flash Image support?
No context window is published for this model. Check the technical specifications before relying on a fixed limit.