Three APIs, one contract

Learn one and you know the rest: the same auth header, the same request shape, and a response that states what the job did and what it cost.

The shared contract

Every endpoint takes a source, which is a URL, a base64 string or the id of a file you uploaded, plus an options object for that service. Long jobs can run in the background with mode: "async" and report to a webhook when they finish.

Every result reports the work and the charge together. stats carries the original size, the output size and the ratio; billing.charged_micros carries the cost in millionths of a dollar.

Send an Idempotency-Key header and a retried workflow never pays twice for the same job.

When you are not charged

Access is by request while self-serve sign-up is being built.

Email hello@justapi.tech