68trust / 100

Blog Header Image Generate

by AgentUtility.ai in News & content

x402 APIFailing, checked 3 h ago

Generates blog header images: SFW header images, newsletter visuals, and documentation illustrations from prompts. Same backend as image-generate. Use it as an article hero image or editorial illustration generator.

POST https://x402.agentutility.ai/blog-header-image-generate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
61.5%
Response time
187 ms typical, 2.6 s slowest 5%
Last check
3 h ago: Timed out
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.agentutility.ai/blog-header-image-generate" \
  -H "content-type: application/json" \
  -d '{"height":768,"prompt":"Editorial illustration of autonomous API monitoring, abstract but concrete, no text","tier":"creative","width":1024}'
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%2Fx402.agentutility.ai%2Fblog-header-image-generate
const res = await pay("https://x402.agentutility.ai/blog-header-image-generate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"height":768,"prompt":"Editorial illustration of autonomous API monitoring, abstract but concrete, no text","tier":"creative","width":1024}),
});
console.log(await res.json());

Example input

{
  "height": 768,
  "prompt": "Editorial illustration of autonomous API monitoring, abstract but concrete, no text",
  "tier": "creative",
  "width": 1024
}

Example output

{
  "height": 768,
  "image_url": "https://v3.fal.media/files/abc/xyz/image.png",
  "model": "chroma",
  "source": "venice",
  "width": 1024
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoTimed out---
6 h agoPassed402187 ms$0.011
10 h agoPassed402118 ms$0.011
13 h agoPassed4022.6 s$0.011
17 h agoPassed402142 ms$0.011
20 h agoPassed402240 ms$0.011
24 h agoTimed out---
28 h agoPassed402133 ms$0.011
31 h agoTimed out---
36 h agoTimed out---
39 h agoTimed out---
42 h agoPassed402262 ms$0.011
47 h agoPassed4026.6 s$0.011