Comment Comment by verdverm > Currently, there's no API for Gemini ProThis is incorrect, you can use the playground here: https://console.cloud.google.com/vertex-ai/generative/langua...They have buttons to get the code version for calling the API in multiple programming languages API_ENDPOINT="us-central1-aiplatform.googleapis.com" PROJECT_ID="my-project" MODEL_ID="gemini-pro" LOCATION_ID="us-central1" curl \ -X POST \ -H "Authorization: Bearer $(gcloud auth print-access-token)" \ -H "Content-Type: application/json" \ "https://${API_ENDPOINT}/v1beta1/projects/${PROJECT_ID}/locations/${LOCATION_ID}/publishers/google/models/${MODEL_ID}:generateContent" ... parent verdverm 2 years ago
This is incorrect, you can use the playground here: https://console.cloud.google.com/vertex-ai/generative/langua...
They have buttons to get the code version for calling the API in multiple programming languages