09 · Bonus: images · 2 / 6
Jev sees images too
The state: a photo
eye
The call
const
jev =
new
TypeSafeClient({
// ...the gateway, as always
defaultHeaders: {
"TypeSafe-Danger-Zone-Images"
:
"true"
,
},
experimental
});
await
jev.systemOne({
state:
image
(photo),
questions: {
found:
noul
(
"The image contains: eye"
),
where:
box
(
"eye"
),
new
},
});
Same call, same questions.
The state is a photo.