DELXCOMMERCE Live contract

AI media generation · media-generation

Delx Image Prompt Lint

Lint a text-to-image prompt for length and basic policy tokens before paying. Call when you need this bounded result before handing data to a downstream tool. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Honest limit: execution uses only caller-supplied data in memory; it does not call a paid upstream, retain input, search the web, read a live RPC, or invoke a media generator. Results are advisory; the caller owns authorization, budgets, and production controls.

x402imagepromptpreflightagentslocal-first

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/image-prompt-lint -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"prompt":"minimal product photo on white background, soft light","max_chars":1200}'
InputPOST /api/v1/x402/image-prompt-lint
{
  "prompt": "minimal product photo on white background, soft light",
  "max_chars": 1200
}
Delivered resultapplication/json
{
  "schema": "delx/util-image-prompt-lint/v1",
  "ok": true,
  "chars": 53,
  "words": 8,
  "max_chars": 1200,
  "within_limit": true,
  "issues": [],
  "blocked_tokens": [],
  "recommend_trim": false
}

Machine-readable evidence

Inspect before paying.