Using go-genai with googleapis.com

Go integration

✓ Official SDK
Install
go get github.com/googleapis/go-genai
Quick start
import "go-genai"

// Initialize client
client := go-genai.NewClient("YOUR_ACCESS_TOKEN")
Service that performs image detection and annotation for a batch of files. No…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://vision.googleapis.com/v1p1beta1/files:annotate
Run image detection and annotation for a batch of images.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://vision.googleapis.com/v1p1beta1/images:annotate
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:vision
At a glance
Language Go
Endpoints8
Base URLhttps://vision.googleapis.com
✓ Official