80trust / 100

Agent Image

by Suede AI in News & content

x402 APIPassing, checked 2 h ago

AI image generation from a text prompt. Generate album and single cover art, podcast and video thumbnails, social and campaign graphics, concept art, storyboard frames, product shots, and article illustrations. Returns one hosted still image as PNG or JPEG in square, portrait, or widescreen framing (1:1, 4:5, 9:16, 16:9, 21:9). Async by default: poll the returned pollUrl for imageUrl, or pass ?async=false to block.

POST https://app.suedeai.ai/agent/image

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
669 ms typical, 924 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://app.suedeai.ai/agent/image" \
  -H "content-type: application/json" \
  -d '{"aspectRatio":"1:1","outputFormat":"png","prompt":"<prompt>"}'
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%2Fapp.suedeai.ai%2Fagent%2Fimage
const res = await pay("https://app.suedeai.ai/agent/image", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"aspectRatio":"1:1","outputFormat":"png","prompt":"<prompt>"}),
});
console.log(await res.json());

Example input

{
  "aspectRatio": "1:1",
  "outputFormat": "png",
  "prompt": "<prompt>"
}

Example output

{
  "jobId": "image-job-example",
  "pollUrl": "https://app.suedeai.ai/agent/image/image-job-example",
  "provider": "suede",
  "status": "queued"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402368 ms$0.15
6 h agoPassed402424 ms$0.15
9 h agoPassed402924 ms$0.15
14 h agoPassed402815 ms$0.15
16 h agoPassed402669 ms$0.15
20 h agoPassed402639 ms$0.15
25 h agoPassed4021.4 s$0.15