Import a Descript timeline
Open a Descript timeline export (FCPXML or EDL) as a new project, at once. An export names files, not media, so ingest every file it names first and pass each ingest result in files. FCPXML brings picture and sound layer by layer, each picture full frame; EDL brings sound only, at exact sample times with volumes and fades. Captions and markers are skipped and counted in skipped. Anything that would change the picture or timing (transforms, effects, retiming, titles, transitions) is refused with a 400 naming it, never approximated. The request can be up to 4 MB. Free. See Import from Descript.
curl --request POST \
--url https://api.vidjutsu.ai/imports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"files": [
{}
],
"project": "<string>",
"timeline": "<string>",
"author": null,
"format": null,
"idempotency_key": null
}
'import requests
url = "https://api.vidjutsu.ai/imports"
payload = {
"files": [{}],
"project": "<string>",
"timeline": "<string>",
"author": None,
"format": None,
"idempotency_key": None
}
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({
files: [{}],
project: '<string>',
timeline: '<string>',
author: null,
format: null,
idempotency_key: null
})
};
fetch('https://api.vidjutsu.ai/imports', 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.vidjutsu.ai/imports",
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([
'files' => [
[
]
],
'project' => '<string>',
'timeline' => '<string>',
'author' => null,
'format' => null,
'idempotency_key' => null
]),
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.vidjutsu.ai/imports"
payload := strings.NewReader("{\n \"files\": [\n {}\n ],\n \"project\": \"<string>\",\n \"timeline\": \"<string>\",\n \"author\": null,\n \"format\": null,\n \"idempotency_key\": null\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.vidjutsu.ai/imports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n {}\n ],\n \"project\": \"<string>\",\n \"timeline\": \"<string>\",\n \"author\": null,\n \"format\": null,\n \"idempotency_key\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vidjutsu.ai/imports")
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 \"files\": [\n {}\n ],\n \"project\": \"<string>\",\n \"timeline\": \"<string>\",\n \"author\": null,\n \"format\": null,\n \"idempotency_key\": null\n}"
response = http.request(request)
puts response.read_body{
"branch": "<string>",
"clips": 123,
"duration_seconds": 123,
"format": "fcpxml",
"project": "<string>",
"revision": "<string>",
"skipped": {},
"tracks": [
{
"clips": 123,
"id": "<string>",
"kind": "video"
}
],
"trimmed": [
"<string>"
]
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}Authorizations
Headers
The API version you wrote your integration against, a date. Without it you get the latest version. The current version is 2026-11-03. See https://docs.vidjutsu.ai/api-reference/introduction#versioning.
^\d{4}-\d{2}-\d{2}$"2026-11-03"
Body
A Descript timeline export (FCPXML or EDL) to open as a new project, and an ingest result for every file it names.
Response
Created
curl --request POST \
--url https://api.vidjutsu.ai/imports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"files": [
{}
],
"project": "<string>",
"timeline": "<string>",
"author": null,
"format": null,
"idempotency_key": null
}
'import requests
url = "https://api.vidjutsu.ai/imports"
payload = {
"files": [{}],
"project": "<string>",
"timeline": "<string>",
"author": None,
"format": None,
"idempotency_key": None
}
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({
files: [{}],
project: '<string>',
timeline: '<string>',
author: null,
format: null,
idempotency_key: null
})
};
fetch('https://api.vidjutsu.ai/imports', 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.vidjutsu.ai/imports",
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([
'files' => [
[
]
],
'project' => '<string>',
'timeline' => '<string>',
'author' => null,
'format' => null,
'idempotency_key' => null
]),
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.vidjutsu.ai/imports"
payload := strings.NewReader("{\n \"files\": [\n {}\n ],\n \"project\": \"<string>\",\n \"timeline\": \"<string>\",\n \"author\": null,\n \"format\": null,\n \"idempotency_key\": null\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.vidjutsu.ai/imports")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n {}\n ],\n \"project\": \"<string>\",\n \"timeline\": \"<string>\",\n \"author\": null,\n \"format\": null,\n \"idempotency_key\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vidjutsu.ai/imports")
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 \"files\": [\n {}\n ],\n \"project\": \"<string>\",\n \"timeline\": \"<string>\",\n \"author\": null,\n \"format\": null,\n \"idempotency_key\": null\n}"
response = http.request(request)
puts response.read_body{
"branch": "<string>",
"clips": 123,
"duration_seconds": 123,
"format": "fcpxml",
"project": "<string>",
"revision": "<string>",
"skipped": {},
"tracks": [
{
"clips": 123,
"id": "<string>",
"kind": "video"
}
],
"trimmed": [
"<string>"
]
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}{
"code": "unauthenticated",
"message": "<string>",
"request_id": "<string>",
"reason": "<string>",
"checkout_url": "<string>",
"top_up_url": "<string>",
"upgrade_url": "<string>",
"media_deletes_at": "2023-11-07T05:31:56Z",
"contact_url": "<string>",
"retry_after_seconds": 123,
"latest_version": "<string>"
}