// (f) Vision: 2x2 base64 PNG via input_image data URL. import { client, attempt, save, PROBE_MODELS, summarizeResponse, tinyPngBase64 } from "./lib"; const png = tinyPngBase64(); const out: any[] = []; for (const model of PROBE_MODELS) { out.push(await attempt(`vision:${model}`, async () => { const r: any = await client.responses.create({ model, max_output_tokens: 200, input: [{ role: "user", content: [ { type: "input_text", text: "This is a tiny 2x2 pixel image. List the colours you can identify, in one short sentence." }, { type: "input_image", image_url: `data:image/png;base64,${png}`, detail: "low" }] }] } as any); return summarizeResponse(r); })); } save("07-vision", out);