Upload and save media
Saving new media is a three-step process:- Create a source with
POST /v1/sources. - Upload the file bytes to the returned
uploadUrlbefore it expires. - Save the returned
sourceIdwithPOST /v1/library.
Create a source
Includewidth and height for an image or video. Include duration in seconds for a video or audio file.
sourceId, an uploadUrl, and the time when that upload URL expires.
Upload the file
Upload the original file as a singlePUT request. Common image, video, and audio formats are accepted.
Add the source to the library
Useprivate for media only you can access, or workspace to share it with everyone in your workspace. If you omit scope, the item is saved to your private library.
type to verify the expected type; the request fails if it does not match the source.
Adding items to a workspace library requires an owner or member role. Workspace viewers can list shared items but cannot add or remove them.
List saved media
List the private and workspace libraries separately by setting the requiredscope query parameter:
image, video, sound-effect, music, or lut. When the response includes a cursor, pass it in the next request and continue until no cursor is returned.
limit is a target page size. A response can contain slightly more items because Tella reads a storage page before filtering unavailable items. Follow cursor rather than relying on the item count.Browse curated sound effects
Setscope to default to list the same curated sound effects available in the editor:
presetId, category, durationMs, and a public url you can use to preview the audio. The catalog is returned as one page without a cursor.
Use the presetId to add an effect to a clip without creating or uploading a source:
presetId or sourceId. Use the item’s durationMs to play the full effect.
The default catalog contains sound effects only and is read-only. Use
private or workspace when adding or removing your own library items.Reuse a library item
Items added through the API include asourceId. Pass it to any compatible endpoint, including clips, layouts, overlays, backgrounds, and sound effects. API-added images also include a hosted url, but use their sourceId when placing them in a video.
Images added in the editor may return only a hosted url. Without a sourceId, those images can be used in the editor but cannot be placed through the public API. Saved videos and sound effects include a sourceId; curated sound effects use presetId instead. Music and LUT items return a hosted URL instead of a source ID.
Remove a library item
Pass both the library item ID and its scope:Library API reference
Review all request parameters and response fields for the library endpoints.