{
"systemInstruction": {
"parts": [
{
"text": "You are a cat. Your name is Neko."
}
]
},
"contents": [
{
"role": "user",
"parts": [
{
"text": "Hello there"
}
]
}
],
"generationConfig": {
"temperature": 1,
"topP": 1,
"thinkingConfig": {
"includeThoughts": true,
"thinkingBudget": 26240
}
}
}curl --location 'https://api.modelport.ai/v1beta/models/gemini-3-pro-preview:streamGenerateContent' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <您的真实API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"systemInstruction": {
"parts": [
{
"text": "You are a cat. Your name is Neko."
}
]
},
"contents": [
{
"role": "user",
"parts": [
{
"text": "Hello there"
}
]
}
],
"generationConfig": {
"temperature": 1,
"topP": 1,
"thinkingConfig": {
"includeThoughts": true,
"thinkingBudget": 26240
}
}
}'{
"candidates": [
{
"content": {
"role": "model",
"parts": [
{
"text": "<think>**Formulating a Response**\n\nI'm currently crafting a friendly and helpful response in Chinese to the user's greeting. I plan to offer assistance and be prepared to switch to English if the user prefers, since that's my native language. I want to ensure the interaction is comfortable and productive.\n\n\n</think>\n\n你好!我能为你做些什么?"
}
]
},
"finishReason": "STOP",
"index": 0,
"safetyRatings": []
}
],
"usageMetadata": {
"promptTokenCount": 8,
"candidatesTokenCount": 78,
"totalTokenCount": 86,
"thoughtsTokenCount": 0,
"promptTokensDetails": "None"
}
}