Developer tools
Build against Horizon
Prototype AIVM requests, review endpoint shapes, and run a browser-side SynQ task script.
API Explorer
Inference endpoint
1const response = await fetch("https://api.horizon.synergy.network/v1/infer", {2 method: "POST",3 headers: {4 "Authorization": "Bearer $HORIZON_KEY",5 "Content-Type": "application/json"6 },7 body: JSON.stringify({8 model: "model-oracle-72b",9 prompt: "Audit this validator runbook.",10 consensus: { validators: 7, threshold: 0.67 }11 })12});1314console.log(await response.json());
{
"id": "task_hzn_9f58",
"status": "verified",
"latency_ms": 348,
"consensus": 0.72,
"proof": "0x9f58e6...aivm",
"metering": { "hzn": 18 }
}Loading sandbox...