Call Gemini models using Google Native API format
gemini-3-flash-previewgenerateContentstreamGenerateContentAll API endpoints require Bearer Token authentication.
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Gemini model name.
"gemini-3-flash-preview"
Request method: generateContent or streamGenerateContent.
generateContent, streamGenerateContent "generateContent"