{"version":1,"description":"Pre-payment cost estimates. Pass ?service=<id>&<params> to get a quote.","services":[{"id":"image","description":"Image generation. Fixed price per request, varies by model tier.","params":[{"name":"model","type":"string","required":false,"note":"model id (omit for default)"}],"example":"/api/estimate-cost?service=image&model=..."},{"id":"image-edit","description":"Image editing. Fixed price per request, tiered by output resolution.","params":[{"name":"resolution","type":"string","required":false,"note":"1K (default), 2K, or 4K"},{"name":"model","type":"string","required":false,"note":"deprecated — the price is resolution-based; kept for backward compatibility"}],"example":"/api/estimate-cost?service=image-edit&resolution=...&model=..."},{"id":"music","description":"Music generation. Flat price per song.","params":[],"example":"/api/estimate-cost?service=music"},{"id":"vision","description":"Image analysis. Fixed price per image.","params":[{"name":"model","type":"string","required":false}],"example":"/api/estimate-cost?service=vision&model=..."},{"id":"text-to-speech","description":"TTS. Per-character pricing varies by tier.","params":[{"name":"model","type":"string","required":false,"note":"tier name (e.g. best, standard) or numeric model ID; omit for the default tier"},{"name":"chars","type":"number","required":true,"note":"character count of the text (1-5000)"}],"example":"/api/estimate-cost?service=text-to-speech&model=...&chars=..."},{"id":"translate","description":"Text translation. Per-character pricing (BTC-pegged), 1 sat minimum.","params":[{"name":"chars","type":"number","required":true}],"example":"/api/estimate-cost?service=translate&chars=..."},{"id":"video","description":"Video generation. Per-second pricing (BTC-pegged), tiered by resolution.","params":[{"name":"seconds","type":"number","required":true},{"name":"resolution","type":"string","required":false,"note":"768p (default) or 2K"},{"name":"model","type":"string","required":false,"note":"deprecated — the rate is resolution-based; kept for backward compatibility"}],"example":"/api/estimate-cost?service=video&seconds=...&resolution=...&model=..."},{"id":"video-from-image","description":"Animate an image into video. Per-second pricing (BTC-pegged), tiered by resolution.","params":[{"name":"seconds","type":"number","required":true},{"name":"resolution","type":"string","required":false,"note":"768p (default) or 2K"},{"name":"model","type":"string","required":false,"note":"deprecated — the rate is resolution-based; kept for backward compatibility"}],"example":"/api/estimate-cost?service=video-from-image&seconds=...&resolution=...&model=..."},{"id":"transcribe-audio","description":"Speech-to-text. Per-minute pricing.","params":[{"name":"minutes","type":"number","required":true}],"example":"/api/estimate-cost?service=transcribe-audio&minutes=..."},{"id":"ocr","description":"OCR / document text extraction. Per-page pricing.","params":[{"name":"pages","type":"number","required":false,"note":"default 1"}],"example":"/api/estimate-cost?service=ocr&pages=..."},{"id":"receipt-ocr","description":"Receipt / invoice extraction to structured JSON. Per-page pricing.","params":[{"name":"pages","type":"number","required":false,"note":"default 1"}],"example":"/api/estimate-cost?service=receipt-ocr&pages=..."},{"id":"email","description":"Send email. Flat price (anti-abuse floor).","params":[],"example":"/api/estimate-cost?service=email"},{"id":"voice-cloning","description":"Voice cloning from a sample. Flat price.","params":[],"example":"/api/estimate-cost?service=voice-cloning"},{"id":"html-to-pdf","description":"HTML/Markdown → PDF. Flat price per document.","params":[],"example":"/api/estimate-cost?service=html-to-pdf"},{"id":"file-conversion","description":"Convert between file formats. Flat price per file.","params":[],"example":"/api/estimate-cost?service=file-conversion"},{"id":"remove-background","description":"Remove image background. Flat price per image.","params":[],"example":"/api/estimate-cost?service=remove-background"},{"id":"upscale-image","description":"Upscale image 2x or 4x. Flat price per image.","params":[],"example":"/api/estimate-cost?service=upscale-image"},{"id":"restore-face","description":"Restore faces in old or damaged photos. Flat price per image.","params":[],"example":"/api/estimate-cost?service=restore-face"},{"id":"detect-nsfw","description":"NSFW content detection. Flat price per image.","params":[],"example":"/api/estimate-cost?service=detect-nsfw"},{"id":"detect-objects","description":"Open-vocabulary object detection. Flat price per image.","params":[],"example":"/api/estimate-cost?service=detect-objects"},{"id":"remove-object","description":"Remove an object from an image. Flat price per image.","params":[],"example":"/api/estimate-cost?service=remove-object"},{"id":"colorize-image","description":"Colorize black-and-white photos. Flat price per image.","params":[],"example":"/api/estimate-cost?service=colorize-image"},{"id":"deblur-image","description":"Sharpen blurry images. Flat price per image.","params":[],"example":"/api/estimate-cost?service=deblur-image"}]}