cURL
Prompt Enhancement
Sample Prompts Price
Calculate the cost of generating sample prompts before execution.
GET
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Type of sample prompt to generate
Available options:
text2image, text2speech Example:
"text2image"
Optional topic to base the prompt on
Maximum string length:
500Example:
"cyberpunk cityscape at night"
Optional language code for text-to-speech prompts
Maximum string length:
4Example:
"en"
Response
Price calculation returned successfully
Example:
0.00012345