curl --request POST \
--url https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"footer": "owner"
}
'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate"
payload = { "footer": "owner" }
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({footer: 'owner'})
};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate', 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://pria.praxislxp.com/api/user/presentations/{id}/export/estimate",
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([
'footer' => 'owner'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate"
payload := strings.NewReader("{\n \"footer\": \"owner\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
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://pria.praxislxp.com/api/user/presentations/{id}/export/estimate")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"footer\": \"owner\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"footer\": \"owner\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"estimate": {
"estimateId": "<string>",
"revision": 123,
"version": 123,
"credits": 0.135,
"seconds": 167,
"durationS": 63.72,
"expiresAt": "2023-11-07T05:31:56Z",
"presenter": true,
"affordable": true,
"footer": "owner"
}
}Estimate the credits to export the current version to MP4
Stores an estimate for the current version (valid 10 minutes). Show it to the user, then start the export with its estimateId. presenter says whether the Digital Twin’s face will be in the video; affordable whether the balance covers the estimate. While the face is still being recorded the answer is 409 PRESENTER_PENDING (with presenterStatus): wait (poll the version) and ask again. Owner only. footer chooses the source line burned into the video: owner (default — your source names) or public (the share-link redaction: “Internal document” for vault files, the web site’s hostname for public web pages); only a public-footer export (or one naming no internal source) can be downloaded through a share link. The price does not depend on it.
curl --request POST \
--url https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"footer": "owner"
}
'import requests
url = "https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate"
payload = { "footer": "owner" }
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({footer: 'owner'})
};
fetch('https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate', 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://pria.praxislxp.com/api/user/presentations/{id}/export/estimate",
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([
'footer' => 'owner'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate"
payload := strings.NewReader("{\n \"footer\": \"owner\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
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://pria.praxislxp.com/api/user/presentations/{id}/export/estimate")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"footer\": \"owner\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/presentations/{id}/export/estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"footer\": \"owner\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"estimate": {
"estimateId": "<string>",
"revision": 123,
"version": 123,
"credits": 0.135,
"seconds": 167,
"durationS": 63.72,
"expiresAt": "2023-11-07T05:31:56Z",
"presenter": true,
"affordable": true,
"footer": "owner"
}
}Was this page helpful?