Style Profile
Integrated style profile: 1-3 portraits (+optional full-body photo and questionnaire) to a complete styling verdict - seasonal color (measured colorimetry consensus), face-impression zone (published 2-axis geometry rules), body frame type, and integration rules (palette subset, taste, silhouette, hair/brow/beard modifiers). Every layer carries its rule trace. No identification, images not stored. Flat $0.05/call.
https://mart402.com/v1/style-profile- Price
- $0.05
- per call in USDC
- Uptime
- 97.1%
- last 30 days
- Response time
- 431 ms
- 857 ms slowest 5%
- Last check
- Passed
- 8 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://mart402.com/v1/style-profile
Each call costs $0.05 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-profile
content-type: application/json
{
"images": [
{
"image_url": "https://mart402.com/samples/assets/portrait-2.jpg"
}
],
"questionnaire": {
"gains_weight_first": "upper"
},
"style": "neutral"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
images | array | No | |
questionnaire | object | No | |
style | string | No |
Example response
The provider's example. We can't check it without paying.
Example response, 122 lines
{
"_example_note": "shape only: long arrays show their first item, long strings end with '...'; full response at /samples/{product}",
"_example_trimmed": true,
"best_photo_index": 0,
"best_photo_rule": "most frontal face (smallest nose offset)...",
"color": {
"advice": [
"warm light colors near the face; ivory o..."
],
"attributes": {
"...": "omitted"
},
"colorimetry": {
"...": "omitted"
},
"confidence_downgrades": [],
"consistency": {
"...": "omitted"
},
"image_quality": {
"...": "omitted"
},
"images_analyzed": 1,
"layers": {
"...": "omitted"
},
"model": "mistral-small-latest",
"note": "Season typing from photos is approximate...",
"ok": true,
"palette": {
"...": "omitted"
},
"privacy": "analysis only: no identification, no bio...",
"rules_version": "pc-rules-1.5.1",
"season": {
"...": "omitted"
},
"season_scores": {
"...": "omitted"
},
"seconds": 1.79,
"style": "neutral",
"style_observation": {
"...": "omitted"
},
"use_cases": {
"...": "omitted"
},
"vlm_impression": {
"...": "omitted"
}
},
"face_impression": {
"axes": {
"...": "omitted"
},
"confidence": 0.75,
"consensus": {
"...": "omitted"
},
"geometry_trace": [
"face_aspect=0.836 -> mature_axis=1.0",
"eye_roundness=0.34, brow=0.0197, jaw=109...",
"zone rule: (mid,mature) -> Elegant Neutr..."
],
"non_frontal_excluded": 0,
"photos_used": 1,
"rules_version": "style-rules-2.3.0",
"source": "geometry+vlm consensus",
"taste": {
"...": "omitted"
},
"zone": "Soft Mature"
},
"frame": {
"advice": {
"...": "omitted"
},
"basis": [
"questionnaire"
],
"confidence": 0.6,
"frame": "straight",
"note": "frame typing from a photo approximates s...",
"ok": true,
"rules_version": "style-rules-2.3.0",
"scores": {
"...": "omitted"
},
"trace": [
"gains upper -> straight+2"
]
},
"geometry_flags": [],
"integration": {
"face_zone": "Soft Mature",
"frame": "straight",
"how_it_composes": "season decides WHICH hues; face zone dec...",
"modifiers": [
{
"...": "omitted"
}
],
"outfit_formulas": [
{
"...": "omitted"
}
],
"palette_subset": "soft (lower-saturation half of the palet...",
"rules_version": "style-rules-2.3.0",
"season": "spring"
},
"ok": true,
"privacy": "analysis only: no identification, no bio...",
"rules_version": {
"color": "pc-rules-1.5.1",
"geometry": "style-rules-2.3.0"
},
"sample": true,
"sample_note": "RECORDED SAMPLE: the real production res...",
"seconds": 1.94
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.05.
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-profile' \
-H 'content-type: application/json' \
--data-raw '{"images":[{"image_url":"https://mart402.com/samples/assets/portrait-2.jpg"}],"questionnaire":{"gains_weight_first":"upper"},"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-profile' \
-H 'content-type: application/json' \
--data-raw '{"images":[{"image_url":"https://mart402.com/samples/assets/portrait-2.jpg"}],"questionnaire":{"gains_weight_first":"upper"},"style":"neutral"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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 $0.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
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 $0.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmart402.com%2Fv1%2Fstyle-profile&method=POST
const res = await pay("https://mart402.com/v1/style-profile", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"images": [
{
"image_url": "https://mart402.com/samples/assets/portrait-2.jpg"
}
],
"questionnaire": {
"gains_weight_first": "upper"
},
"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 $0.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
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-profile",
json={
"images": [
{
"image_url": "https://mart402.com/samples/assets/portrait-2.jpg",
},
],
"questionnaire": {
"gains_weight_first": "upper",
},
"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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 8 h ago | Passed | 402 | 738 ms | $0.05 |
| 2 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 1.4 s | $0.05 |
| 4 days ago | Passed | 402 | 149 ms | $0.05 |
| 4 days ago | Passed | 402 | 202 ms | $0.05 |
Show 10 older checks
| 5 days ago | Passed | 402 | 202 ms | $0.05 |
| 5 days ago | Passed | 402 | 460 ms | $0.05 |
| 6 days ago | Passed | 402 | 433 ms | $0.05 |
| 6 days ago | Passed | 402 | 417 ms | $0.05 |
| 6 days ago | Passed | 402 | 454 ms | $0.05 |
| 7 days ago | Passed | 402 | 442 ms | $0.05 |
| 7 days ago | Passed | 402 | 449 ms | $0.05 |
| 7 days ago | Passed | 402 | 451 ms | $0.05 |
| 7 days ago | Passed | 402 | 445 ms | $0.05 |
| 8 days ago | Passed | 402 | 482 ms | $0.05 |