Edit an existing video based on a text prompt. Provide a source video and describe the changes you want. This is an asynchronous operation.
cURL
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" }
API key for authentication
Text description of the edits to apply
Your Space ID
File ID of the source video to edit
Video edit started
Unique request ID to poll for results