Gemini Embeddings is a multimodal embedding technique that converts text, audio, video, and image data into numerical vectors that can be processed by machine learning algorithms, especially large models. These vector representations are designed to capture the semantic meaning and context of the data they represent.
8K 컨텍스트 윈도우
8K 최대 출력 토큰
출시일: 2026-03-10
지원 프로토콜:gemini
제공업체:Vertex
기능:비전오디오 입력영상 입력
요금
| 유형 | 요금 |
|---|---|
| 입력 토큰 | $0.2/M |
| 출력 토큰 | $0/M |
| 이미지 입력 | $0.45/M |
| 오디오 입력 | $6.5/M |
| 영상 입력 | $12/M |
코드 예제
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},)response = client.models.embed_content(model="google/gemini-embedding-2-preview",contents="Hello, world!",)print(response.embeddings[0].values[:5])
관련 모델
자주 묻는 질문
Google: Gemini Embedding 2 Preview은(는) Ofox.ai에서 입력 $0.2/M/백만 토큰, 출력 $0/백만 토큰입니다. 종량제, 월정액 없음.
Google: Gemini Embedding 2 Preview은(는) 8K 토큰의 컨텍스트 윈도우와 최대 8K 토큰 출력을 지원하여, 대용량 문서 처리와 장기 대화가 가능합니다.
base URL을 https://api.ofox.ai/v1로 설정하고 Ofox API Key를 사용하면 됩니다. OpenAI 호환 API — 기존 코드에서 base URL과 API Key만 변경하면 됩니다.
Google: Gemini Embedding 2 Preview은(는) 비전, 오디오 입력, 영상 입력 기능을 지원합니다. Ofox.ai 통합 API로 모든 기능에 접근하세요.