Whether a clip can get a next part
A next part starts where the clip ends, from the same source. reason says why it cannot be made: SOURCE_ENDED when less than 15 s of the source is left, SOURCE_EXPIRED when the source is no longer kept. exists when it was already made.
apiKeyX-Api-Key<token>videoId*stringVideo id, from POST /videos/info or GET /videos
submissionId*stringSubmission id, from GET /videos/{videoId}/submissions
clipId*stringClip id, from the submission's clip list
^[0-9]{1,20}$Response for status 200
application/json- response
available*booleantrue when POST makes or returns the next part
reason*|Why it cannot be made; null when available
"SOURCE_EXPIRED""SOURCE_ENDED"part*numberPart number of this clip; 1 when it is not a part yet
exists*booleantrue when the next part was already made: POST returns it instead of making another
curl -X GET 'https://api.cut.pro/api/v1/videos/string/submissions/string/clips/string/next-part'{ "available": true, "reason": "SOURCE_EXPIRED", "part": 0, "exists": true}Rename a clip PUT
Saves the clip's title and highlighted phrases (up to 4, each a piece of the title), renames its edit and rewrites the title the template already placed in the video. Render again to get the new title in the file.
Make the next part of a clip POST
Free. The new clip starts where this one ends, keeps about the same length and closes on a sentence end. It copies this clip's edit (layout, captions, texts, music), or the submission's template when it was never edited, plus a removable PART N text. When the next part already exists, returns it. Its `edit_id` goes straight to `POST /renders`.