Skip to navigation

Media · Video · Repurpose media into short clips

View as Markdown

Creates a clip project from a downloadable media source. Supports direct media URLs, YouTube (youtube.com or youtu.be), Vimeo, and Google Drive file links that the service can download. Private or login-only sources and arbitrary landing pages are not guaranteed. Costs credits. Returns immediately with the project id, not a task_id. Poll getRepurposeProject until job_status is DONE or UPDATED; FAILED is terminal. Then use listRepurposeClips for individual clip status and download URLs. Clips render asynchronously.

Authentication

AuthorizationApi-Key

Header authentication of the form Api-Key <token>

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
titlestringRequired1-255 characters
media_urlstringRequiredformat: "uri"<=1024 characters

Downloadable source media file or supported YouTube, Vimeo, or Google Drive file URL. For a Simplified asset, resolve its fresh file URL first; an asset UUID is not a URL. Preserve signed query parameters.

project_typeenumOptionalDefaults to V

V for source video; A for source audio/podcast.

Allowed values:
durationenumOptionalDefaults to 58

Target clip length in seconds (58 is the one-minute preset).

Allowed values:
aspect_ratioenumOptionalDefaults to youtube-shorts
Allowed values:
clip_layoutenumOptionalDefaults to auto
Allowed values:
language_codestringOptional<=20 charactersDefaults to en-US
brand_kit_configobjectOptional

Response

Resource or asynchronous submission result.
idstringOptionalformat: "uuid"
story_idstringOptionalformat: "uuid"
titlestringOptional
media_urlstringOptionalformat: "uri"
project_typeenumOptional
Allowed values:
job_statusstringOptional