{
  "version": 1,
  "metadata": {
    "tags": [
      "prefix:google-images",
      "provider:google",
      "protocol:google-images"
    ],
    "name": "google-images/generates-an-image",
    "recordedAt": "2026-07-19T16:05:51.868Z"
  },
  "interactions": [
    {
      "transport": "http",
      "request": {
        "method": "POST",
        "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image:generateContent",
        "headers": {
          "content-type": "application/json"
        },
        "body": "{\"contents\":[{\"role\":\"user\",\"parts\":[{\"text\":\"A simple flat blue circle centered on a plain white background.\"}]}],\"generationConfig\":{\"responseModalities\":[\"IMAGE\"],\"imageConfig\":{\"aspectRatio\":\"1:1\"}}}"
      },
      "response": {
        "status": 200,
        "headers": {
          "content-type": "application/json; charset=UTF-8"
        },
        "body": "{\n  \"candidates\": [\n    {\n      \"content\": {\n        \"parts\": [\n          {\n            \"inlineData\": {\n              \"mimeType\": \"image/jpeg\",\n              \"data\": \"[encoded data, 550000 characters]\"\n            },\n            \"thoughtSignature\": \"[encoded data, 789716 characters]\"\n          }\n        ],\n        \"role\": \"model\"\n      },\n      \"finishReason\": \"STOP\",\n      \"index\": 0\n    }\n  ],\n  \"usageMetadata\": {\n    \"promptTokenCount\": 13,\n    \"candidatesTokenCount\": 1399,\n    \"totalTokenCount\": 1412,\n    \"promptTokensDetails\": [\n      {\n        \"modality\": \"TEXT\",\n        \"tokenCount\": 13\n      }\n    ],\n    \"candidatesTokensDetails\": [\n      {\n        \"modality\": \"IMAGE\",\n        \"tokenCount\": 1120\n      }\n    ],\n    \"serviceTier\": \"standard\"\n  },\n  \"modelVersion\": \"gemini-3.1-flash-image\",\n  \"responseId\": \"2fVcat7PCOSf-8YP0Jfm8QM\"\n}\n"
      }
    }
  ]
}
