label-detector-pali-001 (us-central1)

Google label-detector-pali-001 hosted on GCP Vertex AI in us-central1.

Provider: All Google models | GCP Vertex AI

Inference regions: us-central1

API Endpoint

https://us-central1-aiplatform.googleapis.com/v1/projects/{project}/locations/{region}/publishers/{publisher}/models/{model}:generateContent

Quick Start (Python)

Install: pip install google-cloud-aiplatform

import vertexai
from vertexai.generative_models import GenerativeModel

vertexai.init(project="your-project-id", location="us-central1")

model = GenerativeModel("label-detector-pali-001")

response = model.generate_content("Hello, how are you?")

print(response.text)

Supported Parameters

ParameterTypeDescription
maxOutputTokensintegerMaximum number of tokens to generate. (≥1)
temperaturefloatControls randomness. (0–2) Default: 1.
topPfloatNucleus sampling threshold. (0–1) Default: 1.
topKintegerTop-K sampling. (≥0)
stopSequencesstringSequences where generation stops.