cURL
curl --request POST \ --url https://api.video.dev/v1/clip \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "start_time_ms": 123, "end_time_ms": 123, "from_media_id": "<string>" }'
{ "start_time_ms": 123, "end_time_ms": 123, "clip_id": "<string>", "duration_ms": 123, "source_media": { "status": "complete", "media_id": "<string>", "media_url": "https://storage.xyz/media.mp4", "media_info": { "type": "video", "duration_ms": 123, "fps": 123, "frame_count": 123, "width": 123, "height": 123, "channels": 123 } } }
Create custom clip
use params.query to specify search query
The body is of type object.
object
Clip workflow initiated successfully
The response is of type object.
Was this page helpful?