{"uid":"cap_Zuxo2Ej6sBpkkwS1brGBO","slug":"aispace-embeddings-api-3c060240","name":"AiSpace Embeddings API","description":"Text embeddings on Venice models for retrieval, RAG, and semantic search, paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=embedding.","url":"https://x402.aispace.bot/api/v1/embeddings?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"description":"String or array of strings to embed."},"model":{"type":"string","description":"Venice embedding model id. See GET /api/v1/models?type=embedding (e.g. text-embedding-bge-m3, gemini-embedding-2-preview)."}}},"responseSchema":{"type":"json","example":{"data":[{"index":0,"object":"embedding","embedding":[-0.05365830659866333]}],"model":"text-embedding-bge-m3","usage":{"total_tokens":3,"prompt_tokens":3},"object":"list"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T1wXeHuI32T-5hMOonTF8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates vector embeddings for text input using Venice.ai-powered models via a privacy-focused API","exampleAgentPrompt":"Can you generate an embedding vector for the text 'The quick brown fox jumps over the lazy dog' using AiSpace's embeddings API with the default model?","exampleUseCases":[{"title":"Semantic search index building","prompt":"I need to vectorize all my product descriptions so I can do semantic similarity search — can you generate embeddings for each one using AiSpace with a text embedding model?"},{"title":"RAG pipeline document encoding","prompt":"Before I can answer questions from my knowledge base, I need to embed this paragraph into a vector: 'Our refund policy allows returns within 30 days of purchase.' Can you get the embedding using AiSpace?"},{"title":"Text similarity comparison","prompt":"I want to check how semantically similar two customer support queries are — can you embed both 'How do I reset my password?' and 'I forgot my login credentials' via AiSpace so I can compare their vectors?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean field indicating success; the actual embedding vector data would be returned alongside it. The response confirms the embedding was computed and returns the numerical vector representation of the input text.","failureModes":["Missing required 'input' field returns a validation error","Invalid or unsupported model name may return an error or fallback behavior","Malformed query parameters cause request failure","Insufficient USDC balance (x402 payment failure) blocks the request","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need privacy-preserving text embeddings where data does not leave the device/local context, and you want a Venice.ai-backed model accessed via x402 micropayment. Prefer this over OpenAI or Cohere embeddings if privacy is a hard requirement or if you are operating in a crypto-native/x402 payment environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:42:41.763Z","isFirstParty":false,"canonicalSlug":"aispace-embeddings-api-3c060240"}