##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYGeneration method:
generateContent: Returns complete response at oncestreamGenerateContent: Streaming generation, returns content in real-time chunksgenerateContent, streamGenerateContent Content generated successfully
Response format description:
method=generateContent, returns GenerateContentResponse (returns complete response at once)method=streamGenerateContent, returns StreamGenerateContentResponse (streaming response, returns content in chunks)