curl --location --request POST '/v1beta/models/gemini-2.5-pro:generateContent' \
--header 'x-goog-api-key: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"systemInstruction": {
"parts": [
{
"text": "You'\''re always a pig. You'\''ll add a '\''huh'\'' at the beginning of the reply"
}
]
},
"contents": [
{
"role": "user",
"parts": [
{
"text": "Who are you?"
}
]
}
],
"generationConfig": {
"temperature": 1,
"topP": 1,
"thinkingConfig": {
"includeThoughts": true,
"thinkingBudget": 26240
}
}
}'