cURL
curl --request POST \ --url https://api.deapi.ai/api/v1/client/prompt/video/price-calculation \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'prompt=A cinematic video sequence' \ --form 'negative_prompt=blurry, low quality' \ --form 'image=<string>' \ --form image.0='@example-file' \ --form image.1='@example-file'
{ "price": 0.00012345 }
Calculate the cost of enhancing a video prompt before execution.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
3
"A cinematic video sequence"
"blurry, low quality"
Optional reference image. Supported formats: JPEG, PNG, BMP, GIF, SVG, WebP.
Price calculation returned successfully
0.00012345
Was this page helpful?