Style Report
style_reportClient-ready deliverable: the style-profile analysis rendered as a finished English PDF report (palette with color names, style-aware outfit formulas, virtual draping boards with disclosed candidate conflicts, honest confidence) returned as report_pdf_base64 + full profile JSON. For agents serving human end-clients. Flat $2.99/call, or $1.99/unit with a prepaid report_pack credit (pass pack_code).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | client name printed on the report (same field as REST; client_name is accepted as an alias) | |
| style | No | One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral | neutral |
| images | No | 1-3 face photos | |
| language | No | report language | en |
| image_url | No | Absolute http(s) URL of the image (JPEG/PNG/WebP) | |
| pack_code | No | prepaid credit from report_pack (replaces payment) | |
| x_payment | No | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. | |
| image_base64 | No | Base64-encoded image bytes (alternative to image_url) | |
| questionnaire | No | optional answers (see /catalog style-report input) | |
| body_image_url | No | optional full-body photo URL (body-shape layer) | |
| body_image_base64 | No | optional full-body photo as base64 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON body of the underlying call (see /samples/{product} for each product's shape) | |
| status | Yes | HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error) | |
| how_to_pay | No | ||
| receipt_id | No | set on paid results; free re-fetch via get_receipt | |
| payment_required | No | true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment |