$ man text-embedding
/text-embedding
PRICE / CALL
$0.002
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmintCATEGORY
uncategorized
STATUS
● live
NAME
text-embedding — text embedding / vector embedding / semantic vector / venice embeddings / gemini embeddings / bge-m3
SYNOPSIS
POST https://x402.agentutility.ai/text-embedding
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Text embedding / vector embedding / semantic vector / Venice embeddings / Gemini embeddings / BGE-M3. Embeds 1 to 100 strings via Venice. Tier shorthand: 'default' → gemini-embedding-2-preview (newest, recommended), 'fast' → text-embedding-bge-m3, 'openai-compat' → text-embedding-3-small. You can also pass a full Venice embedding model name. Returns a list of vectors aligned with input order.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| texts | array | 1 to 100 strings to embed; each up to 30,000 chars. | required |
| model | string | Tier shorthand ('default'|'fast'|'openai-compat') or full Venice embedding model name. Default 'default'. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| embeddings | string | Array of float vectors, one per input string, in the same order as the input array. |
| count | string | Number of input strings that were embedded in this call. |
| dimensions | string | Vector length of each returned embedding (varies by model). |
| model | string | Full Venice model name actually used to generate the embeddings. |
| tier | string | Tier shorthand resolved for this call (default, fast, openai-compat, or the passed model name). |
| usage | string | Token usage stats from Venice for this embedding call. |
| source | string | Upstream provider that produced the vectors (Venice). |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/text-embedding \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# MCP packages on npm under # @agentutility/mcp-* (one per cluster) # # Catalog + install: # https://mcp.agentutility.ai # # Or call text-embedding directly over HTTP — see above.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- embeddingstext-embeddingvector-embeddingsemantic-searchwordmintgemini-embeddingbge-m3
- methods
- POST
- cluster
- wordmint
- price
- $0.002 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| cron-explain | Cron expression explainer / cron parser / scheduling translator. | $0.002 |
| cron-parse | Cron parser. | $0.002 |
| dictionary-define | English dictionary / word definition / lookup word / pronunciation / part of speech / synonyms / etymology adjacent. | $0.002 |
| embedding-similarity | Embedding similarity / cosine similarity / semantic match / vector compare / are-these-strings-similar. | $0.002 |
| regex-test | Regex tester / pattern matcher / regex playground / verify-a-pattern / match-and-capture extractor. | $0.002 |
| semantic-chunk | Semantic chunker / text splitter / RAG chunker / chunking with overlap / sentence + paragraph aware. | $0.002 |
| thesaurus | Thesaurus / synonyms / antonyms / similar words / rhymes / Datamuse / paraphrasing / query expansion. | $0.002 |
| content-simhash | SimHash / 64-bit content fingerprint / near-duplicate detection / dedup hashing / locality-sensitive hash. | $0.001 |
SEE ALSO