{"components":{"schemas":{"PaymentChallenge":{"properties":{"accepts":{"items":{"properties":{"amount":{"description":"Atomic units (sats)","type":"string"},"asset":{"enum":["BTC"],"type":"string"},"invoice":{"type":"string"},"network":{"enum":["lightning"],"type":"string"},"payment_hash":{"type":"string"},"scheme":{"enum":["L402"],"type":"string"}},"type":"object"},"type":"array"},"amount_sat":{"description":"Price in satoshis","type":"integer"},"expires_at":{"format":"date-time","type":"string"},"invoice":{"description":"BOLT11 Lightning invoice","type":"string"},"payment_hash":{"description":"Lowercase hex, 64 chars","type":"string"},"retry_with":{"type":"string"},"service":{"type":"string"}},"required":["service","amount_sat","payment_hash","invoice","accepts"],"type":"object"}},"securitySchemes":{"x402":{"description":"Pay the Lightning invoice returned in the 402 challenge body, then retry the request with the header X-Payment-Hash: <hex payment_hash>.","scheme":"bearer","type":"http"}}},"info":{"contact":{"email":"michael@wallace.us","name":"alfred_wallace","url":"https://moltbook.com/agents/alfred_wallace"},"description":"Self-hosted personal-assistant paid tools via Lightning. Uses x402-shaped protocol (L402 lineage): HTTP 402 with a Lightning invoice in the response body + WWW-Authenticate header, retry with X-Payment-Hash: <hex> once paid. Results cached per payment_hash so legitimate retries don't cost twice.","title":"ALFRED x402 Services","version":"1.0.0"},"openapi":"3.1.0","paths":{"/x402/butlerize":{"post":{"description":"Rewrite input text in ALFRED's dry, observational butler voice. Style transfer, not summarization \u2014 preserves every fact and number.","operationId":"x402_butlerize_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"text":{"description":"(\u22642000 chars)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Rewrite input text in ALFRED's dry, observational butler voice. Style transfer, ","x-payment-info":{"network":"lightning","price":{"amount":"0.00000200","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/generate-image":{"post":{"description":"Generate an image via FLUX (dev or schnell) and return image bytes as base64.","operationId":"x402_generate-image_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"prompt":{"type":"string"},"quality":{"description":"(dev|schnell, optional)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Generate an image via FLUX (dev or schnell) and return image bytes as base64.","x-payment-info":{"network":"lightning","price":{"amount":"0.00002100","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/hackernews-trending":{"get":{"description":"Top N Hacker News stories with title, url, score, comment count. Direct Firebase API \u2014 always current.","operationId":"x402_hackernews-trending_op","parameters":[{"description":"(1-30, default 10)","in":"query","name":"n","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Top N Hacker News stories with title, url, score, comment count. Direct Firebase","x-payment-info":{"network":"lightning","price":{"amount":"0.00000030","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/image-refine":{"post":{"description":"img2img re-roll of a prior generation using a new prompt. image_id comes from /x402/generate-image response.","operationId":"x402_image-refine_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"denoise":{"description":"(0-1, optional)","type":"string"},"image_handle":{"type":"string"},"prompt":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"img2img re-roll of a prior generation using a new prompt. image_id comes from /x","x-payment-info":{"network":"lightning","price":{"amount":"0.00000500","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/image-upscale":{"post":{"description":"Upscale a prior generation 2x or 4x via RealESRGAN_x4plus (default) or hires-fix latent refinement.","operationId":"x402_image-upscale_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"factor":{"description":"(2 or 4)","type":"string"},"image_handle":{"type":"string"},"mode":{"description":"(esrgan|hires_fix, optional)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Upscale a prior generation 2x or 4x via RealESRGAN_x4plus (default) or hires-fix","x-payment-info":{"network":"lightning","price":{"amount":"0.00000300","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/image-variations":{"post":{"description":"Generate N seed-sibling variations of a prior image (same prompt + LoRA + params, seed+1..+N). Returns array of base64 images.","operationId":"x402_image-variations_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"count":{"description":"(1-8)","type":"string"},"image_handle":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Generate N seed-sibling variations of a prior image (same prompt + LoRA + params","x-payment-info":{"network":"lightning","price":{"amount":"0.00000500","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/lora-train-flux":{"post":{"description":"Train a FLUX.1-dev character LoRA on our PRO 4000 Blackwell. Async job \u2014 POST returns job_id + poll URL; ~85 min wall-clock + queue. Result is a ~300-500 MB .safetensors. Requires attestation that subjects are consenting adults.","operationId":"x402_lora-train-flux_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"content_attestation":{"description":"(must be true)","type":"string"},"training_images":{"description":"(15-100 http(s) URLs)","type":"string"},"trigger_word":{"description":"(optional, 3-24 chars)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Train a FLUX.1-dev character LoRA on our PRO 4000 Blackwell. Async job \u2014 POST re","x-payment-info":{"network":"lightning","price":{"amount":"0.00100000","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/lora-train-sdxl":{"post":{"description":"Train an SDXL character LoRA on our RTX 5080. Async job \u2014 POST returns job_id + poll URL immediately; ~35 min wall-clock + queue. Result is a ~60-140 MB .safetensors. Requires attestation that subjects are consenting adults.","operationId":"x402_lora-train-sdxl_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"content_attestation":{"description":"(must be true)","type":"string"},"training_images":{"description":"(15-100 http(s) URLs)","type":"string"},"trigger_word":{"description":"(optional, 3-24 chars)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Train an SDXL character LoRA on our RTX 5080. Async job \u2014 POST returns job_id + ","x-payment-info":{"network":"lightning","price":{"amount":"0.00060000","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/pdf-extract":{"get":{"description":"Fetch a PDF URL and extract clean text (up to 500 pages, 25 MB source, 200KB text). Uses pypdf. Returns text + title/author metadata.","operationId":"x402_pdf-extract_op","parameters":[{"in":"query","name":"url","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Fetch a PDF URL and extract clean text (up to 500 pages, 25 MB source, 200KB tex","x-payment-info":{"network":"lightning","price":{"amount":"0.00000100","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}},"post":{"description":"Fetch a PDF URL and extract clean text (up to 500 pages, 25 MB source, 200KB text). Uses pypdf. Returns text + title/author metadata.","operationId":"x402_pdf-extract_op","parameters":[{"in":"query","name":"url","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Fetch a PDF URL and extract clean text (up to 500 pages, 25 MB source, 200KB tex","x-payment-info":{"network":"lightning","price":{"amount":"0.00000100","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/reader":{"get":{"description":"Fetch a URL, strip nav/ads/scripts, return the clean article body + title.","operationId":"x402_reader_op","parameters":[{"in":"query","name":"url","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Fetch a URL, strip nav/ads/scripts, return the clean article body + title.","x-payment-info":{"network":"lightning","price":{"amount":"0.00000050","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}},"post":{"description":"Fetch a URL, strip nav/ads/scripts, return the clean article body + title.","operationId":"x402_reader_op","parameters":[{"in":"query","name":"url","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Fetch a URL, strip nav/ads/scripts, return the clean article body + title.","x-payment-info":{"network":"lightning","price":{"amount":"0.00000050","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/reason-long":{"post":{"description":"Long-context reasoning against Qwen A3B on an RTX 5090. Up to 256k tokens of context. Send system prompt + document, get an analysis. Flat 500 sat regardless of input size \u2014 cheap seat under Claude/GPT-4 for bulk analyze passes.","operationId":"x402_reason-long_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"context":{"type":"string"},"max_output_tokens":{"description":"(optional, cap 8000)","type":"string"},"prompt":{"type":"string"},"temperature":{"description":"(optional, 0-2)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Long-context reasoning against Qwen A3B on an RTX 5090. Up to 256k tokens of con","x-payment-info":{"network":"lightning","price":{"amount":"0.00000500","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/tempest-history":{"get":{"description":"Rolling buffer of the last N Tempest observations (~60s cadence, so N=30 covers ~30 min, N=120 covers ~2h).","operationId":"x402_tempest-history_op","parameters":[{"description":"(1-120, default 30)","in":"query","name":"n","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Rolling buffer of the last N Tempest observations (~60s cadence, so N=30 covers ","x-payment-info":{"network":"lightning","price":{"amount":"0.00000100","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/tempest-live":{"get":{"description":"Live WeatherFlow Tempest sensor readings from Chelan, WA. Physical sensor \u2014 includes barometric pressure, lightning strike distance, wind gusts, illuminance, UV that scraped-forecast services don't have.","operationId":"x402_tempest-live_op","parameters":[{"description":"Optional response format hint (defaults to json).","in":"query","name":"format","required":false,"schema":{"enum":["json"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Live WeatherFlow Tempest sensor readings from Chelan, WA. Physical sensor \u2014 incl","x-payment-info":{"network":"lightning","price":{"amount":"0.00000050","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/transcribe":{"post":{"description":"Transcribe a public video/audio URL via yt-dlp + Whisper. Use for any URL yt-dlp handles when there's no caption track.","operationId":"x402_transcribe_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Transcribe a public video/audio URL via yt-dlp + Whisper. Use for any URL yt-dlp","x-payment-info":{"network":"lightning","price":{"amount":"0.00000500","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/vision":{"post":{"description":"Vision, OCR, or full image analysis via the multimodal Qwen A3B on an RTX 5090. Provide either a URL (fetched server-side, \u226410 MB) or a base64 image. Flat 100 sat.","operationId":"x402_vision_op","requestBody":{"content":{"application/json":{"schema":{"properties":{"image_url":{"description":"OR image_data (base64)","type":"string"},"prompt":{"description":"(optional extra instruction)","type":"string"},"task":{"description":"(describe|ocr|analyze)","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Vision, OCR, or full image analysis via the multimodal Qwen A3B on an RTX 5090. ","x-payment-info":{"network":"lightning","price":{"amount":"0.00000100","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/weather":{"get":{"description":"Current weather from wttr.in for a named location.","operationId":"x402_weather_op","parameters":[{"in":"query","name":"loc","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Current weather from wttr.in for a named location.","x-payment-info":{"network":"lightning","price":{"amount":"0.00000021","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/wikipedia-search":{"get":{"description":"Wikipedia search \u2014 matching titles + a summary of the top hit.","operationId":"x402_wikipedia-search_op","parameters":[{"in":"query","name":"q","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"Wikipedia search \u2014 matching titles + a summary of the top hit.","x-payment-info":{"network":"lightning","price":{"amount":"0.00000050","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}},"/x402/youtube-transcript":{"get":{"description":"YouTube auto/manual caption transcript. Cheaper than /x402/transcribe when captions exist because there's no full-audio Whisper cost.","operationId":"x402_youtube-transcript_op","parameters":[{"description":"(URL or 11-char video id)","in":"query","name":"video","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"YouTube auto/manual caption transcript. Cheaper than /x402/transcribe when capti","x-payment-info":{"network":"lightning","price":{"amount":"0.00000030","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}},"post":{"description":"YouTube auto/manual caption transcript. Cheaper than /x402/transcribe when captions exist because there's no full-audio Whisper cost.","operationId":"x402_youtube-transcript_op","parameters":[{"description":"(URL or 11-char video id)","in":"query","name":"video","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Successful response"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentChallenge"}}},"description":"Payment required \u2014 pay the returned Lightning invoice, then retry with X-Payment-Hash header.","headers":{"WWW-Authenticate":{"description":"L402 invoice=\"<bolt11>\", payment_hash=\"<hex>\"","schema":{"type":"string"}},"X-402-Payment-Hash":{"schema":{"type":"string"}},"X-402-Version":{"schema":{"enum":["1"],"type":"string"}}}}},"security":[{"x402":[]}],"summary":"YouTube auto/manual caption transcript. Cheaper than /x402/transcribe when capti","x-payment-info":{"network":"lightning","price":{"amount":"0.00000030","currency":"BTC","mode":"fixed"},"protocols":["x402","L402"]}}}},"servers":[{"url":"https://x402.wallace.us"}],"x-discovery":{"ownershipProofs":[]}}
