curl --request POST \
--url https://api.eddy.engineer/v1/sequence.critique \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"apply": true,
"assembly": {},
"frame": "<string>",
"include_replies": true,
"model": "<string>",
"options": {},
"render": {},
"repair": true,
"request": {},
"rounds": 123,
"segments": 123,
"sequence": {},
"step": 123,
"step_id": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.critique"
payload = {
"apply": True,
"assembly": {},
"frame": "<string>",
"include_replies": True,
"model": "<string>",
"options": {},
"render": {},
"repair": True,
"request": {},
"rounds": 123,
"segments": 123,
"sequence": {},
"step": 123,
"step_id": "<string>"
}
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({
apply: true,
assembly: {},
frame: '<string>',
include_replies: true,
model: '<string>',
options: {},
render: {},
repair: true,
request: {},
rounds: 123,
segments: 123,
sequence: {},
step: 123,
step_id: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/sequence.critique', 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.critique",
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([
'apply' => true,
'assembly' => [
],
'frame' => '<string>',
'include_replies' => true,
'model' => '<string>',
'options' => [
],
'render' => [
],
'repair' => true,
'request' => [
],
'rounds' => 123,
'segments' => 123,
'sequence' => [
],
'step' => 123,
'step_id' => '<string>'
]),
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.critique"
payload := strings.NewReader("{\n \"apply\": true,\n \"assembly\": {},\n \"frame\": \"<string>\",\n \"include_replies\": true,\n \"model\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"repair\": true,\n \"request\": {},\n \"rounds\": 123,\n \"segments\": 123,\n \"sequence\": {},\n \"step\": 123,\n \"step_id\": \"<string>\"\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.critique")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"apply\": true,\n \"assembly\": {},\n \"frame\": \"<string>\",\n \"include_replies\": true,\n \"model\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"repair\": true,\n \"request\": {},\n \"rounds\": 123,\n \"segments\": 123,\n \"sequence\": {},\n \"step\": 123,\n \"step_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.critique")
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 \"apply\": true,\n \"assembly\": {},\n \"frame\": \"<string>\",\n \"include_replies\": true,\n \"model\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"repair\": true,\n \"request\": {},\n \"rounds\": 123,\n \"segments\": 123,\n \"sequence\": {},\n \"step\": 123,\n \"step_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Have a vision model look at a rendered step and flag what a person would miss; the camera is re-picked where it helps (AQ9)
The AI layer’s frame critique. The step’s frame is rendered on the engine (AQ8.b’s raster at the AQ7 camera, the step’s end, the movers highlighted, the placed parts ghosted) and sent to the vision model under the critique prompt with the step’s facts (step_id, the highlight colour, insert_words, the moving and placed parts with their find numbers). The model answers the four flags — hidden_moving_part, look_alike_parts, unclear_direction, clutter — each with the parts and the evidence, and picks actions from the fixed table (camera.reselect, render.ghost_occluders, render.callout, render.distinct_highlight, planner.separate, render.motion_arrow, render.ghost_placed, camera.frame). The validator (ml/aq9/validator.md, 9 critique codes) refuses an unknown step or part, a raised flag without evidence or with the wrong parts, an action of an unraised flag or outside its flag’s list, a raised flag with no action; one repair round. The engine then carries the camera actions out: AQ7’s camera search again for the step with the critiqued view excluded, the hidden parts as must-see at the visibility threshold, a view at least 30 degrees off the motion for an unclear direction; the frame is re-rendered and critiqued again (up to rounds, default 2; the loop stops when nothing is flagged). The render actions are reported for the page (reported_actions). camera_changed with the updated animation (new camera keys, re-keyed) when a camera moved. AQ7’s visibility score remains the hard gate: the model’s flags only add work, never waive a check. A prebuilt ss.aq9.critique.request/1 with its frame blob is looked at once (the eval’s cases). Without a gateway the critique flags nothing and says so (provider: "fixture").
curl --request POST \
--url https://api.eddy.engineer/v1/sequence.critique \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"apply": true,
"assembly": {},
"frame": "<string>",
"include_replies": true,
"model": "<string>",
"options": {},
"render": {},
"repair": true,
"request": {},
"rounds": 123,
"segments": 123,
"sequence": {},
"step": 123,
"step_id": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/sequence.critique"
payload = {
"apply": True,
"assembly": {},
"frame": "<string>",
"include_replies": True,
"model": "<string>",
"options": {},
"render": {},
"repair": True,
"request": {},
"rounds": 123,
"segments": 123,
"sequence": {},
"step": 123,
"step_id": "<string>"
}
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({
apply: true,
assembly: {},
frame: '<string>',
include_replies: true,
model: '<string>',
options: {},
render: {},
repair: true,
request: {},
rounds: 123,
segments: 123,
sequence: {},
step: 123,
step_id: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/sequence.critique', 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.critique",
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([
'apply' => true,
'assembly' => [
],
'frame' => '<string>',
'include_replies' => true,
'model' => '<string>',
'options' => [
],
'render' => [
],
'repair' => true,
'request' => [
],
'rounds' => 123,
'segments' => 123,
'sequence' => [
],
'step' => 123,
'step_id' => '<string>'
]),
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.critique"
payload := strings.NewReader("{\n \"apply\": true,\n \"assembly\": {},\n \"frame\": \"<string>\",\n \"include_replies\": true,\n \"model\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"repair\": true,\n \"request\": {},\n \"rounds\": 123,\n \"segments\": 123,\n \"sequence\": {},\n \"step\": 123,\n \"step_id\": \"<string>\"\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.critique")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"apply\": true,\n \"assembly\": {},\n \"frame\": \"<string>\",\n \"include_replies\": true,\n \"model\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"repair\": true,\n \"request\": {},\n \"rounds\": 123,\n \"segments\": 123,\n \"sequence\": {},\n \"step\": 123,\n \"step_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/sequence.critique")
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 \"apply\": true,\n \"assembly\": {},\n \"frame\": \"<string>\",\n \"include_replies\": true,\n \"model\": \"<string>\",\n \"options\": {},\n \"render\": {},\n \"repair\": true,\n \"request\": {},\n \"rounds\": 123,\n \"segments\": 123,\n \"sequence\": {},\n \"step\": 123,\n \"step_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
Response
{schema: ss.aq9.critique/1, step_id, step, request, critique {flags {hidden_moving_part, look_alike_parts, unclear_direction, clutter: {flag, parts[], evidence}}, actions[]}, rounds[] {round, frame, frame_uri, critique, flags_raised[], actions[] {flag, action, parts, applied, engine_can_apply, detail}, camera_before, camera_after}, flags_raised[], applied_actions[], reported_actions[], camera_changed, animation?, animation_key?, provider, model, live, prompt_version, usage, attempts[], cached}