Issue: Gemini 2.5 flash image doesn't generate images
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 46/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- go
- Domain
- backend-api-design
Research direction
Start by tracing how the Playground request for gemini/gemini-2.5-flash-image is routed to Gemini and how the response output is translated into the API response; the issue does not name relevant files or tests. Compare the result with the provider’s expected image-generation response and add or run a regression test for this request. Done means the response includes the generated image rather than only text.
Written by the indexing model from the issue text.
Description
Describe the bug
Request:
{
"model": "gemini/gemini-2.5-flash-image",
"input": [
{
"role": "user",
"content": "generate an image with cat drinking water from the rain"
}
}
Response:
{
"id": "hweYaqLDGrSbkdUP46ul0Ac",
"object": "response",
"created_at": 1788348314,
"model": "gemini-2.5-flash-image",
"provider": "gemini",
"status": "completed",
"output": [
{
"id": "msg_cab17ffc-8cd6-47b0-b837-137c10c04f50",
"type": "message",
"role": "assistant",
"status": "completed",
"content": [
{
"type": "output_text",
"text": "Here is an image of a cat drinking water from the rain: ",
"annotations": []
}
]
}
],
"usage": {
"input_tokens": 11,
"output_tokens": 1304,
"total_tokens": 1315,
"input_tokens_details": {
"cached_tokens": 0,
"audio_tokens": 0,
"text_tokens": 11,
"image_tokens": 0
}
}
}
The test was done via GoModel Dashboard -> Playground
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 111
- Avg merge
- 14h 43m
- Merged PRs (30d)
- 142
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ENTERPILOT/GoModel
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 55/100
ENTERPILOT/GoModel#1182 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
ENTERPILOT/GoModel#1170 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
ENTERPILOT/GoModel#1165 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
ENTERPILOT/GoModel#1154 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
ENTERPILOT/GoModel#1107 ·
Maintainers usually reply within 1 day
All issues in ENTERPILOT/GoModel
Similar issues
-
oss/0 pending team/container-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DataDog/datadog-agent#58323 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 Half a day Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
kubernetes-sigs/external-dns#6816 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
ANSI translator ignores SGR 22/24 (and other attribute-off codes): bold and underline never turn offOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100