Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Issue: Gemini 2.5 flash image doesn't generate images

Aperta
#853 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
46/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
1.2k
Fork
111
Merge medio
15h 12m
PR unite (30g)
138

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ENTERPILOT/GoModel

Tutte le issue di ENTERPILOT/GoModel

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.