Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
Minimum string length: 3
Example:

"Tell me a story about a brave knight"

lang_code
string | null
Example:

"en"

Response

Price calculation returned successfully

price
number<float>
Example:

0.00012345