Skip to main content
POST
/
v1
/
video
/
clips
Create clips from YouTube
curl --request POST \
  --url https://api.usenaive.ai/v1/video/clips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "youtube_url": "<string>",
  "title": "<string>",
  "language": "en",
  "template": "<string>",
  "min_clip_length": 123,
  "max_clip_length": 123
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
youtube_url
string
required
title
string
required
language
string
default:en
template
string
min_clip_length
number
max_clip_length
number

Response

Queued.

The response is of type object.