Skip to main content
POST
/
api
/
v1
/
client
/
prompt
/
video
/
price-calculation
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
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
prompt
string
Minimum string length: 3
Example:

"A cinematic video sequence"

negative_prompt
string | null
Minimum string length: 3
Example:

"blurry, low quality"

image
file | null

Optional reference image. Supported formats: JPEG, PNG, BMP, GIF, SVG, WebP.

Response

Price calculation returned successfully

price
number<float>
Example:

0.00012345