Skip to main content
POST
/
api
/
v1
/
client
/
prompt
/
video
cURL
curl --request POST \
  --url https://api.deapi.ai/api/v1/client/prompt/video \
  --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'
{
  "prompt": "<string>",
  "negative_prompt": "<string>"
}
Multimodal support: This endpoint accepts an optional reference image. When provided, the enhancement will be tailored to complement the visual content.

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

Enhanced prompts returned successfully

prompt
string
negative_prompt
string | null