v1
latestOpenAPI 3.0.02026-07-228239173.7 KBClient API
Endpoint for requesting text to embedding inference
post/api/v1/client/txt2embedding
Headers
Accept'application/json' required
Request body
Example request
{
"input": "This is a sample text for embedding generation.",
"model": "Bge_M3_FP16",
"webhook_url": "https://your-server.com/webhooks/deapi"
}Response
ID of the inference request.
Example response
{
"data": {
"request_id": "c08a339c-73e5-4d67-a4d5-231302fbff9a"
}
}