Creates an embedding vector representing the input text.
API Reference
Creates an embedding vector representing the input text.
POST
Creates an embedding vector representing the input text.
授权
API token from https://platform.acedata.cloud
请求头
Specifies the format of the response from the server.
可用选项:
application/json 请求体
application/json
ID of the embedding model to use (e.g., text-embedding-3-small, text-embedding-3-large).
可用选项:
text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002 Input to embed: a single string, an array of strings, or token arrays.
Format of the returned embeddings.
可用选项:
float, base64 Optional output embedding size when supported by the model.
必填范围:
x >= 1
