curl --request POST \
--url https://www.anyfast.ai/v1beta/models/gemini-2.5-pro:streamGenerateContent \
--header 'Content-Type: application/json' \
--data '
{
"contents": [
{
"role": "user",
"parts": [
{
"text": "你好,请介绍一下你自己。"
}
]
}
],
"systemInstruction": {
"parts": [
{
"text": "你是一个有帮助的助手。"
}
]
},
"safetySettings": [
{
"category": "<string>",
"threshold": "<string>"
}
],
"generationConfig": {
"temperature": 1,
"topP": 1,
"thinkingConfig": {
"includeThoughts": true,
"thinkingBudget": 26240
}
}
}
'