curl --request POST \
--url https://api.tella.com/v1/motion/clips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Intro title",
"documentId": "ffd_abc123",
"duration": 4,
"videoId": "vid_abc123"
}
'import requests
url = "https://api.tella.com/v1/motion/clips"
payload = {
"name": "Intro title",
"documentId": "ffd_abc123",
"duration": 4,
"videoId": "vid_abc123"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Intro title',
documentId: 'ffd_abc123',
duration: 4,
videoId: 'vid_abc123'
})
};
fetch('https://api.tella.com/v1/motion/clips', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tella.com/v1/motion/clips",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Intro title',
'documentId' => 'ffd_abc123',
'duration' => 4,
'videoId' => 'vid_abc123'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tella.com/v1/motion/clips"
payload := strings.NewReader("{\n \"name\": \"Intro title\",\n \"documentId\": \"ffd_abc123\",\n \"duration\": 4,\n \"videoId\": \"vid_abc123\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tella.com/v1/motion/clips")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Intro title\",\n \"documentId\": \"ffd_abc123\",\n \"duration\": 4,\n \"videoId\": \"vid_abc123\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tella.com/v1/motion/clips")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Intro title\",\n \"documentId\": \"ffd_abc123\",\n \"duration\": 4,\n \"videoId\": \"vid_abc123\"\n}"
response = http.request(request)
puts response.read_body{
"clipId": "cl_abc123",
"document": {
"createdAt": "2026-10-22T10:00:00.000Z",
"id": "ffd_abc123",
"name": "Lower third",
"ownerID": "vid_abc123",
"scope": "story",
"sceneID": "<string>"
},
"editUrl": "<string>",
"videoId": "vid_abc123"
}{
"docsUrl": "https://docs.tella.com/",
"error": "bad_request",
"message": "The request was malformed or contained invalid parameters."
}{
"docsUrl": "https://docs.tella.com/",
"error": "unauthorized",
"message": "Authentication is required. Provide a valid API key."
}{
"docsUrl": "https://docs.tella.com/",
"error": "forbidden",
"message": "You don't have permission to access this resource."
}{
"docsUrl": "https://docs.tella.com/",
"error": "not_found",
"message": "The requested resource was not found."
}{
"docsUrl": "https://docs.tella.com/",
"error": "conflict",
"message": "The request conflicts with the resource's current state, e.g. an Idempotency-Key whose first request is still in progress. Retry once it settles."
}{
"docsUrl": "https://docs.tella.com/",
"error": "rate_limited",
"message": "You have exceeded the rate limit. Please slow down."
}{
"docsUrl": "https://docs.tella.com/",
"error": "server_error",
"message": "An unexpected error occurred"
}{
"docsUrl": "https://docs.tella.com/",
"error": "not_implemented",
"message": "The requested operation is not implemented."
}{
"docsUrl": "https://docs.tella.com/",
"error": "unavailable",
"message": "A dependency was unavailable and the request was not executed. Safe to resend unchanged after the Retry-After delay."
}Add a Tella Motion clip
Adds a clip at the end of a video that plays a blank Tella Motion document of its own, or your document documentId that no video plays yet, and returns the clip and its document. With documentId and no videoId, it makes a new video for the document, as large as its canvas, and returns its videoId and editUrl. Build what it shows with POST /v1/motion/documents/{id}/commands. The clip routes that edit layouts, cuts, zooms, overlays or the transcript refuse a Tella Motion clip; it can still be renamed, moved and deleted.
curl --request POST \
--url https://api.tella.com/v1/motion/clips \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Intro title",
"documentId": "ffd_abc123",
"duration": 4,
"videoId": "vid_abc123"
}
'import requests
url = "https://api.tella.com/v1/motion/clips"
payload = {
"name": "Intro title",
"documentId": "ffd_abc123",
"duration": 4,
"videoId": "vid_abc123"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Intro title',
documentId: 'ffd_abc123',
duration: 4,
videoId: 'vid_abc123'
})
};
fetch('https://api.tella.com/v1/motion/clips', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tella.com/v1/motion/clips",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Intro title',
'documentId' => 'ffd_abc123',
'duration' => 4,
'videoId' => 'vid_abc123'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tella.com/v1/motion/clips"
payload := strings.NewReader("{\n \"name\": \"Intro title\",\n \"documentId\": \"ffd_abc123\",\n \"duration\": 4,\n \"videoId\": \"vid_abc123\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tella.com/v1/motion/clips")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Intro title\",\n \"documentId\": \"ffd_abc123\",\n \"duration\": 4,\n \"videoId\": \"vid_abc123\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tella.com/v1/motion/clips")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Intro title\",\n \"documentId\": \"ffd_abc123\",\n \"duration\": 4,\n \"videoId\": \"vid_abc123\"\n}"
response = http.request(request)
puts response.read_body{
"clipId": "cl_abc123",
"document": {
"createdAt": "2026-10-22T10:00:00.000Z",
"id": "ffd_abc123",
"name": "Lower third",
"ownerID": "vid_abc123",
"scope": "story",
"sceneID": "<string>"
},
"editUrl": "<string>",
"videoId": "vid_abc123"
}{
"docsUrl": "https://docs.tella.com/",
"error": "bad_request",
"message": "The request was malformed or contained invalid parameters."
}{
"docsUrl": "https://docs.tella.com/",
"error": "unauthorized",
"message": "Authentication is required. Provide a valid API key."
}{
"docsUrl": "https://docs.tella.com/",
"error": "forbidden",
"message": "You don't have permission to access this resource."
}{
"docsUrl": "https://docs.tella.com/",
"error": "not_found",
"message": "The requested resource was not found."
}{
"docsUrl": "https://docs.tella.com/",
"error": "conflict",
"message": "The request conflicts with the resource's current state, e.g. an Idempotency-Key whose first request is still in progress. Retry once it settles."
}{
"docsUrl": "https://docs.tella.com/",
"error": "rate_limited",
"message": "You have exceeded the rate limit. Please slow down."
}{
"docsUrl": "https://docs.tella.com/",
"error": "server_error",
"message": "An unexpected error occurred"
}{
"docsUrl": "https://docs.tella.com/",
"error": "not_implemented",
"message": "The requested operation is not implemented."
}{
"docsUrl": "https://docs.tella.com/",
"error": "unavailable",
"message": "A dependency was unavailable and the request was not executed. Safe to resend unchanged after the Retry-After delay."
}Authorizations
API key obtained from your Tella account settings
Body
A new clip at the end of the video that plays a blank Tella Motion document of its own, as large as the video and duration seconds long (10 when absent), or your document documentId. Without videoId, a new video as large as that document. The clip lasts as long as its document.
The clip's name, and the new video's when there is no videoId.
1"Intro title"
A Tella Motion document of yours that no video plays yet, for the clip to play instead of a blank one. The video takes it over.
"ffd_abc123"
How long the clip plays, in seconds (default 10): the blank document's canvas length. Not with documentId, whose document keeps its own length.
0.1 <= x <= 36004
The video (vid_…) to add the clip to. Leave it out, with documentId, for a new video.
"vid_abc123"
Response
Created
The new clip and the document it plays
"cl_abc123"
A Tella Motion document: a render timeline (a tree of media, sound, text, shape, sequence and composition nodes) that a Tella Motion clip, overlay or b-roll plays live, so edits show in the video at once.
Hide child attributes
Hide child attributes
"2026-10-22T10:00:00.000Z"
Document ID
"ffd_abc123"
"Lower third"
The owner's ID: the video's, for story documents; yours, for user documents.
"vid_abc123"
Who owns the document: story for a video's own documents (its Tella Motion clips, overlays and b-roll), user for one of yours that no video plays yet.
"story"
The clip that plays this document, when it is a Tella Motion clip's. Absent for overlays and b-roll.
The new video in the Tella editor, when the clip made one.
The new video, when the clip made one.
"vid_abc123"
Was this page helpful?