flash:generateContentcurl “https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent”
-H ‘Content-Type: application/json’
-H ‘X-goog-api-key: GEMINI_API_KEY’
-X POST
-d ‘{
“contents”: [
{
“parts”: [
{
“text”: “Explain how AI works in a few words”
}
]
}
]
}’
Hi @sananahmed_Pirzada ,
For a clearer understanding, could you please provide further clarification on this issue?