Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/exposure-calc

Given any three of aperture (f-number), shutter time in seconds, ISO and scene EV at ISO 100, solves the fourth from EV = log2(N^2/t) and EV_S = EV_100 + log2(S/100), names the nearest one-third-stop f-number, and lists the equivalent shutter time at each f-number from f/1 to f/32. Given all four, checks that they agree within a tolerance in stops. Built for camera, lighting and image-generation a

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/exposure-calc

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/exposure-calc", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"iso":100,"aperture":8,"shutterSeconds":0.008}),
});
console.log(await res.json());

Example input

{
  "iso": 100,
  "aperture": 8,
  "shutterSeconds": 0.008
}