Documentation Index
Fetch the complete documentation index at: https://docs.znapai.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
curl --location 'https://api.znapai.com/gemini/v1beta/models/gemini-3.1-flash-lite-preview:generateContent' \
--header 'x-goog-api-key: $ZnapAI_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"contents": [{
"parts": [{"text": "Say hello"}]
}]
}'
Response
{
"candidates": [
{
"content": {
"parts": [
{
"text": "Hello! How can I help you today?",
"thoughtSignature": "EjQKMgG+Pvb77bf2HCbvhPqtGFBZnNbcz3s5bMch0bEGM796BQfxY+30wIBcyFIObyExxedG"
}
],
"role": "model"
},
"finishReason": "STOP",
"index": 0
}
],
"usageMetadata": {
"promptTokenCount": 2,
"candidatesTokenCount": 9,
"totalTokenCount": 11,
"promptTokensDetails": [
{
"modality": "TEXT",
"tokenCount": 2
}
]
},
"modelVersion": "gemini-3.1-flash-lite-preview",
"responseId": "73HeadnqD7_Zg8UP5tae2Q0"
}