Apply template to clips
Asynchronously applies one of your saved templates to all (or a subset of) the generated clips in a submission. The job runs in the background — returns immediately with the number of clips being processed.
Once a template is applied, each clip gets its own edit settings that you can then render via POST /clips/{videoId}/submissions/{submissionId}/clips/{clipId}/render.
Only one batch job can run at a time per account. Returns 429 if another is already running.
Authorization
apiKey In: header
Path Parameters
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/clips/string/submissions/string/apply_template" \ -H "Content-Type: application/json" \ -d '{ "template_id": "string" }'{ "clips_count": 0}Retry a failed submission POST
Runs a `failed` submission again with the exact settings it was created with (strategy, timeframe, template, translation) and returns the NEW submission, charged like `POST /clips`. The failed one stays in the history. Retrying a submission that did not fail answers `409 SUBMISSION_NOT_FAILED`.
List generated clips GET
Returns the AI-generated highlight clips produced by a completed submission. Each clip includes its timestamp range within the source video, an AI relevance score, and signed URLs for streaming and downloading. Sort by `rating` (default) to surface the most impactful clips first. Download and play URLs are time-limited signed URLs — fetch them fresh when needed rather than caching them long-term. Returns `410` if the submission has expired. This is permanent, so do not retry: re-submit the video to generate new clips.