{
"contents": [
{
"parts": [
{
"text": "How does AI work?"
}
]
}
]
}
curl --location --request POST 'https://api.302.ai/v1/v1beta/models/gemini-2.5-flash:generateContent' \
--header 'x-goog-api-key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"parts": [
{
"text": "How does AI work?"
}
]
}
]
}'
{
"completed_at": "",
"created_at": "",
"error": "",
"id": "",
"model": "",
"output": "",
"started_at": "",
"status": ""
}