GET
/
api
/
v1
/
client
/
prompts
/
samples
/
price-calculation
Sample Prompts Price Calculation
curl --request GET \
  --url https://api.modelbeam.srv1069417.hstgr.cloud/api/v1/client/prompts/samples/price-calculation
{
  "price": 0.0008728
}

Query Parameters

type
enum<string>
required
Available options:
text2image,
text2speech
topic
string
Maximum string length: 500
lang_code
string
Maximum string length: 4

Response

Price calculated

price
number<double>
Example:

0.0008728