Get one version of a presentation video, ready to play
curl --request GET \
--url https://hiimpria.ai/api/user/presentations/{id}/revisions/{n} \
--header 'x-access-token: <api-key>'import requests
url = "https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}', 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://hiimpria.ai/api/user/presentations/{id}/revisions/{n}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"access": "owner",
"revision": {
"number": 22,
"version": 1,
"parent": 123,
"document": {},
"contentReport": {},
"timingReport": {},
"rendererVersion": "<string>",
"authorRole": "<string>",
"reason": "<string>",
"narration": {
"status": "none",
"timeline": {},
"sceneOffsets": [
123
],
"words": [
{}
]
},
"presenter": {
"status": "queued",
"queuedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"error": "LIPSYNC",
"reused": true
}
},
"media": {
"audio": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"vtt": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"poster": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"presenter": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"pictures": {},
"logos": {}
},
"assets": {
"base": "/presentation-renderer/",
"sourceLabels": {
"upload:64f1c0de0000000000000001": "Praxis AI: Human-First Digital Twins"
}
},
"presenterOnEdit": true,
"length": {
"seconds": 180,
"waits": {
"build": [
5,
15
],
"faceS": 450,
"exportS": 120
},
"pollMinutes": {
"build": 30,
"face": 25
}
},
"rerecord": {
"waitS": 450,
"credits": 1.8
}
}Presentations
Get one version of a presentation video, ready to play
The version’s document, its validation reports and narration timing, with short-lived links (at most 15 minutes; ask again to refresh) to the narration audio, captions (WebVTT) and poster when they exist, and to the Digital Twin’s recorded face (media.presenter, a muted video) once it is ready. The player’s fonts and logo are public files under assets.base. For an administrator’s support read, claims and source excerpts from files outside the Digital Twin’s shared vault are hidden.
GET
/
api
/
user
/
presentations
/
{id}
/
revisions
/
{n}
Get one version of a presentation video, ready to play
curl --request GET \
--url https://hiimpria.ai/api/user/presentations/{id}/revisions/{n} \
--header 'x-access-token: <api-key>'import requests
url = "https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}', 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://hiimpria.ai/api/user/presentations/{id}/revisions/{n}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hiimpria.ai/api/user/presentations/{id}/revisions/{n}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"access": "owner",
"revision": {
"number": 22,
"version": 1,
"parent": 123,
"document": {},
"contentReport": {},
"timingReport": {},
"rendererVersion": "<string>",
"authorRole": "<string>",
"reason": "<string>",
"narration": {
"status": "none",
"timeline": {},
"sceneOffsets": [
123
],
"words": [
{}
]
},
"presenter": {
"status": "queued",
"queuedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"error": "LIPSYNC",
"reused": true
}
},
"media": {
"audio": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"vtt": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"poster": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"presenter": {
"url": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
},
"pictures": {},
"logos": {}
},
"assets": {
"base": "/presentation-renderer/",
"sourceLabels": {
"upload:64f1c0de0000000000000001": "Praxis AI: Human-First Digital Twins"
}
},
"presenterOnEdit": true,
"length": {
"seconds": 180,
"waits": {
"build": [
5,
15
],
"faceS": 450,
"exportS": 120
},
"pollMinutes": {
"build": 30,
"face": 25
}
},
"rerecord": {
"waitS": 450,
"credits": 1.8
}
}Path Parameters
Response
The version
Was this page helpful?