メインコンテンツへスキップ
POST
Create Embeddings
更新日: 2026-06-06

Overview

Convert input text into high-dimensional vectors for use in semantic search, clustering, recommendations, and more. Fully compatible with the OpenAI Embeddings API format.

Supported Models

Request Parameters

model
string
必須
Embedding model name, e.g. text-embedding-3-large
input
string | string[]
必須
Text to embed. Supports a single string or an array of strings
encoding_format
string
デフォルト:"float"
Return format: float or base64
dimensions
integer
Output vector dimensions (only supported by text-embedding-3-* models)

Response Format

Code Examples

Batch requests support up to 2048 texts per call. Each text should not exceed 8191 tokens.