curl --location 'https://api.shuyanai.com/v1beta/models/gemini-2.5-flash:generateContent' \
--header 'Authorization: Bearer <您的真实API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "What is the sum of the first 50 prime numbers? Generate and run code for the calculation, and make sure you get all 50."
}
]
}
],
"tools": [
{
"codeExecution": {}
}
]
}'{}