{
"contents": [
{
"parts": [
{
"text": "Da Vinci style anatomical sketch of a dissected Monarch butterfly. Detailed drawings of the head, wings, and legs on textured parchment with notes in English."
}
]
}
],
"tools": [
{
"google_search": {}
}
],
"generationConfig": {
"responseModalities": [
"TEXT",
"IMAGE"
],
"imageConfig": {
"aspectRatio": "1:1",
"imageSize": "1K"
}
}
}curl --location --request POST 'https://aigc.x-see.cn/v1beta/models/gemini-3.1-flash-image-preview:streamGenerateContent?key=sk-xxx&alt=sse' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"parts": [
{
"text": "Da Vinci style anatomical sketch of a dissected Monarch butterfly. Detailed drawings of the head, wings, and legs on textured parchment with notes in English."
}
]
}
],
"tools": [
{
"google_search": {}
}
],
"generationConfig": {
"responseModalities": [
"TEXT",
"IMAGE"
],
"imageConfig": {
"aspectRatio": "1:1",
"imageSize": "1K"
}
}
}'{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "**Defining My Identity**\n\nI've just finished breaking down the user's Chinese prompt, \"你是谁?\" It seems straightforward: I need to introduce myself. Now I'm considering different ways to answer; a concise response, versus a more detailed description of my nature. Currently, I'm leaning toward the detailed approach. The system prompt is influencing me, too, and the key is a smooth, accurate translation into Chinese.\n\n\n",
"thought": true
},
{
"text": "我是 Gemini,由 Google 开发的大型语言模型。",
"thoughtSignature": "CvQHAePx/16Kxxxxxxxxxxxxxxxxxxxxx"
}
]
},
"finishReason": "STOP"
}
],
"usageMetadata": {
"promptTokenCount": 2,
"candidatesTokenCount": 11,
"totalTokenCount": 270,
"trafficType": "ON_DEMAND",
"promptTokensDetails": [
{
"modality": "TEXT",
"tokenCount": 2
}
],
"candidatesTokensDetails": [
{
"modality": "TEXT",
"tokenCount": 11
}
],
"thoughtsTokenCount": 257
},
"modelVersion": "gemini-3-pro-preview",
"createTime": "2025-11-27T15:45:15.490458Z",
"responseId": "C3Ioadr3HcqE998P26jViQY"
}