75trust / 100

Amnt Gpt Image 2 Low

by AMNT in AI models & inference

x402 APIPassing, checked 17 min ago

GPT Image 2 Low - GPT Image 2, low quality: text to picture. Sharp detail, faces and readable text. The all-rounder. Any shape up to 3:1, transparent PNG or JPEG. $0.008, about 20 s.

POST https://www.amnt.io/api/agent/amnt/gpt-image-2-low

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
841 ms typical, 841 ms slowest 5%
Last check
17 min ago
Next check
in 11 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://www.amnt.io/api/agent/amnt/gpt-image-2-low" \
  -H "content-type: application/json" \
  -d '{"background":"auto","compression":100,"format":"png","prompt":"a red fox mascot waving, flat colours","shape":"1:1"}'
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%2Fwww.amnt.io%2Fapi%2Fagent%2Famnt%2Fgpt-image-2-low
const res = await pay("https://www.amnt.io/api/agent/amnt/gpt-image-2-low", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"background":"auto","compression":100,"format":"png","prompt":"a red fox mascot waving, flat colours","shape":"1:1"}),
});
console.log(await res.json());

Example input

{
  "background": "auto",
  "compression": 100,
  "format": "png",
  "prompt": "a red fox mascot waving, flat colours",
  "shape": "1:1"
}

Example output

{
  "images": [],
  "model": "<model>",
  "quality": "<quality>",
  "size": "<size>"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
17 min agoPassed402841 ms$0.008
10 h agoPassed402963 ms$0.008