Answers, briefs and extraction
Each of these runs on the free LLM chain, so they work with no key, and each checks the model's citations against the transcript.
Ask a question
/api/v1/askAsk a questionA cited answer from the free LLM chain. Every citation is checked against the transcript.
curl https://vid2context.com/api/v1/ask \
-H 'Content-Type: application/json' \
-d '{
"question": "What does he say about the elephants?",
"inputs": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
]
}'const BASE = 'https://vid2context.com';
const body = {
question: 'What does he say about the elephants?',
inputs: [
'https://www.youtube.com/watch?v=jNQXAC9IVRw',
],
};
const res = await fetch(`${BASE}/api/v1/ask`, {
headers: { 'Content-Type': 'application/json' },
method: 'POST',
body: JSON.stringify(body),
});
if (!res.ok) {
const { error } = await res.json();
throw new Error(`${error.code}: ${error.message} ${error.hint ?? ''}`);
}
console.log(JSON.stringify(await res.json(), null, 2));import json
import urllib.error
import urllib.request
BASE = "https://vid2context.com"
body = {
"question": "What does he say about the elephants?",
"inputs": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw",
],
}
headers = {"Content-Type": "application/json"}
req = urllib.request.Request(f"{BASE}/api/v1/ask", data=json.dumps(body).encode(), headers=headers, method="POST")
try:
with urllib.request.urlopen(req, timeout=300) as res:
print(json.dumps(json.load(res), indent=2))
except urllib.error.HTTPError as err:
error = json.load(err)["error"]
raise SystemExit(f"{error['code']}: {error['message']} {error.get('hint', '')}"){
"name": "ask",
"arguments": {
"question": "What does he say about the elephants?",
"urls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
]
}
}{
"answer": "He says the cool thing about the elephants is that they have \"really... really really long trunks\" and adds \"that's pretty much all there is to say\" [1].",
"citations": [
{
"n": 1,
"videoId": "youtube:jNQXAC9IVRw",
"title": "Me at the zoo",
"startSec": 5.318,
"endSec": 12.616,
"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&t=5s",
"quote": "the cool thing about these guys is that they have really... really really long trunks"
}
],
"unverified": [],
"sources": [
{
"n": 1,
"videoId": "youtube:jNQXAC9IVRw",
"title": "Me at the zoo",
"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw&t=1s",
"startSec": 1.2,
"endSec": 18.881,
"text": "All right, so here we are, in front of the elephants the cool thing about these guys is that they have really... really really long trunks and that's cool (baaaaaaaaaaahhh!!) and that's pretty much all there is to say"
}
],
"rung": "llm/kilo/nvidia/nemotron-3-ultra-550b-a55b:free",
"model": "nvidia/nemotron-3-ultra-550b-a55b:free",
"usage": {
"inputTokens": 426,
"outputTokens": 38
},
"attempts": [
{
"id": "llm/cloudflare/@cf/meta/llama-3.3-70b-instruct-fp8-fast",
"stage": "llm",
"outcome": "skipped",
"reason": "cooldown"
},
{
"id": "llm/kilo/nvidia/nemotron-3-ultra-550b-a55b:free",
"stage": "llm",
"outcome": "ok",
"ms": 954
}
]
}Stream the answer
/api/v1/askStream the answerServer-sent events: meta (rung, sources), delta (answer text), then done with the citations.
curl -N https://vid2context.com/api/v1/ask \
-H 'Content-Type: application/json' \
-d '{
"question": "What does he say about the elephants?",
"inputs": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"stream": true
}'const BASE = 'https://vid2context.com';
const body = {
question: 'What does he say about the elephants?',
inputs: [
'https://www.youtube.com/watch?v=jNQXAC9IVRw',
],
stream: true,
};
const res = await fetch(`${BASE}/api/v1/ask`, {
headers: { 'Content-Type': 'application/json' },
method: 'POST',
body: JSON.stringify(body),
});
if (!res.ok) {
const { error } = await res.json();
throw new Error(`${error.code}: ${error.message} ${error.hint ?? ''}`);
}
// Server-sent events: print the answer as it arrives.
const reader = res.body.pipeThrough(new TextDecoderStream()).getReader();
let buffer = '';
for (;;) {
const { value, done } = await reader.read();
if (done) break;
buffer += value;
let end = buffer.indexOf('\n\n');
while (end >= 0) {
const block = buffer.slice(0, end);
buffer = buffer.slice(end + 2);
const event = /^event: (.*)$/m.exec(block)?.[1];
const data = /^data: (.*)$/m.exec(block)?.[1];
if (event === 'delta') process.stdout.write(JSON.parse(data).text);
if (event === 'error') throw new Error(JSON.parse(data).message);
end = buffer.indexOf('\n\n');
}
}import json
import urllib.error
import urllib.request
BASE = "https://vid2context.com"
body = {
"question": "What does he say about the elephants?",
"inputs": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw",
],
"stream": True,
}
headers = {"Content-Type": "application/json"}
req = urllib.request.Request(f"{BASE}/api/v1/ask", data=json.dumps(body).encode(), headers=headers, method="POST")
try:
with urllib.request.urlopen(req, timeout=300) as res:
event = None
for raw in res:
line = raw.decode().rstrip("\n")
if line.startswith("event: "):
event = line[7:]
elif line.startswith("data: ") and event == "delta":
print(json.loads(line[6:])["text"], end="", flush=True)
except urllib.error.HTTPError as err:
error = json.load(err)["error"]
raise SystemExit(f"{error['code']}: {error['message']} {error.get('hint', '')}")3 events
meta: llm/kilo/nvidia/nemotron-3-ultra-550b-a55b:free (1 source, about 429 prompt tokens)
done: 1 citation verified
He says the cool thing about the elephants is that they have "really... really really long trunks" and adds "that's pretty much all there is to say" [1].A cited brief
/api/v1/briefsA cited briefWith a jobs queue the server answers 202 and a Job; the runner polls it until it finishes.
curl https://vid2context.com/api/v1/briefs \
-H 'Content-Type: application/json' \
-d '{
"inputs": [
"https://www.youtube.com/watch?v=cCPsdFdlshc"
],
"question": "Which G-Wagon years are the most reliable, and which should be avoided?",
"template": "brief"
}'const BASE = 'https://vid2context.com';
const body = {
inputs: [
'https://www.youtube.com/watch?v=cCPsdFdlshc',
],
question: 'Which G-Wagon years are the most reliable, and which should be avoided?',
template: 'brief',
};
const res = await fetch(`${BASE}/api/v1/briefs`, {
headers: { 'Content-Type': 'application/json' },
method: 'POST',
body: JSON.stringify(body),
});
if (!res.ok) {
const { error } = await res.json();
throw new Error(`${error.code}: ${error.message} ${error.hint ?? ''}`);
}
// With a jobs queue the server answers 202 and a Job; poll it until it finishes.
let job = res.status === 202 ? await res.json() : { status: "succeeded", result: await res.json() };
while (job.status === 'queued' || job.status === 'running') {
await new Promise((r) => setTimeout(r, 2000));
job = await (await fetch(`${BASE}/api/v1/jobs/${job.id}`)).json();
}
console.log(JSON.stringify(job.result ?? job.error, null, 2));import json
import time
import urllib.error
import urllib.request
BASE = "https://vid2context.com"
body = {
"inputs": [
"https://www.youtube.com/watch?v=cCPsdFdlshc",
],
"question": "Which G-Wagon years are the most reliable, and which should be avoided?",
"template": "brief",
}
headers = {"Content-Type": "application/json"}
req = urllib.request.Request(f"{BASE}/api/v1/briefs", data=json.dumps(body).encode(), headers=headers, method="POST")
try:
with urllib.request.urlopen(req, timeout=300) as res:
status = res.status
answer = json.load(res)
except urllib.error.HTTPError as err:
error = json.load(err)["error"]
raise SystemExit(f"{error['code']}: {error['message']} {error.get('hint', '')}")
# With a jobs queue the server answers 202 and a Job; poll it until it finishes.
job = answer if status == 202 else {"status": "succeeded", "result": answer}
while job["status"] in ("queued", "running"):
time.sleep(2)
poll = urllib.request.Request(f"{BASE}/api/v1/jobs/{job['id']}")
with urllib.request.urlopen(poll, timeout=60) as res:
job = json.load(res)
print(json.dumps(job.get("result") or job.get("error"), indent=2)){
"name": "build_brief",
"arguments": {
"urls": [
"https://www.youtube.com/watch?v=cCPsdFdlshc"
],
"question": "Which G-Wagon years are the most reliable, and which should be avoided?",
"template": "brief",
"format": "json"
}
}{
"id": "job_lYMaq0xawP63Qy0oxwdG_w",
"kind": "brief",
"status": "succeeded",
"createdAt": "2026-11-14T18:44:47.551Z",
"updatedAt": "2026-11-14T18:46:06.261Z",
"progress": {
"done": 0,
"total": 1,
"message": "Reading 1 video(s) in one pass"
},
"result": {
"question": "Which G-Wagon years are the most reliable, and which should be avoided?",
"template": "brief",
"strategy": "single",
"markdown": "# Brief: Which G-Wagon years are the most reliable, and which should be avoided?\n\n**Question:** Which G-Wagon years are the most reliable, and which should be avoided?\n\nBuilt from 1 video on 2026-11-14. 13 claims passed citation checks (quote found in the transcript within 30 s of its timestamp); 4 did not and are listed at the end, uncited. 0 points have consensus, 0 are disputed, 11 rest on one video.\n\n## Model Years\n\n- G55 AMG was sold in the US from 2003-2012: naturally aspirated in 2003-2004, supercharged 491 hp from 2005 onward.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 4:15](https://www.youtube.com/watch?v=cCPsdFdlshc&t=255s): \"The G55 didn't start until 2003, and it came in as a naturally aspirated model. And they ran it until 12, right? Yep, they ran it through 12. Now, the NA ver...\"\n- 2016-2018 models added auto start-stop, manual shift mode, and flat-bottom Alcantara steering wheel (2017-2018).\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 12:54](https://www.youtube.com/watch?v=cCPsdFdlshc&t=774s): \"And in the introduction, I don't remember which year. Joe, do you remember what year it was where they introduced the auto start-stop? Was that? 16. 16. Yep....\"\n- 2016-2018 G550/G63 use a 4.0L biturbo V8 with hot-V layout, ~60-70 more hp and ~1.5 mpg better fuel economy than the naturally aspirated V8.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 13:16](https://www.youtube.com/watch?v=cCPsdFdlshc&t=796s): \"The 4-liter bi-turbo is a unique one in that it is what they call a hot V. In other words, the turbochargers are in the middle of the motor, and it's a 419-h...\"\n\n## Engine Reliability\n\n- The M113 V8 (2000-2012 G500/G55) is considered one of Mercedes' most reliable V8s.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 0:47](https://www.youtube.com/watch?v=cCPsdFdlshc&t=47s): \"This one has what we know the legendary M113 V8. This was Mercedes' big hurrah into the V8s, and this is arguably one of their most reliable V8s out there.\"\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 4:53](https://www.youtube.com/watch?v=cCPsdFdlshc&t=293s): \"They're robust, reliable. They work really well. They just drink a little oil. They drink a little oil. As they age, one thing you will note on these trucks...\"\n\n## Leather Quality\n\n- Mercedes leather quality is exceptional, showing no rips, tears, cracks, or fading even at high mileage (128k-171k miles).\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 3:39](https://www.youtube.com/watch?v=cCPsdFdlshc&t=219s): \"171,000 miles on a 25-year-old truck. And when you look at the leather, there's no rips, tears, or cracks.\"\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 6:46](https://www.youtube.com/watch?v=cCPsdFdlshc&t=406s): \"These design-o seats were carried through into 2018 that look identical because they are identical. Same seat controls, same pneumatic pumps, same stitching....\"\n\n## Interior Design\n\n- First-gen interior (1991-2001) features wood trim, mechanical switches, and center shifter.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 2:04](https://www.youtube.com/watch?v=cCPsdFdlshc&t=124s): \"This is the first-gen 463 interior. You're going to notice right off the bat, we've got a lot of wood. We've got a lot of mechanical switches. We've got a sh...\"\n- Second-gen interior (2002-2012) has wider door panels with integrated switches, making the cabin feel snugger.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 5:50](https://www.youtube.com/watch?v=cCPsdFdlshc&t=350s): \"The big thing on these trucks, and this is an MBUSA truck, is the first thing you're going to notice is the door panel. It is physically wider. We've now got...\"\n\n## Parts Availability\n\n- The M113 V8 is a global motor with cheap and widely available parts worldwide.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 1:53](https://www.youtube.com/watch?v=cCPsdFdlshc&t=113s): \"It means if you're in Dubai, if you're in India, if you're in Japan, wherever, you can always get parts for it. Or if you're in Arkansas.\"\n\n## Transmission\n\n- The 7-speed automatic (2013-2018) is a major improvement over the 5-speed, keeping the engine in the right gear.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 10:27](https://www.youtube.com/watch?v=cCPsdFdlshc&t=627s): \"You got away from the 5-speed automatic and you go to a 7-speed automatic. I think that's just as much of a game changer in the way the truck handles and dri...\"\n\n## Buying Advice\n\n- Early MBUSA G500s (2002-2010) represent the best value for first-time buyers on a budget.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 8:17](https://www.youtube.com/watch?v=cCPsdFdlshc&t=497s): \"This model, the G500 2002 through 2010, it's going to be your first-time G-Buyer. Those of you that are on a little bit of a budget and need an entry-level v...\"\n\n## Off-Road Capability\n\n- The naturally aspirated V8 (2013-2015) is preferred off-road due to no turbo lag, less twitchy throttle in 4Low, and fewer coolers allowing more bumper modification options.\n - [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked! @ 15:27](https://www.youtube.com/watch?v=cCPsdFdlshc&t=927s): \"I really prefer the naturally aspirated engine off-road. There's no turbo lag. Right. It's less twitchy. It's beautiful. And the reason this is important is...\"\n\n## Sources\n\n| # | Video | Channel | Length | Transcript |\n|---|---|---|---|---|\n| V1 | [Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!](https://www.youtube.com/watch?v=cCPsdFdlshc) | Alliance Motorworks | 18:04 | stt, en |\n\n## Appendix: unverified claims\n\nThe model proposed these, but their quotes could not be matched to the transcript near the timestamp given. They are not cited above.\n\n| Claim | Video | Reason |\n|---|---|---|\n| The 2013-2015 G550 uses the M278 naturally aspirated 5.5L V8, which is very reliable with no catastrophic failures observed. | youtube:cCPsdFdlshc @ 9:37 | quote-not-found: Best match near 9:37 covers 79% of the quote's words (needs 80%). |\n| The third-generation interior (2013-2018) features a floating screen, dual gauge cluster, and Designo seats carried over from 2010. | youtube:cCPsdFdlshc @ 11:31 | quote-not-found: Best match near 11:31 covers 75% of the quote's words (needs 80%). |\n| The 2013-2015 G550 is recommended as the ultimate daily driver and favorite off-road build platform due to reliability, tech, and lack of auxiliary coolers. | youtube:cCPsdFdlshc @ 14:06 | quote-not-found: Best match near 14:06 covers 73% of the quote's words (needs 80%). |\n| Pre-MBUSA trucks (2001 and older) are predicted to appreciate and become future collectors. | youtube:cCPsdFdlshc @ 17:10 | quote-not-found: Best match near 17:10 covers 67% of the quote's words (needs 80%). |\n\n_Models: single: llm/kilo/nvidia/nemotron-3-ultra-550b-a55b:free._\n",
"claims": [
{
"id": "c1",
"claim": "The 2000 G500 with the M113 V8 engine is considered one of Mercedes' most reliable V8s.",
"topic": "Engine Reliability",
"stance": "reliable",
"videoId": "youtube:cCPsdFdlshc",
"citation": {
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 47.02,
"endSec": 80.4,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=47s",
"quote": "This one has what we know the legendary M113 V8. This was Mercedes' big hurrah into the V8s, and this is arguably one of their most reliable V8s out there."
},
"score": 1
},
{
"id": "c2",
"claim": "The M113 V8 engine is a global motor with cheap and widely available parts.",
"topic": "Parts Availability",
"stance": "recommend",
"videoId": "youtube:cCPsdFdlshc",
"citation": {
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 113.04,
"endSec": 119.98,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=113s",
"quote": "It means if you're in Dubai, if you're in India, if you're in Japan, wherever, you can always get parts for it. Or if you're in Arkansas."
},
"score": 1
},
{
"id": "c3",
"claim": "The first-generation W463 interior (1991-2001) features wood trim, mechanical switches, and a center shifter.",
"topic": "Interior Design",
"stance": "neutral",
"videoId": "youtube:cCPsdFdlshc",
"citation": {
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 124.54000000000002,
"endSec": 137.24,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=124s",
"quote": "This is the first-gen 463 interior. You're going to notice right off the bat, we've got a lot of wood. We've got a lot of mechanical switches. We've got a shifter down in the middle."
},
"score": 1
},
{
"id": "c4",
"claim": "A 2000 G500 with 171,000 miles shows no rips, tears, or cracks in the leather.",
"topic": "Leather Quality",
"stance": "reliable",
"videoId": "youtube:cCPsdFdlshc",
"citation": {
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 219.3,
"endSec": 227.48,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=219s",
"quote": "171,000 miles on a 25-year-old truck. And when you look at the leather, there's no rips, tears, or cracks."
},
"score": 1520 more lines not shown. Run it to see the whole response.
Structured data from a template
/api/v1/extractStructured data from a templateJSON that matches the template, with citations verified against the transcript.
curl https://vid2context.com/api/v1/extract \
-H 'Content-Type: application/json' \
-d '{
"inputs": [
"https://www.youtube.com/watch?v=cCPsdFdlshc"
],
"template": "buyer-guide"
}'const BASE = 'https://vid2context.com';
const body = {
inputs: [
'https://www.youtube.com/watch?v=cCPsdFdlshc',
],
template: 'buyer-guide',
};
const res = await fetch(`${BASE}/api/v1/extract`, {
headers: { 'Content-Type': 'application/json' },
method: 'POST',
body: JSON.stringify(body),
});
if (!res.ok) {
const { error } = await res.json();
throw new Error(`${error.code}: ${error.message} ${error.hint ?? ''}`);
}
// With a jobs queue the server answers 202 and a Job; poll it until it finishes.
let job = res.status === 202 ? await res.json() : { status: "succeeded", result: await res.json() };
while (job.status === 'queued' || job.status === 'running') {
await new Promise((r) => setTimeout(r, 2000));
job = await (await fetch(`${BASE}/api/v1/jobs/${job.id}`)).json();
}
console.log(JSON.stringify(job.result ?? job.error, null, 2));import json
import time
import urllib.error
import urllib.request
BASE = "https://vid2context.com"
body = {
"inputs": [
"https://www.youtube.com/watch?v=cCPsdFdlshc",
],
"template": "buyer-guide",
}
headers = {"Content-Type": "application/json"}
req = urllib.request.Request(f"{BASE}/api/v1/extract", data=json.dumps(body).encode(), headers=headers, method="POST")
try:
with urllib.request.urlopen(req, timeout=300) as res:
status = res.status
answer = json.load(res)
except urllib.error.HTTPError as err:
error = json.load(err)["error"]
raise SystemExit(f"{error['code']}: {error['message']} {error.get('hint', '')}")
# With a jobs queue the server answers 202 and a Job; poll it until it finishes.
job = answer if status == 202 else {"status": "succeeded", "result": answer}
while job["status"] in ("queued", "running"):
time.sleep(2)
poll = urllib.request.Request(f"{BASE}/api/v1/jobs/{job['id']}")
with urllib.request.urlopen(poll, timeout=60) as res:
job = json.load(res)
print(json.dumps(job.get("result") or job.get("error"), indent=2)){
"name": "extract",
"arguments": {
"urls": [
"https://www.youtube.com/watch?v=cCPsdFdlshc"
],
"template": "buyer-guide"
}
}{
"id": "job_au2MqiPGOLjoJNGg4_Mlyw",
"kind": "extract",
"status": "succeeded",
"createdAt": "2026-11-14T18:46:07.203Z",
"updatedAt": "2026-11-14T18:48:07.205Z",
"progress": {
"done": 0,
"total": 1,
"message": "Extracting"
},
"result": {
"template": "buyer-guide",
"data": {
"product": "Mercedes-Benz G-Wagon",
"summary": "The videos provide a year-by-year breakdown of the W463 platform, highlighting that early MBUSA G500s (2002-2010) offer the best value for first-time buyers, the G55 AMG (2003-2012) provides supercharged power at higher maintenance cost, and the 2013-2018 G550/G63 generations represent the best daily driver and off-road platforms with modern interiors and reliable engines, though the 2016-2018 bi-turbo models add complexity with extra coolers limiting bumper options. Ultimately, the best choice depends on whether the buyer prioritizes economy, power, or daily usability.",
"models": [
{
"name": "G500 (M113 V8)",
"years": "2000-2012",
"verdict": "Reliable, entry-level value; the M113 engine is legendary and as reliable as it gets.",
"sources": [
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 0,
"endSec": 39.08,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=0s",
"quote": "So you're going to buy a G-Wagon. Which year is best for you? Well, in this video, we're going to do a year-by-year breakdown of the legendary W463 platform, so you can check out the model year ranges, the engine options, and the interior, because if you buy the wrong one, I don't want you getting buyer's remorse or ending up with a bad specimen."
}
]
},
{
"name": "G55 AMG (supercharged M113)",
"years": "2003-2012",
"verdict": "Robust and reliable but drinks oil; 490 horsepower supercharged motor is a blast but higher maintenance-intensive.",
"sources": [
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 247.38,
"endSec": 260.36,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=247s",
"quote": "All right. The G55. This is a really special truck. So, this represents the first foray into America with the G-Wagon, MBUSA."
}
]
},
{
"name": "G550 (M278 naturally aspirated V8)",
"years": "2013-2018",
"verdict": "Ultimate daily driver and favorite off-road platform; reliable, user-friendly tech, and the last naturally aspirated V8.",
"sources": [
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 577.34,
"endSec": 586.9,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=577s",
"quote": "But anyway, back to this. Okay. What motor options were available in this generation? This is the M278 Dual Overhead Cam Naturally Aspirated V8."
}
]
},
{
"name": "G63 AMG (4-liter bi-turbo)",
"years": "2016-2018",
"verdict": "More power (60-70 horsepower more) but adds complexity with hot V design and extra coolers; less ideal for off-road due to turbo lag and cooler constraints.",
"sources": [
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 796.5,
"endSec": 813.72,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=796s",
"quote": "The 4-liter bi-turbo is a unique one in that it is what they call a hot V. In other words, the turbochargers are in the middle of the motor, and it's a 419-horsepower power plant made it with the same 7-speed transmission."
}
]
}
],
"years": [
{395 more lines not shown. Run it to see the whole response.
Structured data from your own schema
/api/v1/extractStructured data from your own schemacurl https://vid2context.com/api/v1/extract \
-H 'Content-Type: application/json' \
-d '{
"inputs": [
"https://www.youtube.com/watch?v=cCPsdFdlshc"
],
"schema": {
"type": "object",
"properties": {
"bestYears": {
"type": "array",
"items": {
"type": "string"
},
"description": "Model years the video recommends"
},
"worstYears": {
"type": "array",
"items": {
"type": "string"
},
"description": "Model years the video warns against"
}
},
"required": [
"bestYears",
"worstYears"
]
}
}'const BASE = 'https://vid2context.com';
const body = {
inputs: [
'https://www.youtube.com/watch?v=cCPsdFdlshc',
],
schema: {
type: 'object',
properties: {
bestYears: {
type: 'array',
items: {
type: 'string',
},
description: 'Model years the video recommends',
},
worstYears: {
type: 'array',
items: {
type: 'string',
},
description: 'Model years the video warns against',
},
},
required: [
'bestYears',
'worstYears',
],
},
};
const res = await fetch(`${BASE}/api/v1/extract`, {
headers: { 'Content-Type': 'application/json' },
method: 'POST',
body: JSON.stringify(body),
});
if (!res.ok) {
const { error } = await res.json();
throw new Error(`${error.code}: ${error.message} ${error.hint ?? ''}`);
}
// With a jobs queue the server answers 202 and a Job; poll it until it finishes.
let job = res.status === 202 ? await res.json() : { status: "succeeded", result: await res.json() };
while (job.status === 'queued' || job.status === 'running') {
await new Promise((r) => setTimeout(r, 2000));
job = await (await fetch(`${BASE}/api/v1/jobs/${job.id}`)).json();
}
console.log(JSON.stringify(job.result ?? job.error, null, 2));import json
import time
import urllib.error
import urllib.request
BASE = "https://vid2context.com"
body = {
"inputs": [
"https://www.youtube.com/watch?v=cCPsdFdlshc",
],
"schema": {
"type": "object",
"properties": {
"bestYears": {
"type": "array",
"items": {
"type": "string",
},
"description": "Model years the video recommends",
},
"worstYears": {
"type": "array",
"items": {
"type": "string",
},
"description": "Model years the video warns against",
},
},
"required": [
"bestYears",
"worstYears",
],
},
}
headers = {"Content-Type": "application/json"}
req = urllib.request.Request(f"{BASE}/api/v1/extract", data=json.dumps(body).encode(), headers=headers, method="POST")
try:
with urllib.request.urlopen(req, timeout=300) as res:
status = res.status
answer = json.load(res)
except urllib.error.HTTPError as err:
error = json.load(err)["error"]
raise SystemExit(f"{error['code']}: {error['message']} {error.get('hint', '')}")
# With a jobs queue the server answers 202 and a Job; poll it until it finishes.
job = answer if status == 202 else {"status": "succeeded", "result": answer}
while job["status"] in ("queued", "running"):
time.sleep(2)
poll = urllib.request.Request(f"{BASE}/api/v1/jobs/{job['id']}")
with urllib.request.urlopen(poll, timeout=60) as res:
job = json.load(res)
print(json.dumps(job.get("result") or job.get("error"), indent=2)){
"name": "extract",
"arguments": {
"urls": [
"https://www.youtube.com/watch?v=cCPsdFdlshc"
],
"schema": {
"type": "object",
"properties": {
"bestYears": {
"type": "array",
"items": {
"type": "string"
},
"description": "Model years the video recommends"
},
"worstYears": {
"type": "array",
"items": {
"type": "string"
},
"description": "Model years the video warns against"
}
},
"required": [
"bestYears",
"worstYears"
]
}
}
}{
"id": "job_X6ow8Guh6nUBFiQzoCk23w",
"kind": "extract",
"status": "succeeded",
"createdAt": "2026-11-14T18:48:07.408Z",
"updatedAt": "2026-11-14T18:48:12.516Z",
"progress": {
"done": 0,
"total": 1,
"message": "Extracting"
},
"result": {
"data": {
"bestYears": [
"2000-2001",
"2002-2010",
"2013-2015"
],
"worstYears": []
},
"citations": [
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 1037.88,
"endSec": 1050.66,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=1037s",
"quote": "If you're looking for something that will absolutely appreciate and gain in value, grab yourself a pre-MBUSA truck, i.e. a 2001 and older G500.",
"path": "/bestYears/0"
},
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 497.46,
"endSec": 519.38,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=497s",
"quote": "This model, the G500 2002 through 2010, it's going to be your first-time G-Buyer. Those of you that are on a little bit of a budget and need an entry-level vehicle to get in, this represents the best value on the market, period.",
"path": "/bestYears/1"
},
{
"videoId": "youtube:cCPsdFdlshc",
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"startSec": 842.74,
"endSec": 859.76,
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc&t=842s",
"quote": "The 2013-15 are those who are looking for the ultimate daily driver, fully user experience. In other words, you can hop in this thing, take your wife out on date night. You can daily driver it to work and back.",
"path": "/bestYears/2"
}
],
"uncited": [],
"unverified": [],
"repaired": false,
"sources": [
{
"videoId": "youtube:cCPsdFdlshc",
"ref": {
"input": "https://www.youtube.com/watch?v=cCPsdFdlshc",
"platform": "youtube",
"kind": "video",
"id": "youtube:cCPsdFdlshc",
"nativeId": "cCPsdFdlshc",
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc"
},
"title": "Best & Worst G-Wagon Years: Reliability, Interiors & Engines Ranked!",
"channel": "Alliance Motorworks",
"durationSec": 1084,
"publishedAt": "2025-03-09",
"url": "https://www.youtube.com/watch?v=cCPsdFdlshc",
"origin": "stt",
"language": "en"
}
],
"rungs": [
{
"step": "extract",
"rung": "llm/kilo/nvidia/nemotron-3-ultra-550b-a55b:free",
"model": "nvidia/nemotron-3-ultra-550b-a55b:free"
}
],
"attempts": [17 more lines not shown. Run it to see the whole response.
Cited answers and briefs explains each response.