Embedding Model from GooglePrice: 0.15 PTC/million tokens
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
{
"input": "What is the purpose of existence?",
"model": "gemini-embedding-001"
}
Request samples
curl --location --request POST 'https://api.302.ai/v1/embeddings' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"input": "What is the purpose of existence?",
"model": "gemini-embedding-001"
}'
Responses
application/json Modified at 2025-07-18 07:43:05