Skip to main content
All models

Google / Model reference

Gemini Embedding 2

Google model available through the Celeste SDK. Explore its supported operations and parameters.

See the code
Model IDgemini-embedding-2

What it can do.

celeste.audio.embedCreate vector embeddings
celeste.images.embedCreate vector embeddings
celeste.text.embedCreate vector embeddings
celeste.videos.embedCreate vector embeddings

Parameters.

Supported controls from Celeste’s model registry. Values and availability differ between models.

Gemini Embedding 2 parameters and constraints
ParameterAccepted values
audioaudios
dimensions128 – 3072Step: 1
imageImage artifacts
videovideos

Start with a few lines

Put it to work.

Use your provider credentials. Call the model through the SDK and build around its output.

Embed
import celeste
response = await celeste.text.embed(
model="gemini-embedding-2",
text="A place to watch the stars." )
embedding = response.content

This example uses text.embed. Explore the quickstart for installation and authentication.