Generate a video from a text prompt and optionally an image.
This is an asynchronous operation that returns a request_id for polling.
POST
/
v1
/
videos
/
generations
curl --request POST \ --url https://api.zarkai.xyz/v1/videos/generations \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "prompt": "A serene lake at sunrise with mist rolling over the water", "workspace_id": "wks-xxxxx"}'
curl --request POST \ --url https://api.zarkai.xyz/v1/videos/generations \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "prompt": "A serene lake at sunrise with mist rolling over the water", "workspace_id": "wks-xxxxx"}'