OpenAI · AI & LLMs
Text Embeddings Live
Turn text into vectors with text-embedding-3-small or -large. The sandbox returns a truncated preview of the vector.
Endpoints
POST
/v1/embeddings— Embed one string.POST
api.apirunner.dev/v1/embeddingsidle
0 ms
Press Run to send the request.
curl -X POST "https://api.apirunner.dev/v1/embeddings" \
-H "Authorization: Bearer YOUR_RUNNER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-small",
"input": "unified api gateway with one bearer token"
}'Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| model | body | text-embedding-3-small | text-embedding-3-large | text-embedding-3-small | — |
| inputrequired | body | string | unified api gateway with one bearer token | — |