curl --location -g --request POST '{{BASE_URL}}/v1beta/models/gemini-2.5-pro:generateContent' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"parts": [
{
"text": "Explain how AI works in a few words"
}
]
}
],
"generationConfig": {
"thinkingConfig": {
"thinkingBudget": 128,
"includeThoughts": true
}
}
}'{}