/v1/embeddings shape.
Modalities
Embeddings
Generate vector embeddings with catalog-backed pricing.
Embeddings use the OpenAI-style
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate vector embeddings with catalog-backed pricing.
/v1/embeddings shape.
| Method | Path |
|---|---|
POST | /v1/embeddings |
POST | /external/v1/embeddings |
{
"model": "text-embedding-3-large",
"input": [
"Compose routes paid model calls.",
"x402 turns payment into an HTTP concern."
],
"dimensions": 1024
}
{
"object": "list",
"data": [
{
"object": "embedding",
"embedding": [0.0123, -0.0456],
"index": 0
}
],
"model": "text-embedding-3-large",
"usage": {
"prompt_tokens": 12,
"total_tokens": 12
}
}