Summarize text
genesis402_summarizeSummarize provided long text (reports, transcripts, filings, threads) into a paragraph, bullet list, or one-line TL;DR with a word limit. Paid per call, returns JSON.
Instructions
Paid ($0.006 USDC). Summarize long text you already have (a report, transcript, filing, thread) as a paragraph, bullet list or one-line TL;DR, within a word limit, on UnyKorn's own GPU. Use when the text is in hand; to summarize a live web page by URL instead, call the summarize-url endpoint through genesis402_call. To answer one specific question from the text use genesis402_answer_from_text. Returns the summary in the requested style as JSON. Works only from the supplied text. Payment: call once without payment_signature to get the exact price quote (nothing is charged or signed), then call again with the signed payment to receive the result and settlement details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to summarize, up to 24,000 characters. Trim longer input first. | |
| style | No | Output shape: 'paragraph' (default), 'bullets' for a bullet list, or 'tldr' for one or two sentences. | |
| max_words | No | Upper bound on summary length in words, 20 to 400. Defaults to 120. | |
| payment_signature | No | Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first; nothing is charged without it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | QUOTE_ONLY: price quote only, nothing signed or charged. PAID: the call was paid and result holds the data. FREE: the endpoint answered without payment. | |
| paid | Yes | true only when a payment was settled for this call. | |
| price | No | The Base USDC quote. Present on QUOTE_ONLY and on PAID calls made by a local payer; null when the rail offered no Base USDC lane or the caller signed the payment. | |
| result | No | PAID or FREE: the endpoint's JSON result. | |
| resource | No | QUOTE_ONLY: the full URL of the paid resource. | |
| how_to_pay | No | QUOTE_ONLY: how to sign and resend the call. | |
| settlement | No | PAID: decoded PAYMENT-RESPONSE settlement (transaction hash, network, payer), or null if the rail sent none. | |
| what_you_get | No | QUOTE_ONLY: the rail's description of what the payment buys. | |
| payment_required_b64 | No | QUOTE_ONLY: the raw base64 PAYMENT-REQUIRED header, to sign with any x402 v2 client. | |
| also_accepted_networks | No | QUOTE_ONLY: every network the 402 challenge accepts. |