Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Issue: Gemini 2.5 flash image doesn't generate images

Open
#853 0 comments 0 reactions 0 assignees View on GitHub

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

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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ENTERPILOT/GoModel

All issues in ENTERPILOT/GoModel

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.