curl --request POST \
--url https://api.eddy.engineer/v1/sequence.render \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"animation": {},
"async": true,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"render": {},
"segments": 123,
"sequence": {}
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.render"
payload = {
"assembly": {},
"animation": {},
"async": True,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"render": {},
"segments": 123,
"sequence": {}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assembly: {},
animation: {},
async: true,
compute: {machine: '<string>', provider: '<string>', region: '<string>'},
name: '<string>',
options: {},
render: {},
segments: 123,
sequence: {}
})
};
fetch('https://api.eddy.engineer/v1/sequence.render', 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.eddy.engineer/v1/sequence.render",
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([
'assembly' => [
],
'animation' => [
],
'async' => true,
'compute' => [
'machine' => '<string>',
'provider' => '<string>',
'region' => '<string>'
],
'name' => '<string>',
'options' => [
],
'render' => [
],
'segments' => 123,
'sequence' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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://api.eddy.engineer/v1/sequence.render"
payload := strings.NewReader("{\n \"assembly\": {},\n \"animation\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"segments\": 123,\n \"sequence\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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://api.eddy.engineer/v1/sequence.render")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"animation\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"segments\": 123,\n \"sequence\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.render")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assembly\": {},\n \"animation\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"segments\": 123,\n \"sequence\": {}\n}"
response = http.request(request)
puts response.read_body"<string>"{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Render a planned build sequence as an animation (GIF, AV1 WebM/MP4, APNG) or an animated glTF / USD scene
Takes the sequence from sequence.plan (or an animation from sequence.animate) with the same assembly and writes the clip. reply: "json" answers the stored file’s blob id, key, frame count and duration instead of the bytes — what an agent wants; the default answers the bytes with the same facts in x-sequence-* headers. The animation (compiled here from sequence, or sent as the animation document from sequence.animate) replayed on the engine frame by frame — every part’s tessellation moved to its keyed pose with its look (ghost / highlight / hidden), the auto camera’s view (the page’s theta, phi, dist, pan as an orthographic print, film up render.up), the running step’s explode lines and callouts drawn on top — and encoded by the media crate: AV1 in WebM (webm_av1, the default) or fragmented MP4 (mp4_av1), gif (median-cut palette, sub-rectangles), apng; or exported as an animated glTF binary (glb: a node + mesh per part, LINEAR translation / rotation channels at the study’s own key times carrying the delta from the assembled pose, a STEP scale channel where the look hides a part) or a time-sampled USD layer (usda), both built from the tessellations and the keys with no raster. The frame count is round(span x fps) with the first frame at the window’s start and the last at its end (render.range in seconds, render.reverse). Bytes out with the content type and x-sequence-frames, x-sequence-fps, x-sequence-duration, x-sequence-key (the b3: content address of the file) and x-sequence-blob (the file stored as a blob: GET /v1/blobs/{id}). Byte-stable: identical input renders identical bytes. Synchronous with a budget: width x height x frames <= 2e8 pixels (720p at 30 fps for 7 s, 1080p for 3 s); above it the call refuses 413 RENDER_TOO_LARGE naming the budget (a queued export is the engine). Cost on one core at speed 10: ~0.25 s per 720p frame for AV1, ~0.1 s for GIF. AQ22: the AV1 sequence header carries the level the size and frame rate call for (annex A.3), read back from the header.
curl --request POST \
--url https://api.eddy.engineer/v1/sequence.render \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"assembly": {},
"animation": {},
"async": true,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"render": {},
"segments": 123,
"sequence": {}
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.render"
payload = {
"assembly": {},
"animation": {},
"async": True,
"compute": {
"machine": "<string>",
"provider": "<string>",
"region": "<string>"
},
"name": "<string>",
"options": {},
"render": {},
"segments": 123,
"sequence": {}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assembly: {},
animation: {},
async: true,
compute: {machine: '<string>', provider: '<string>', region: '<string>'},
name: '<string>',
options: {},
render: {},
segments: 123,
sequence: {}
})
};
fetch('https://api.eddy.engineer/v1/sequence.render', 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.eddy.engineer/v1/sequence.render",
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([
'assembly' => [
],
'animation' => [
],
'async' => true,
'compute' => [
'machine' => '<string>',
'provider' => '<string>',
'region' => '<string>'
],
'name' => '<string>',
'options' => [
],
'render' => [
],
'segments' => 123,
'sequence' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <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://api.eddy.engineer/v1/sequence.render"
payload := strings.NewReader("{\n \"assembly\": {},\n \"animation\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"segments\": 123,\n \"sequence\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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://api.eddy.engineer/v1/sequence.render")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"assembly\": {},\n \"animation\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"segments\": 123,\n \"sequence\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.render")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assembly\": {},\n \"animation\": {},\n \"async\": true,\n \"compute\": {\n \"machine\": \"<string>\",\n \"provider\": \"<string>\",\n \"region\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"segments\": 123,\n \"sequence\": {}\n}"
response = http.request(request)
puts response.read_body"<string>"{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
{format (webm_av1), width (640, 16 ..= 1920), height (480, 16 ..= 1080), fps (the animation's, <= 240), range ([start, end] seconds), reverse (false), overlays (true: explode lines, callouts, the step caption), background ([1, 1, 1] linear RGB), base_color (the studio grey for a part without appearance keys), quantizer (100: rav1e's constant quantizer, 0 .. 255), speed (10: rav1e's preset 0 .. 10), keyframe_interval (240), gif_colors (256), gif_dither (false), meters_per_unit (1: USD's metersPerUnit), up ([0, 0, 1]: the film's up)}. AQ20: supersample (1 … 4, anti-aliasing by block means), section {point, normal} (a section plane: the positive side cut away, crossing triangles clipped, no cap), magnifier {at, zoom (3), radius_px (48), corner (ne | nw | se | sw)} (a rimmed disc showing the view around at).
bytes (default): the file with its content type and the x-sequence-frames / -fps / -duration / -key / -blob headers. json: the file stored as a blob and described in one JSON body {blob_id, blob_uri, key, format, content_type, filename, frames, fps, duration, width, height, bytes} — no bytes; what an agent over MCP wants.
bytes, json Response
the clip or the scene file
The response is of type file.