80trust / 100

Caption

by Combify Compute in AI models & inference

x402 APIPassing, checked 40 min ago

Answer questions about an image or describe what it shows (Llama 3.2 11B vision), fixed price $0.008 USDC. Use this when the input is an image; use /chat for text-only questions. POST JSON body {image (required, base64 or data:image/... URI, max 4 MB decoded, PNG/JPEG/GIF/WEBP), prompt (optional question, defaults to describing the image), max_tokens (optional 1-512, default 256)}. Returns {text}. Unpaid calls get 402; paid calls settle only on success.

POST https://compute.combify.app/caption

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
160 ms typical, 160 ms slowest 5%
Last check
40 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://compute.combify.app/caption" \
  -H "content-type: application/json" \
  -d '{"image":"base64-encoded image"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcompute.combify.app%2Fcaption
const res = await pay("https://compute.combify.app/caption", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"image":"base64-encoded image"}),
});
console.log(await res.json());

Example input

{
  "image": "base64-encoded image"
}

Example output

{
  "est_cost_usd": 0.0002,
  "model": "@cf/meta/llama-3.2-11b-vision-instruct",
  "text": "A tabby cat sitting on a windowsill."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
40 min agoPassed402160 ms$0.008
6 h agoPassed402264 ms$0.008