APIPrompt Enhancement
Technical Reference
Sample Prompts Price
Technical documentation for dryAPI APIs, integration guides, and operational references.
Calculate the cost of generating sample prompts before execution.
OpenAPI
Client Calculate Sample Prompts Price
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
type*string
Type of sample prompt to generate
Value in
"text2image" | "text2speech"topic?|
Optional topic to base the prompt on
Length
length <= 500lang_code?|
Optional language code for text-to-speech prompts
Length
length <= 4Response Body
application/json
application/json
curl -X GET "https://api.dryapi.dev/api/v1/client/prompts/samples/price-calculation?type=text2image"{
"price": 0.00012345
}{
"data": {},
"message": "string",
"errors": [
{
"field": "string",
"messages": [
null
]
}
],
"statusCode": 0
}Last updated on 21 March 2026