API referenceGenerate content request (Gemini)Copy pageGenerate content request (Gemini) POST/gemini/v1beta/models/{model_id}:generateContent Generate a whole answer. The request and the response follow Google's generateContent API. Request Response codes200A GenerateContentResponse as Google's Gemini API returns it.Open in the Divyam consoleGetting startedCreate a key and make a first requestAPI keysCreate, rotate or revoke credentials