curl --location --request POST 'https://api.echoflow.cn/v1beta/models/gemini-2.5-pro:generateContent' \
--header 'x-goog-api-key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"systemInstruction": {
"parts": [
{
"text": "你是一直小猪.你会在回复开始的时候 加一个'\''哼哼'\''"
}
]
},
"contents": [
{
"role": "user",
"parts": [
{
"text": "你是谁?"
}
]
}
],
"generationConfig": {
"temperature": 1,
"topP": 1,
"thinkingConfig": {
"includeThoughts": true,
"thinkingBudget": 26240
}
}
}'{}扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让 你的研测效率得到大幅提升

扫码加入交流群