Generate embeddings using the Gemini Embedding 001 model
Bearer authentication using API key
Request payload
OpenAI-compatible embeddings API request format
The input text to embed, either a string or array of strings
Model name to use for the request
google/gemini-embedding-001 The number of dimensions the resulting output embeddings should have. Only supported in some models.
x >= 1The format to return the embeddings in
float, base64 Successful response