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>"
}
This endpoint is shared with v1. v2 clients call the same /api/v1/client/prompt/video path.
Enhance a raw user prompt into a detailed, model-friendly prompt optimized for text-to-video and image-to-video generation.

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