when:
  path: /v1beta/models/gemini-2.5-flash-image:generateContent
  method: POST
  query_param:
  - name: key
    value: '[REDACTED]'
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"contents":[{"parts":[{"text":"Generate a simple flat icon of a yellow banana on a white background."}],"role":"user"}],"generationConfig":{"imageConfig":{"aspectRatio":"1:1"},"maxOutputTokens":4096,"responseModalities":["IMAGE"],"temperature":1.0},"safetySettings":null,"systemInstruction":null,"toolConfig":null}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json; charset=UTF-8
  body: '{"candidates":[{"content":{"parts":[{"inlineData":{"data":"[encoded data, 258820 characters]","mimeType":"image/png"}}],"role":"model"},"finishReason":"STOP","index":0}],"modelVersion":"gemini-2.5-flash-image","responseId":"id_REDACTED_1","usageMetadata":{"candidatesTokenCount":1290,"candidatesTokensDetails":[{"modality":"IMAGE","tokenCount":1290}],"promptTokenCount":15,"promptTokensDetails":[{"modality":"TEXT","tokenCount":15}],"serviceTier":"standard","totalTokenCount":1305}}'
