Authorization: Bearer ********************curl --location -g --request POST 'https://api.echoflow.cn/v1beta/models/gemini-2.5-pro:generateContent?key=' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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": {}
}
]
}'{}扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让 你的研测效率得到大幅提升

扫码加入交流群