47trust / 100

Style Report

by Mart402 in Documents & files

x402 APIFailing, checked 27 h ago

Finished styling report as a PDF (language: en default | ja), rendered from the full style-profile analysis: cover, verdict summary, palette with swatches, face/frame chapters, measured strengths, outfit formulas and two virtual-draping boards built from the client photo. Deterministic rendering - identical quality every call. The returned PDF embeds the photo (kept for receipt re-fetch; see /terms). Flat $2.99/call (volume: report-pack 10 credits at $1.99/unit).

POST
https://mart402.com/v1/style-report
Price
$2.99
per call in USDC
Uptime
98.9%
last 30 days
Response time
401 ms
511 ms slowest 5%
Last check
Failed
27 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 27 h ago: Timed out

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://mart402.com/v1/style-report

Each call costs $2.99 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://mart402.com/v1/style-report
content-type: application/json

{
  "images": [
    {
      "image_url": "https://mart402.com/samples/assets/portrait-2.jpg"
    }
  ],
  "name": "Client A",
  "style": "neutral"
}

Parameters

ParameterTypeRequiredDescription
imagesarrayNo
namestringNo
stylestringNo

Example response

The provider's example. We can't check it without paying.

{
  "language": "en",
  "note": "ILLUSTRATIVE SAMPLE showing the exact response shape; report_pdf_base64 is truncated here (real responses return the full ~200-400KB PDF). The profile field carries the same shape as /samples/style-profile. No payment was taken.",
  "ok": true,
  "pages": 6,
  "privacy": "images processed in memory and not stored; the rendered report is returned only to the payer",
  "profile": {
    "rules_version": {
      "color": "pc-rules-1.5.1",
      "geometry": "style-rules-2.3.0"
    },
    "see": "/samples/style-profile"
  },
  "report_pdf_base64": "JVBERi0xLjQKJdPr6eEKMSAwIG9iag... (truncated)",
  "sample": true
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $2.99.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://mart402.com/v1/style-report' \
  -H 'content-type: application/json' \
  --data-raw '{"images":[{"image_url":"https://mart402.com/samples/assets/portrait-2.jpg"}],"name":"Client A","style":"neutral"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://mart402.com/v1/style-report' \
  -H 'content-type: application/json' \
  --data-raw '{"images":[{"image_url":"https://mart402.com/samples/assets/portrait-2.jpg"}],"name":"Client A","style":"neutral"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $2.99 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$2.99" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $2.99 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmart402.com%2Fv1%2Fstyle-report&method=POST
const res = await pay("https://mart402.com/v1/style-report", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "images": [
      {
        "image_url": "https://mart402.com/samples/assets/portrait-2.jpg"
      }
    ],
    "name": "Client A",
    "style": "neutral"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $2.99 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$2.99"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://mart402.com/v1/style-report",
        json={
            "images": [
                {
                    "image_url": "https://mart402.com/samples/assets/portrait-2.jpg",
                },
            ],
            "name": "Client A",
            "style": "neutral",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
27 h agoTimed out---
3 days agoPassed402279 ms$2.99
4 days agoPassed402455 ms$2.99
5 days agoPassed402452 ms$2.99
5 days agoPassed402299 ms$2.99
Show 10 older checks
6 days agoPassed402489 ms$2.99
7 days agoPassed402476 ms$2.99
7 days agoPassed402215 ms$2.99
8 days agoPassed402455 ms$2.99
8 days agoPassed402216 ms$2.99
9 days agoPassed402567 ms$2.99
9 days agoPassed402401 ms$2.99
10 days agoPassed402220 ms$2.99
10 days agoPassed402464 ms$2.99
11 days agoPassed402498 ms$2.99