
Gemini Embedding 001
About Google Cloud Gemini Embedding 001
gemini-embedding-001 ofrece una experiencia unificada y de vanguardia en diversos ámbitos, como la ciencia, el ámbito jurídico, las finanzas y la programación.
Google Cloud Gemini Embedding 001 es un modelo de Google Cloud disponible en Eden AI a través de su API compatible con OpenAI, desde 0,15 $ / 1M tokens. Llámalo con la misma clave API que cualquier otro modelo de Eden AI, enviando su ID de modelo al endpoint /v3/embeddings, o a través de cualquier SDK de OpenAI, con procesamiento en regiones globales.
Tasks and prices
Google Cloud Gemini Embedding 001 is available on Eden AI for 1 tasks. Se sirve a través de la API compatible con OpenAI de Eden AI: envía su ID de modelo al endpoint /v3/embeddings con tu clave API de Eden AI.
Parameters
What you send and what you get back when you call Google Cloud Gemini Embedding 001 through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.
Entrada
- model (obligatorio): texto. El ID del modelo, en el formato proveedor/modelo.
- input (obligatorio): texto. El texto que se va a insertar, o una lista de textos.
Respuesta
- data
Estimate your monthly cost
Enter your monthly volume for Embeddings to compare Google Cloud Gemini Embedding 001 with its cheapest alternatives.
Call Google Cloud Gemini Embedding 001 with Eden AI
Envía el ID del modelo al endpoint compatible con OpenAI /v3/embeddings. Cualquier SDK de OpenAI también funciona: configura su URL base en https://api.edenai.run/v3.
import requests
response = requests.post(
"https://api.edenai.run/v3/embeddings",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "google/gemini-embedding-001",
"input": "El veloz murciélago hindú comía feliz cardillo y kiwi",
},
)
print(response.json())
curl https://api.edenai.run/v3/embeddings \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemini-embedding-001", "input": "El veloz murciélago hindú comía feliz cardillo y kiwi"}'
const response = await fetch("https://api.edenai.run/v3/embeddings", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "google/gemini-embedding-001",
input: "El veloz murciélago hindú comía feliz cardillo y kiwi",
}),
});
console.log(await response.json());
Questions about Google Cloud Gemini Embedding 001
On Eden AI, Google Cloud Gemini Embedding 001 costs 0,15 $ / 1M tokens for Embeddings. The Tasks and prices table lists the price for each task, and you only pay for what you use.
On Eden AI, Google Cloud Gemini Embedding 001 is available for: Embeddings. Input: Texto. Output: data.
Eden AI offers Embeddings from 15 providers, all callable with the same API key. The cheapest models are compared just below.
Alternatives for Embeddings
Other Embeddings models you can call with the same key, cheapest first.
More from Google Cloud
Other Google Cloud models on Eden AI, for every task.
.avif)









