Skip to main content
POST
/
v1
/
videos
/
edits
Video Edit
curl --request POST \
  --url https://api.zarkai.xyz/v1/videos/edits \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "prompt": "Add falling snow to the scene",
  "workspace_id": "wks-xxxxx",
  "file_id": "file-vid-abc123"
}
'
{
  "request_id": "69ad8ab2-3459-9c92-a372-cb3dcc3533b2"
}

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json
prompt
string
required

Text description of the edits to apply

workspace_id
string
required

Your Space ID

file_id
string
required

File ID of the source video to edit

Response

Video edit started

request_id
string

Unique request ID to poll for results