llms.txtllms-full.txt
DashboardStatusGet API Key
IntroductionQuickstartModelsPricingArchitecture & SecurityLimits & Quotas
Execution Modes & HTTP QueueWebhooksWebSocketsMCP Servern8n Integrationn8n dryAPI node
API OverviewErrorsText-to-ImagePOSTText-to-Image Price CalculationPOSTText-to-VideoPOSTText-to-Video Price CalculationPOSTImage-to-VideoPOSTImage-to-Video Price CalculationPOSTAudio-to-VideoPOSTAudio-to-Video Price CalculationPOSTText-to-Speech (TTS)POSTText-to-Speech Price CalculationPOSTText-to-MusicPOSTText-to-Music Price CalculationPOSTText-to-EmbeddingPOSTText-to-Embedding Price CalculationPOSTImage-to-ImagePOSTImage-to-Image Price CalculationPOSTImage Background RemovalPOSTImage Background Removal Price CalculationPOSTImage UpscalePOSTImage Upscale Price CalculationPOST
OpenAPI
SDKs & IntegrationsPayment MethodsFAQ — Frequently Asked QuestionsSupport & Contact
dAdryAPI
DashboardStatusGet API Key
API
Technical Reference

Text-to-Embedding Price Calculation

Technical documentation for dryAPI APIs, integration guides, and operational references.

Endpoint for calculating price for text to embedding inference

OpenAPI

Request Price For Txt2 Embedding

POST
/api/v1/client/txt2embedding/price-calculation

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Accept*string
Default"application/json"
Value in"application/json"

Request Body

application/json

Text to embedding conversion parameters

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.dryapi.dev/api/v1/client/txt2embedding/price-calculation" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{    "input": "This is a sample text for embedding generation.",    "model": "Bge_M3_FP16"  }'
{
  "data": {
    "price": 0.0003
  }
}
{
  "data": {},
  "message": "string",
  "errors": [
    null
  ],
  "statusCode": 0
}
{
  "data": {},
  "message": "string",
  "errors": [
    null
  ],
  "statusCode": 0
}
{
  "message": "The selected model does not support Text To Image.",
  "errors": {
    "model": [
      "The selected model does not support Text To Image."
    ]
  }
}
{
  "message": "Too Many Attempts."
}
Last updated on 21 March 2026

POST Text-to-Embedding

Previous Page

POST Image-to-Image

Next Page

input*|array<>

Input text(s) to generate embeddings for. Can be a single string or array of strings (max 2048 items). Each input limited to 8192 tokens, total request limited to 300k tokens.

model*string

The embedding model to use. Available models can be retrieved via the GET /api/v1/client/models endpoint.