Sats4AI - Bitcoin-Powered AI Tools
io.github.cnghockey/sats4ai
MCP server OK 58 tools
40+ Lightning-paid AI tools for agents: calls, SMS, fax, voice, translation. No signup, no keys.
Technical sheet
- Author
- cnghockey (registry namespace)
- Repository
- github.com/cnghockey/sats4ai-mcp-server
- Site
- —
- Version
- 1.5.13
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://sats4ai.com/api/mcp Streamable HTTP
- Packages
- sats4ai-mcp 1.5.13 npm stdio
- Tools
- 58
- Categories
- Finance and payments, AI, agents and memory
- Last updated
- 22 Oct 2026
- Published
- 22 Oct 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 2 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cnghockey/sats4ai)<a href="https://latlas.dev/en/mcp/io.github.cnghockey/sats4ai"><img src="https://latlas.dev/badge/statut/mcp/io.github.cnghockey/sats4ai.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cnghockey/sats4ai)<a href="https://latlas.dev/en/mcp/io.github.cnghockey/sats4ai"><img src="https://latlas.dev/badge/fiche/io.github.cnghockey/sats4ai.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://sats4ai.com/api/mcp
- Last result
- OK 28 Nov 2026, 11:02
- Response time
- 858 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- sats4ai-mcp 1.0.0
- Tools
- 58
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:02 | OK | 858 ms | 58 |
Exposed tools (58, from tools/list, 28 Nov 2026)
create_payment
Create a Lightning invoice to pay for one AI service call. Returns JSON: { paymentId, lightningInvoice (BOLT11), amountSats, expiresAt }. Each payment covers exactly one tool call — call this once per operation. Typical flow: list_models → create_payment → check_payment_status → call tool. The invoice expires in 10 minutes. Call list_models first to discover modelId values. modelId is optional — omit it to use the default (best) model. Some tools require extra params at payment time because pricing depends on them: generate_text requires prompt (price = f(char count)); translate_text requires prompt (the text to translate) and takes targetLanguage (it picks the engine and so the price; leave modelId out: a chat model named by modelId, such as Best, costs at least its per-request minimum); text_to_speech requires text (price = f(char count) by tier); transcribe_audio / transcribe_translate take durationMinutes (10 sats/min — declare your audio length, default 1); send_sms, place_call, ai_call require phoneNumber; generate_video and animate_image require duration, and take an optional resolution (250-400 sats/sec by resolution — quote with the SAME duration and resolution you will execute with); edit_image is a flat 200 sats per edit (resolution is optional and does not change the price); epub_to_audiobook requires characterCount (total text characters in the book — price is per-character by voice tier, minimum 500 sats). If required params are missing, the response includes a…
| Parameter | Type | Required | Description |
|---|---|---|---|
| toolName | string | yes | Tool name to pay for (e.g., 'generate_text', 'generate_image', 'generate_video', 'send_sms', 'place_call') |
| modelId | number | no | Optional. AI model ID from list_models. Omit for default (best) model. |
| prompt | string | no | Required for generate_text: the exact prompt (price calculated from char count, locked to payment) |
| text | string | no | Required for text_to_speech: the exact text to synthesize (price is per-character by tier, locked to payment) |
| targetLanguage | string | no | For translate_text, transcribe_translate and translate_epub: the target language, the same value you will send to the tool. It picks the translation engine and so the price. Without it a translate_text payment buys the standard engine. |
| characterCount | number | no | Required for epub_to_audiobook: total text characters in the book (price is per-character by voice tier, minimum 500 sats). Send the count, not the book — the file goes to epub_to_audiobook itself. Execution re-derives the price from the real file and rejects a short-pay with the exact amount to re… |
| ocr | boolean | no | For receive_fax: include the OCR text-extraction add-on (+200 sats). Must be set HERE at payment time — receive_fax refuses ocr=true at execution unless the charge covered it. |
| quantity | number | no | Units to pay for when the price scales: passes for boardingpass_wallet, pages for extract_document / extract_receipt / send_fax. Default 1 — under-counting is rejected at execution with the exact price to re-pay. |
| systemPrompt | string | no | For generate_text: include if using a custom system prompt (affects price) |
| fileContext | string | no | For generate_text: include extracted file text if attaching a file (affects price) |
| phoneNumber | string | no | Required for send_sms and place_call: phone in E.164 format (e.g., +14155550100) |
| message | string | no | Required for send_sms: message text (max 1544 chars; billed per SMS segment, so longer or accented messages cost more) |
| durationMinutes | number | no | Minutes of audio/call. Required for place_call with audioUrl (1-30); for transcribe_audio / transcribe_translate it sets the per-minute price (10 sats/min) — declare your audio length (default 1). Audio longer than paid is rejected + refunded at execution. |
| duration | number | no | Required for generate_video / animate_image: duration in seconds (5-15) |
| mode | enum: "standard" | "pro" | no | Legacy alias for generate_video: 'standard'→768p, 'pro'→2K. Prefer 'resolution'. |
| generate_audio | boolean | no | Accepted and IGNORED — H3 audio is native and always on, at no extra cost. There is no way to request a silent render. |
| resolution | enum: "768p" | "2K" | "480p" | "720p" | "1080p" | "1K" | "4K" | no | 768p (default) or 2K for generate_video / animate_image — priced by resolution × duration, native audio free; 2K is upscaled from a 768p render. 480p/720p/1080p are retired Seedance rungs, still accepted (480p/720p→768p, 1080p→2K). For edit_image: a flat 200 sats per edit, so resolution does not ch… |
create_cart
Pay for 2 to 10 calls with ONE Lightning invoice, up to 2,000 sats in all. Each item is { toolName, ...the same inputs create_payment takes for that tool }. The server checks and prices EVERY item first: one bad item refuses the whole cart, with no invoice, and the error names the item by its index. Returns JSON: { cartId, lightningInvoice, totalSats, expiresAt, items: [{ index, toolName, paymentId, amountSats }] }. Pay the ONE invoice. Then call each item's tool with that item's own paymentId, exactly as you would after create_payment. KEEP the paymentIds from this reply: each is the only way to use that item or to be refunded for it, and nothing can show them to you again. check_payment_status(cartId) shows the state of each item (it never repeats the paymentIds). An item you do not use is refunded for its own price after about an hour. Only one-shot tools can be in a cart (text, translation, image tools, document tools, text_to_speech); for calls, SMS, fax, email, video, music and other long jobs use create_payment.
| Parameter | Type | Required | Description |
|---|---|---|---|
| items | array<object> | yes | The calls to pay for. Each item is an object with toolName and the inputs create_payment takes for that tool (for example prompt for generate_text, text and targetLanguage for translate_text). |
check_payment_status
Check whether a Lightning invoice has been paid. Returns JSON: { paid, serviceUsed, refundAllowed, readyToUse, next, state } — readyToUse=true means paid, not yet consumed, and no refund queued; next says what to do. state is unpaid, paid, delivered, held, refund-open, claimed or expired. held (with its appeal_url) is present while the payment is held for review. deliveryStatus and deliveryDetail are present for SMS and fax: a send that succeeded means accepted, not delivered, so poll for the carrier outcome. Call after create_payment to verify the user has paid before calling the target tool. Invoices expire after 10 minutes — if expired, create a new payment. Most MCP clients with a connected wallet pay instantly, so a single check is usually sufficient. This tool is free and does not require payment.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | The paymentId returned by create_payment |
generate_image
Generate an image from a text prompt. Returns JSON with image URL. Models: Grok Imagine 2 (fast creative generation, 100 sats), Seedream 5 Pro (most permissive content policy, 150 sats at 1K / 300 at 2K), GPT Image 2.6 (ranked #1 on the Artificial Analysis text-to-image leaderboard as of November 2026 at its maximum quality setting; this API uses the automatic setting; 1200 sats, default). Supports img2img with optional base64 input. Optional aspectRatio (default 1:1) works on every model tier and does not change the price. Stable endpoints — models upgrade automatically as SOTA evolves. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| prompt | string | yes | Text prompt describing the image |
| modelId | number | no | Optional. Omit to run the model this payment was created for. |
| imageBase64 | string | no | Optional base64 image for img2img generation |
| aspectRatio | enum: "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "3:2" | "2:3" | no | Optional output shape, default 1:1. Same price for every shape. |
generate_video
Generate cinematic video from a text prompt. Uses MiniMax H3 — top 2 on the Artificial Analysis text-to-video leaderboard — with native audio. Async — returns requestId, poll with check_job_status. 768p or 2K (2K is upscaled from a 768p render), 5-15 seconds, priced per second by resolution (native audio free). Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_video' and duration, resolution params.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| prompt | string | yes | Text prompt describing the video |
| modelId | number | no | Optional. Omit for default model. |
| duration | number | yes | Duration in seconds (5-15) |
| resolution | enum: "768p" | "2K" | "480p" | "720p" | "1080p" | no | Output resolution: 768p or 2K (2K is upscaled from a 768p render). Omitting it yields 768p — ask for 2K explicitly, and quote it at create_payment too. Retired rungs still accepted: 480p/720p→768p, 1080p→2K. |
| reference_audio | string | no | Optional https URL(s) of reference audio CLIPS, 2-15 seconds each (max 3, combined <=15s). Cite them in your prompt as "Audio 1", "Audio 2" or the model has no instruction to use them. Audio cannot be sent alone — at least one reference_image must accompany it. For a music video, slice your track a… |
| reference_image | string | no | Optional https URL of a reference still for character/style consistency across shots (accepts an array, max 3). Pass the URL from generate_image. Free: does not change the price. |
| generate_audio | boolean | no | Accepted and IGNORED — H3 audio is native and always on, at no extra cost. There is no way to request a silent render. |
animate_image
Animate a still image into cinematic video with MiniMax H3 — provide a first frame and a prompt to direct the motion. Native audio. Async — returns requestId, poll with check_job_status. 768p or 2K (2K is upscaled from a 768p render), duration 5-15 seconds, priced per second by resolution. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='animate_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| prompt | string | yes | Text prompt describing the animation |
| modelId | number | no | Optional. Omit for default model. |
| imageBase64 | string | yes | Base64 encoded image to animate |
| duration | number | yes | Duration in seconds (5-15) |
| resolution | enum: "768p" | "2K" | "480p" | "720p" | "1080p" | no | Output resolution: 768p or 2K (2K is upscaled from a 768p render). Omitting it yields 768p — if you quoted 2K at create_payment, send it here too or you will be billed 2K and rendered 768p. Retired rungs still accepted: 480p/720p→768p, 1080p→2K. |
check_job_status
Poll the status of an async job. Use this after calling any async tool (generate_video, animate_image, generate_3d_model, transcribe_audio, epub_to_audiobook, ai_call) that returns a requestId. Returns JSON: { status: 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', requestId, jobType }. For epub-audiobook, also includes progress (0-100) and chapterProgress array. Poll every 5-10 seconds. When status is 'COMPLETED', call get_job_result to retrieve the output. When status is 'FAILED', the response includes an error message — do not retry automatically. This tool is free and does not require payment. Do NOT use for synchronous tools (generate_image, generate_text, etc.) — those return results immediately.
| Parameter | Type | Required | Description |
|---|---|---|---|
| requestId | string | yes | The requestId returned by the async tool (e.g., from generate_video, animate_image, generate_3d_model, transcribe_audio, epub_to_audiobook, ai_call) |
| jobType | enum: "video" | "video-image" | "video-fal-standard" | "video-fal-pro" | "image-3d" | "transcription" | "transcribe-translate" | "translate-epub" … | yes | Must match the async tool: video=generate_video, video-image=animate_image, image-3d=generate_3d_model, transcription=transcribe_audio, epub-audiobook=epub_to_audiobook, ai-call=ai_call. video-fal-standard/video-fal-pro = the fallback jobType generate_video returns when the primary video model is a… |
get_job_result
Retrieve the final output of a completed async job. Call ONLY after check_job_status returns status='COMPLETED' — calling on a job that has not completed returns an error. Returns JSON whose shape depends on jobType: video/video-image → { videoUrl, duration }; image-3d → { modelUrl } (GLB format); transcription → { text, language, segments, srt, vtt } (a result too large for one reply comes back without segments, srt and vtt, with resultTruncated, omitted and fullResultUrl: a free link to the whole result); epub-audiobook → { url, annexeUrl, totalChapters, completedChapters } (annexeUrl is a companion PDF of equations, tables, addresses, keys and hashes the narration replaces with a spoken marker; null when the book had none); ai-call → { transcript, duration, summary }. A video or 3D job whose payment was refunded returns error_code RESULT_NOT_AVAILABLE, unless you pass its paymentId: the payer then gets the pending refund (error_code L402_REFUND_ISSUED). An audiobook whose payment was refunded also returns RESULT_NOT_AVAILABLE, with no link: claim the refund at /recover with the payment ID. A web 3D purchase not yet collected on its own page also returns RESULT_NOT_AVAILABLE. All URLs are temporary (valid ~1 hour) — download immediately. This tool is free and does not require payment. Do NOT use for synchronous tools — those return results directly.
| Parameter | Type | Required | Description |
|---|---|---|---|
| requestId | string | yes | The requestId returned by the original async tool — same ID used with check_job_status |
| paymentId | string | no | The paymentId that bought this job. On a failed or refunded job the refund is opened either way; the claim link (lnurl_withdraw / refund_secret) is returned only when this matches — or call check_payment_status(paymentId). |
| jobType | enum: "video" | "video-image" | "video-fal-standard" | "video-fal-pro" | "image-3d" | "transcription" | "transcribe-translate" | "translate-epub" … | yes | Must match the async tool: video=generate_video, video-image=animate_image, image-3d=generate_3d_model, transcription=transcribe_audio, epub-audiobook=epub_to_audiobook, ai-call=ai_call. video-fal-standard/video-fal-pro = the fallback jobType generate_video returns when the primary video model is a… |
await_result
Wait for an async job to finish and return its result in ONE call — no manual polling loop. Pass the requestId + jobType from an async tool (generate_video, animate_image, generate_3d_model, transcribe_audio, epub_to_audiobook, ai_call). If your MCP client opened the request with 'Accept: text/event-stream', this streams live progress (notifications/progress) while it waits, then returns the final result; otherwise it does a single status check and returns immediately (call again until status='COMPLETED'). For long jobs it waits up to ~4 minutes per call, then returns status='IN_PROGRESS' with timed_out=true — call again with the same requestId to keep waiting. Equivalent to check_job_status + get_job_result combined. Free; no payment.
| Parameter | Type | Required | Description |
|---|---|---|---|
| requestId | string | yes | The requestId returned by the async tool. |
| paymentId | string | no | Optional: the paymentId that bought this job. If its payment was refunded, the claim link comes back only when this matches — or call check_payment_status(paymentId). |
| jobType | enum: "video" | "video-image" | "video-fal-standard" | "video-fal-pro" | "image-3d" | "transcription" | "transcribe-translate" | "translate-epub" … | yes | Must match the async tool that returned requestId. |
analyze_image
Analyze and describe image content, answer visual questions, extract information from screenshots or photos. Uses Qwen VL — multimodal vision-language model with strong OCR, chart reading, and spatial reasoning. 21 sats per image. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='analyze_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| prompt | string | yes | Question or analysis prompt for the image |
| imageBase64 | string | yes | Base64 encoded image to analyze. Single images only — for PDFs or multi-page document text use extract_document (a PDF sent here is treated as an image and may return a wrong/hallucinated result with no error). |
| modelId | number | no | Optional. Omit for default model. |
generate_text
Generate text using frontier AI language models. Per-character pricing with a per-request minimum: Kimi K3 (best, ~10 chars/sat, 1M context, default), GPT-OSS-120B (standard, ~1000 chars/sat, 119 languages, best value). Rates and minimums are BTC-pegged and re-quoted hourly, so treat them as approximate — the 402 challenge is the authoritative price. Supports document Q&A via fileContext. For images, use the analyze_image tool. Stable endpoints — models upgrade automatically. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_text' and the exact prompt.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| prompt | string | yes | The text prompt or question |
| modelId | number | no | Optional. Omit to run the model this payment was created for. |
| systemPrompt | string | no | Optional system prompt |
| maxTokens | number | no | Max tokens in response |
| fileContext | string | no | Extracted file text to include as context |
| fileName | string | no | Name of the attached file |
| imageBase64 | string | no | Base64 data URI for vision analysis (best model only) |
generate_music
Generate a full song with AI vocals from a style prompt plus lyrics — or an INSTRUMENTAL bed / underscore (background music under video narration, intros, outros) by sending ONLY structure tags and no words. You choose the length: 15-300 seconds at 5 sats/second (75-1500 sats). Specify BPM, key, genre, mood in prompt. Returns a 44.1 kHz 16-bit stereo WAV URL. Structure tags must each be on their OWN line — words on a tag line are DROPPED by the model, which silently shortens the song. Don't want to write lyrics? Set lyricsAddon:true (+25 sats) and optionally lyricsAbout to say what they should be about. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_music' AND the same duration (the price is bound to it).
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| prompt | string | yes | Music style with BPM, key, genre, mood, instruments (up to 2,000 chars). Example: 'E minor, 90 BPM, acoustic guitar ballad, male vocal' |
| modelId | number | no | Optional. Omit for default model. |
| duration | integer | no | Song length in seconds, 15-300. THE PRICE (5 sats/second) — must match the duration sent to create_payment. Default: 15 |
| lyrics | string | no | Song lyrics with section tags (up to 3,500 chars). Each tag on its OWN line, words on the lines after it — words sharing a line with a tag are dropped. Tags: [intro], [verse], [pre-chorus], [chorus], [post-chorus], [bridge], [instrumental], [solo], [outro]. Send only tags and no words for an instru… |
| lyricsAddon | boolean | no | Set true to have the lyrics written for you (+25 sats, billed on the song's own invoice). Must also be sent to create_payment. |
| lyricsAbout | string | no | Optional, with lyricsAddon: what the lyrics should be about. Omit and the subject is inferred from your music prompt. |
text_to_speech
Text-to-speech with 3 tiers: OmniVoice Global (602+ languages including Yoruba, Bengali, Cebuano, Twi, voice design, ~106 chars/sat — use 'language' parameter with ISO code), Inworld Premium (#1 ranked TTS ELO 1217, emotion control, 40+ languages, ~16 chars/sat), Minimax Studio (voice cloning from reference clip, 40+ languages, ~5 chars/sat). Adjustable speed (0.5-2.0x). Returns audio URL. Pay with Bitcoin Lightning — no API key or signup needed. When NOT to use: not for phone calls (use place_call for one-shot broadcasts, ai_call for AI voice agents, or open_voice_bridge to drive the call with your own LLM). For rare/underserved languages (Yoruba, Twi, Marathi, Cebuano, etc.), pick OmniVoice Global via language= — Inworld/Minimax don't cover these. Requires create_payment with toolName='text_to_speech'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| text | string | yes | Text to convert to speech |
| modelId | number | no | Optional. 3 tiers: OmniVoice Global (602+ langs, ~106 chars/sat), Inworld Premium (#1 ranked, ~16 chars/sat), Minimax Studio (voice cloning, ~5 chars/sat). Omit for default. |
| voice | string | no | Voice ID. 467 total voices. Use list_models to see available TTS models. Or paste a custom cloned voice ID. ## Minimax Studio — voice cloning from reference clip, ~5 chars/sat (332 voices) ### Arabic (2) Arabic_CalmWoman (Female, Middle Aged, Serene, calm female); Arabic_FriendlyGuy (Male, Middle A… |
| speed | number | no | Speech speed multiplier (0.5-2.0) |
| language | enum: "kbt" | "ab" | "abr" | "abn" | "fub" | "ady" | "aal" | "af" … | no | OmniVoice tier ONLY: ISO 639 language code (646 supported). Default: 'en'. NOTE: on the Inworld/Minimax tiers this field is silently ignored — you get the chosen voice's own language (usually English) with no error. For a non-English language, either select the OmniVoice tier (modelId) or pick a vo… |
| voice_description | string | no | OmniVoice only: voice-design words, one per group, separated by commas: male|female; child|teenager|young adult|middle-aged|elderly; very low|low|moderate|high|very high pitch; whisper; american|british|australian|canadian|indian|chinese|korean|japanese|portuguese|russian accent. Example: 'female,… |
transcribe_audio
Transcribe audio to text with WORD-LEVEL timestamps (timestamps:'word' returns per-word start/end times — subtitle alignment, karaoke captions, cutting video to speech) or segment timestamps. Uses Mistral Transcription — high-accuracy speech recognition that handles accents, background noise, and overlapping speakers. 13 languages: en, zh, hi, es, ar, fr, pt, ru, de, ja, ko, it, nl. Pass names (the people and places spoken in the audio) to help the speech model spell them right — free, same price. Priced per minute of audio; a 66-minute file works in one call. A result too large for one reply (word timestamps pass it after a few minutes of audio) comes back without segments, srt and vtt, with fullResultUrl: a free link to the whole result. Async — returns requestId, poll with check_job_status(jobType='transcription'), then get_job_result. 10 sats/min. Privacy: audio and transcripts are ephemeral — processed, returned, and discarded. Never persisted. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='transcribe_audio'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| audioBase64 | string | yes | Base64 encoded audio file |
| language | string | no | Optional. One of: detect (the default), en, zh, hi, es, ar, fr, pt, ru, de, ja, ko, it, nl. A locale tag (en-US) or the English name (French) also works; "auto" means detect. |
| timestamps | enum: "none" | "segment" | "word" | no | Timestamp granularity in result.segments. 'word' returns per-word start/end times (subtitle alignment, karaoke captions, cutting video to speech). Default 'segment'. If the timestamp request fails, you still get the text, and result.degraded includes 'timestamps' (no segments, srt or vtt). |
| diarize | boolean | no | Identify different speakers (default false). Forces segment granularity upstream. If the speaker-label request fails, you still get the text, and result.degraded includes 'diarization'. |
| names | array<string> | no | Optional: the names and places spoken in the audio (characters, people, towns), e.g. ["Siobhan", "Tadhg", "Chicoutimi"]. It helps the speech model spell them right. Free: the price does not change. We send up to 100At most 4000 characters of names. List names only: a name that sounds like an ordina… |
| callback_url | string | no | Optional HTTPS webhook we POST when the job finishes (HMAC-signed). Polling still works. |
| callback_id | string | no | Optional correlation string echoed back in the webhook body. Max 128 chars. |
transcribe_translate
Compound endpoint — one payment turns audio in any of 13 source languages into both a transcript AND a translation in any of 119 target languages. Perfect for WhatsApp voice messages in a language you don't speak (Yoruba → English), or recording a meeting in another language and reading it in yours. Auto-detects source if omitted. Pass names (the people and places spoken in the audio) to help the speech model spell them right — free, same price. Async — returns requestId, poll with check_job_status(jobType='transcribe-translate'). Flat price covers STT + translation. Cheaper than calling transcribe_audio + translate_text separately for typical voice messages. Pay with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='transcribe_translate', durationMinutes (your audio length) and targetLanguage (the same value you send here).
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| audioBase64 | string | yes | Base64-encoded audio file |
| targetLanguage | string | yes | Target language — English name (e.g. 'Spanish') or ISO-639 code (e.g. 'es', 'en-US'). 119 languages supported. |
| sourceLanguage | string | no | Optional — auto-detected if omitted. Accepts ISO-639 codes for the 13 STT languages: en, zh, hi, es, ar, fr, pt, ru, de, ja, ko, it, nl. NOTE: only these 13 are transcribable — a wrong hint (or audio in another language) yields a garbled transcript that is still billed as success. Omit to auto-dete… |
| names | array<string> | no | Optional: the names and places spoken in the audio (characters, people, towns), e.g. ["Siobhan", "Tadhg", "Chicoutimi"]. It helps the speech model spell them right. Free: the price does not change. We send up to 100At most 4000 characters of names. List names only: a name that sounds like an ordina… |
translate_epub
Translate a whole EPUB into another language and get an EPUB back. Every chapter is translated with its markup intact — headings, emphasis, footnote links, images and code stay where they were — the package language is retargeted and the table of contents is translated. 119 target languages; the target language picks the engine and the engine's row carries the price (same per-character rate as translate_text for that language, min 50 sats). Async — returns requestId, poll with check_job_status(jobType='translate-epub'), then get_job_result for the download url (temporary, 6h). Pay with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='translate_epub', characterCount (visible characters of the book) and targetLanguage; the real file is re-priced at execution and a short-pay is refunded with the exact amount to re-pay.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| epubBase64 | string | yes | Base64-encoded EPUB (max 50 MB) |
| targetLanguage | string | yes | Target language — English name (e.g. 'Spanish') or ISO-639 code (e.g. 'es'). Must equal the targetLanguage the payment was quoted with. |
| sourceLanguage | string | no | Optional source-language hint. Omit to let the model read it from the text. |
| fileName | string | no | Optional original filename, used to name the download. |
generate_3d_model
Generate a textured 3D GLB model from EITHER a photo OR a text prompt (provide exactly one, not both). Uses Tencent Hunyuan3D — high-fidelity geometry and PBR materials. Async — returns requestId, poll with check_job_status. 1600 sats per model. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='generate_3d_model'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| imageBase64 | string | no | Base64 encoded image (PNG, JPEG, or WEBP) for image-to-3D. Provide EITHER this OR prompt, not both. |
| prompt | string | no | Text description for text-to-3D (max 1024 chars). Provide EITHER this OR imageBase64, not both. |
| modelId | number | no | Optional. Omit for default model. |
extract_document
Extract text from PDFs and images as clean Markdown. Uses Mistral OCR — handles complex layouts, tables, handwriting, multi-column documents, and mathematical notation. Preserves document hierarchy in structured Markdown. 10 sats/page. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='extract_document' and quantity=pageCount for multi-page PDFs.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| documentBase64 | string | yes | Base64 encoded PDF or image |
| modelId | number | no | Optional. Omit for default model. |
convert_file
Convert files between 200+ formats: documents (PDF, DOCX, XLSX, HTML→PDF), images (PNG, JPG, WEBP, SVG), PDF first page to image (PDF→JPG, PDF→PNG), audio (MP3, WAV, FLAC), video (MP4, AVI, MOV). Industrial-grade conversion engine — preserves formatting and quality. Returns download URL. 100 sats. Pay per request with Bitcoin Lightning — no API key, no account, no subscription needed. Requires create_payment with toolName='convert_file'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| fileBase64 | string | no | Base64-encoded file (provide this OR fileUrl) |
| fileUrl | string | no | Public URL to the file (provide this OR fileBase64) |
| extensionFrom | string | yes | Source format without dot (e.g., 'pdf', 'docx') |
| extensionTo | string | yes | Target format without dot (e.g., 'pdf', 'docx') |
send_email
Reach anyone with an email address — useful when your task requires formal communication, sending reports, or contacting someone outside chat. No SMTP server, no domain verification needed. Plain text, max 10,000 chars body, 200 chars subject. 200 sats. Pay with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='send_email'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) No impersonation, scams, threats, harassment, credential theft, unsolicited bulk messages, or contact after an opt-out. Answering a call does not establish consent. We screen requests after payment. Held messages and calls are not sent or placed; payment is retained… |
| to | string | yes | Recipient email address |
| subject | string | yes | Email subject (max 200 characters) |
| body | string | yes | Email body text (plain text, max 10,000 characters) |
| replyTo | string | no | Optional reply-to email address |
clone_voice
Clone a voice you own or have permission to use, from a single audio sample. Returns a reusable voice_id for text_to_speech. Requires consent=true; cloning a voice to impersonate someone is prohibited. High-fidelity reproduction capturing tone, cadence, and accent. SAMPLE REQUIREMENTS: MP3, M4A or WAV, 10 seconds to 5 minutes, 20 MB max, one speaker, no background music — a sample outside these limits is rejected upstream and the clone fails. Turbo (faster) or HD (higher quality) modes. 7,500 sats per clone. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='clone_voice'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| voiceFileUrl | string | yes | Public URL to audio file of the voice to clone. MP3, M4A or WAV, 10 seconds to 5 minutes, 20 MB max. One speaker, no background music. |
| model | enum: "speech-02-turbo" | "speech-02-hd" | no | Voice model: turbo (faster) or hd (higher quality) |
| accuracy | number | no | Text validation accuracy 0-1 (default 0.7) |
| consent | boolean | yes | Required. Set true to attest that you own this voice or have the speaker's permission to clone it. Cloning a voice to impersonate someone is prohibited (sats4ai.com/terms). |
edit_image
Edit an image with natural language instructions. Uses MAI-Image-2.6, ranked #3 on the Artificial Analysis image-editing leaderboard as of September 2026 — understands context, handles object addition/removal, style transfer, and inpainting. Returns JSON with image URL. 200 sats per edit, one flat price. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='edit_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| prompt | string | yes | Editing instructions describing what to change |
| imageBase64 | string | yes | Base64 encoded image to edit |
| aspectRatio | enum: "match_input_image" | "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" … | no | Output aspect ratio (default: match_input_image, which keeps the input's shape) |
| outputFormat | enum: "jpg" | "png" | "webp" | no | Output format |
| resolution | enum: "1K" | "2K" | "4K" | no | Ignored: MAI-Image-2.6 has no resolution setting. Accepted for compatibility; every edit is 200 sats. |
| returnBase64 | boolean | no | Also return the edited image as a base64 data URL (base64Image). Default false: imageUrl is the deliverable and the base64 copy is megabytes of context. |
merge_pdfs
Merge multiple PDF files into a single document. Preserves bookmarks, links, and formatting. Returns JSON: { url } — a temporary download URL (valid ~1 hour). Minimum 2 files, no maximum. Files are concatenated in array order. 100 sats per merge regardless of file count. Use convert_file instead if you need format conversion (e.g., DOCX→PDF). Pay per request with Bitcoin Lightning — no API key, no account needed. Requires create_payment with toolName='merge_pdfs'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| files | array<string> | yes | Array of base64-encoded PDF files (minimum 2) |
convert_html_to_pdf
Convert HTML or Markdown to a pixel-perfect PDF. Returns JSON: { url } — a temporary download URL (valid ~1 hour). Great for generating invoices, reports, receipts, or formatted documents programmatically. Supports full HTML/CSS including tables, images (base64 or URL), and inline styles. For Markdown input, set format='markdown'. 50 sats per conversion. Use convert_file instead for converting existing files between formats (e.g., DOCX→PDF). Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='convert_html_to_pdf'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| html | string | yes | HTML or Markdown content to convert |
| format | enum: "html" | "markdown" | no | Input format (default: html) |
render_card
Render a typographic card — headline, versus (two columns), list, stat (one big number) or quote — as a PNG or JPEG at 1920x1080 or 2560x1440. Deterministic layout, no AI model: the text you send is exactly what appears, which no image generator can promise. Built for video title cards and slides, thumbnails, quote cards and social posts. Lists and comparisons REVEAL one beat at a time (revealed:N / show_right:false) — render N states and cut between them, and the text never shifts. Optional theme (hex colours). Text coverage: Latin, Greek and Cyrillic (DejaVu Sans) with Noto Sans fallback for Arabic, Indic, Thai, Chinese, Japanese and Korean; emoji render as single-colour silhouettes in the text colour, not in full colour. Returns { url, width, height, format, mime, expires_in_seconds } — the url is a signed download valid 2 h; fetch it, the image is not inlined. Hard caps: 3 lines x 40 chars, 6 items x 40 chars — a spec over a cap is refused BEFORE payment. 5 sats per card. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='render_card'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| variant | enum: "headline" | "versus" | "list" | "stat" | "quote" | yes | Card layout |
| size | enum: "1920x1080" | "2560x1440" | no | Output size (default 1920x1080) |
| format | enum: "png" | "jpg" | no | Output format (default png) |
| theme | object | no | Optional hex colours: background, foreground, accent, muted (default: near-black ground, Bitcoin-orange accent) |
| lines | array<string> | no | headline: 1-3 lines, each up to 40 characters |
| accent_line | integer | no | headline: index of the line drawn in the accent colour |
| left_label | string | no | versus: small label over the left value (up to 28 chars) |
| left | string | no | versus: left value (up to 22 chars) |
| right_label | string | no | versus: small label over the right value |
| right | string | no | versus: right value, drawn in the accent colour |
| show_right | boolean | no | versus: false renders the left column only (first beat of a two-state reveal) |
| title | string | no | list: small caps title (up to 40 chars) |
| items | array<string> | no | list: 1-6 items, each up to 40 chars; the last revealed item is drawn in the accent colour |
| revealed | integer | no | list: how many items are shown (default all) — render 1..N for a beat-by-beat reveal |
| value | string | no | stat: the big number (up to 12 chars), e.g. '34 Md $' |
| label | string | no | stat: caption under the number (up to 60 chars) |
| sub | string | no | stat: small line above the number, e.g. a year |
| text | string | no | quote: the quoted words (up to 30 chars) |
| source | string | no | quote: attribution line (up to 60 chars) |
translate_text
Translate text across 119 languages. Requires create_payment with toolName='translate_text', prompt (the text to translate) and targetLanguage (the same value you send here). Without targetLanguage the payment buys the standard engine: when it does not cover the better engine a language routes to, the standard engine translates the text, and the answer says so in `note`. The target language picks the engine: GPT-OSS 120B by default, or a higher-scoring model (Gemini) where one measurably beats it. Auto-detects source language. Privacy-preserving: no data stored. Pricing: 1 sat per 1,000 characters on the standard engine, minimum 1 sat per request; a routed language costs more. GET /api/languages returns the exact price, engine and measured chrF for every language, and the 402 always quotes the real amount before you pay. Supported languages: Afrikaans, Albanian, Amharic, Arabic, Armenian, Assamese, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Bulgarian, Burmese, Catalan, Cebuano, Chichewa, Chinese (Simplified), Chinese (Traditional), Corsican, Croatian, Czech, Danish, Dari, Dutch, English, Esperanto, Estonian, Farsi, Fijian, Filipino, Finnish, French, Frisian, Galician, Georgian, German, Greek, Guarani, Gujarati, Haitian Creole, Hausa, Hawaiian, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Igbo, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Kinyarwanda, Korean, Kurdish, Kyrgyz, Lao, Latvian, Lingala, Lithuanian, Luganda, Luxembourgish, Macedoni…
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| text | string | yes | Text to translate |
| targetLanguage | string | yes | Target language — English name ('Spanish', 'Chinese (Simplified)') or ISO-639 code / locale tag ('es', 'pt-BR'). 119 supported; full list at the GET /api/l402/translate-text endpoint. |
| sourceLanguage | string | no | Source language (auto-detected if omitted). NOTE: only checked for being a known language, not against your text — a wrong but valid value (e.g. 'German' for Spanish text) is accepted and silently mistranslates with no error. Omit it to let auto-detect work. |
| modelId | number | no | Optional. Leave it out: the target language picks the engine and the price. |
multilingual_ask
Ask a frontier AI a question in your OWN language and get the answer back in that same language, in ONE payment. We translate the question to English, answer it with a frontier model, then translate the answer back. Two engines behind one endpoint: 119 mainstream languages use the LLM translate tier; anything those models do not serve falls through to MADLAD-400 on our own GPU (452 languages, 251 of which ChatGPT, Claude and Gemini do not support at all). So a Wolaytta, Tiv or Q'eqchi' speaker gets frontier reasoning in their own language, which no other API offers. Rare-language quality is uneven and published per language - GET https://sats4ai.com/api/languages. Priced from question length plus a fixed 2000-character answer allowance at the chosen tier's rate, never below the per-request minimum of the model that answers (BTC-pegged, re-quoted hourly; Best, the default model, has the highest); the rare-language path costs more (GPU both ways). Requires create_payment with toolName='multilingual_ask', your exact question as prompt, AND the `language` you intend to use - the quote depends on both; a question that costs more than the quoted one is refused and refunded.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid), quoted for THIS language and tier. |
| question | string | yes | Your question, in your own language. Max 4000 characters. |
| language | string | yes | Language to answer in. English name ('Igbo'), ISO-639 code ('ig'), or a rare-language code ('wal'). Rejected before payment if unsupported. |
| model | string | no | Standard | Better | Best. Best is Kimi K3 and costs materially more. Must match the create_payment quote. |
translate_rare_language
Translate into 452 languages, 251 of them NOT supported by ChatGPT, Claude or Gemini (29 of those 251 measured at fair quality or better against human references) — including Bhojpuri (~50M speakers), Maithili (~34M), Egyptian Arabic (~100M), Moroccan Arabic (~30M), Chhattisgarhi, Magahi, Manipuri, Kashmiri, Shan, Kachin, Awadhi, Tamazight, Crimean Tatar, Quechua, Nuer, Sango, plus indigenous and minority languages with no callable API anywhere. Runs MADLAD-400 (Apache-2.0). QUALITY VARIES AND IS PUBLISHED PER LANGUAGE: every language carries a measured tier — good (chrF++ >= 45 vs human reference translations), fair (32-45), unverified (no benchmark exists, untested, may be poor), experimental (known weak). The response repeats the tier so you can judge how much to trust it. GET https://sats4ai.com/api/l402/translate-rare-language for the full language list with tiers, or GET /api/languages. Unsupported languages are rejected BEFORE payment. For mainstream languages use translate_text instead — it is cheaper and more fluent. Priced 50 sats base + 0.002 sats/char (GPU). Pay with Bitcoin Lightning — no API key or signup. Requires create_payment with toolName='translate_rare_language'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid). Price = 50 sats + 0.002/char. |
| text | string | yes | Text to translate. Max 6000 characters. |
| targetLanguage | string | yes | MADLAD language code ('mag', 'arz', 'bho', 'hne') or English name ('Magahi', 'Egyptian Arabic'). Rejected before payment if unsupported. |
extract_receipt
Extract structured data from receipts, invoices, and financial documents. Uses a dual-model pipeline (Mistral OCR + Kimi K3) for high-accuracy extraction. Returns JSON with merchant, date, line items, totals, tax, currency, and expense category. Handles crumpled receipts, faded text, and multi-page invoices. 25 sats/page. Pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='extract_receipt'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| documentBase64 | string | yes | Base64 encoded receipt/invoice image or PDF. NOTE: any text-bearing document is accepted — a non-receipt returns best-guess (possibly fabricated) merchant/total/line-item JSON with no error. Confirm the input really is a receipt before trusting the fields. |
boardingpass_wallet
Turn airline boarding passes (PDF or screenshot) into Google Wallet passes with the fields a plain scan drops — boarding zone, gate, boarding time — for a whole family in one go. Returns one save link per passenger plus a single 'add all' link. The original barcode is preserved byte-for-byte so it scans at the gate. Priced 100 sats PER PASS: create_payment with toolName='boardingpass_wallet' and quantity= (if you under-count, the call returns the exact price to re-pay). Image/screenshot files that turn out to carry no extra fields are refunded. Privacy: files are processed in memory and never stored; the save link expires in 30 minutes, so nothing is retained. Pay with Bitcoin Lightning — no account, no card.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid). Price = 100 × number of passes. |
| documentBase64 | string | no | Base64 boarding pass PDF or screenshot (max 8MB). Single-file convenience form. Must contain a readable BCBP barcode — a blurry photo or non-boarding-pass is refunded, not converted. |
| documents | array<string> | no | Base64 boarding passes, one per file (up to 8), for a family/booking. Provide this OR documentBase64 (at least one required). |
e_signature
Send a document out for legally binding e-signature and have the signed copy emailed back. Upload the PDF, name up to 3 signers, and give the email where the signed copy should land. Flat 1000 sats per document. The request is fulfilled through an established e-sign provider. The signed copy arrives once every signer has signed, so expect their turnaround — hours to days — not seconds. The API reply acknowledges the request; there is nothing to poll. Privacy: the PDF is processed in memory and never stored. Pay with Bitcoin Lightning — no account, no card. Requires create_payment with toolName='e_signature'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid). Price = 1000 sats flat. |
| documentBase64 | string | yes | Base64-encoded PDF to be signed (a data: URI is accepted). Max 8MB. Must be a PDF. |
| signers | array<object> | yes | 1-3 signers, each with a name and email. |
| customerEmail | string | yes | Your email — the signed copy is sent here once everyone has signed. |
| note | string | no | Optional note shown to the signers. |
epub_to_audiobook
Convert books (EPUB/PDF/TXT) to full audiobooks with automatic chapter detection, multi-voice narration, and optional translation to any language before narration. 3 voice tiers: OmniVoice Global (602+ langs, ~106 chars/sat), Inworld Premium (#1 ranked TTS ELO 1217, ~16 chars/sat), Minimax Studio (voice cloning from reference clip, ~5 chars/sat). Min 500 sats. Async — returns jobId, poll until completed (5-60+ min). Single payment, full outcome — no multi-step orchestration required. Pay with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='epub_to_audiobook'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| epubBase64 | string | yes | Base64-encoded book file (EPUB, PDF, or TXT) |
| fileName | string | yes | Original filename with extension (e.g., 'mybook.epub', 'document.pdf', 'story.txt'). Required to detect format. |
| voice | string | no | Voice ID. Must belong to the resolved tier's own voice set — Minimax: English_expressive_narrator, Wise_Woman, Deep_Voice_Man; Inworld: Ashley, Abby. OMIT to get a valid default for whichever tier is used. Ashley is Inworld-ONLY and is rejected on the Minimax tier. On the OmniVoice tier, voice is a… |
| language | string | no | Narration language (e.g., English, Spanish, French). NOTE: on the default tier this only affects chapter titles / number expansion — the spoken language comes from the chosen voice. For non-English narration pick a voice whose language matches else it narrates in the voice's own (usually English) a… |
| speed | number | no | Speech speed 0.5-2.0 |
| modelId | number | no | Optional. 3 voice tiers: OmniVoice Global (602+ langs), Inworld Premium (#1 ranked), Minimax Studio (voice clone). Omit for default. |
| selectedChapterIndices | array<number> | no | Chapter indices to include (0-based). Omit to auto-select content chapters. NOTE: auto-select drops front/back matter heuristically and can silently exclude a short (<200 char) wanted chapter near the start/end — pass explicit indices if you need a specific set. |
| translateToLanguage | string | no | Translate book to this language before narration. Accepts English names ('Spanish', 'Chinese (Simplified)') or ISO-639 codes / locale tags ('es', 'en-US', 'pt-BR'). Cost added to price. |
send_sms
Reach a human via SMS when your task requires real-world coordination. Sends to 190+ countries; delivery timing varies by destination. Refused before payment, with no invoice, because their networks require a registered sender name we do not have (ISO country codes): AE, AT, AU, BD, BJ, BY, CG, CI, CM, ES, GH, GN, GW, ID, IE, JO, KE, KW, KZ, LK, LR, MA, NG, NP, OM, PH, QA, RU, RW, SA, SD, SG, SS, TH, TR, TZ, UG, VN, ZM. A country can also be paused for up to 24 hours after repeated carrier failures there; that refusal reads as RATE_LIMITED, retry later. No phone plan, no SIM card, no telecom account needed. Pay with Bitcoin Lightning — no API key, no KYC, no subscription. Requires create_payment with toolName='send_sms' and phoneNumber+message at payment time. The phoneNumber must match the one used in create_payment. The message must not need more SMS segments than were paid for. Free rules, refused before payment, with no invoice: no links in the text, a send limit per destination number, and no number on our do-not-contact list. A paid send checks the limit and the list again; a refusal then refunds in full. A link added after payment is held, not refunded: a link is never sent. A US number: Queued. A text to a US number can take a few hours to arrive. Each SMS ends with a short signature line naming the service and a safety/stop link, within the paid segment count. No impersonation, scams, threats, harassment, credential theft, unsolicited bulk messages, or contact after…
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| phoneNumber | string | yes | Phone number in E.164 format (e.g., +14155550100). NOTE: non-+1 (international) numbers are delivered from an alphanumeric sender ID, so the recipient CANNOT reply — one-way only; for some countries (e.g. FR/CZ/CN) it is the only delivery path. No error is returned. |
| message | string | yes | Message text (max 1544 chars — a short signature line is appended; billed per SMS segment) |
place_call
Bridge the digital-physical gap — place an automated phone call to deliver a spoken message or play audio to any number. Useful when your task requires notifying a human, delivering alerts, or reaching someone who isn't online. Pay with Bitcoin Lightning — no telecom account, no KYC, no subscription. Requires create_payment with toolName='place_call' and phoneNumber. The message plays first. Then a short spoken notice names the service and how to stop these calls: call the number back, or go to sats4ai.com/c. The notice fits the prepaid minutes. No impersonation, scams, threats, harassment, credential theft, unsolicited bulk messages, or contact after an opt-out. Answering a call does not establish consent. We screen requests after payment. Held messages and calls are not sent or placed; payment is retained during review, not refunded immediately. Confirmed violations are not refunded. Unresolved communication holds become eligible for a refund after 24 hours; refund eligibility is processed by scheduled maintenance. Human review costs 1 sat at https://sats4ai.com/appeal. What we keep, and for how long: https://sats4ai.com/terms
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| phoneNumber | string | yes | Phone number in E.164 format (e.g., +14155550100) |
| message | string | no | Text to speak via TTS; must fit prepaid minutes including the closing spoken notice (about 12 s). Provide this OR audioUrl. |
| audioUrl | string | no | Public URL to audio file. Provide this OR message. |
| durationMinutes | number | no | Duration in minutes (1-30). Required for audioUrl. |
send_fax
When your task requires a paper-trail on the other end — loan paperwork to a bank, signed contract to a notary, booking confirmation to a hotel in Japan — send a fax to any number worldwide. Two modes: 'pdf' (fetch from public URL) or 'text' (we format typed text into a PDF locally). Text/cover support Latin (incl. Central European, Vietnamese), Greek, Cyrillic, Japanese, Korean, Chinese (Simplified + Traditional), Thai, Hindi, Georgian, Armenian, Amharic; RTL scripts (Arabic/Hebrew) and emoji are rejected BEFORE your payment is consumed. Optional cover page. Pricing: 500 sats for up to 10 pages, +50 sats per additional page. Max 350 pages / 50 MB. Pass 'pages' to create_payment as 'quantity' to get the right invoice. Pay with Bitcoin Lightning — no fax machine, no phone line, no telecom account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| phoneNumber | string | yes | Destination fax number in E.164 format (e.g. +14155550100) |
| mode | enum: "pdf" | "text" | yes | 'pdf' = send PDF from pdfUrl. 'text' = generate PDF from typed text. |
| pdfUrl | string | no | Required for mode=pdf: public HTTPS URL returning application/pdf |
| text | string | no | Required for mode=text: message text to format as PDF |
| coverText | string | no | Optional cover page text (mode=pdf only, adds 1 page) |
| pages | number | no | Expected page count (1-350). Used for pricing. Pass same value to create_payment as 'quantity'. |
receive_fax
When you're expecting a fax back — bank confirmation, court filing, signed document — open a 24h receive window at our shared number +1 320 299 1523. Matched by caller ID (last 10 digits of the sender), delivered to your email as soon as it arrives. Optional OCR add-on (+200 sats) returns a searchable text file alongside the PDF — useful for feeding the content to an agent or archiving. Optional callback_url POSTs an HMAC-signed webhook on delivery so your agent doesn't have to poll. No refund if no fax arrives within the window (prevents subscription squatting). If OCR fails, an LNURL-withdraw for 200 sats is included in the delivery email for partial refund. Pay with Bitcoin Lightning — no dedicated fax number rental, no monthly subscription, no account.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| string | yes | Email address to deliver the fax PDF to | |
| fromNumber | string | yes | Expected sender fax number in E.164 format (matched by last 10 digits of caller ID) |
| ocr | boolean | no | Add OCR text extraction (+200 sats). Default: false. |
| callback_url | string | no | Optional HTTPS webhook URL. POSTed (HMAC-signed) when fax is delivered. Public HTTPS only — no loopback/RFC1918. |
| callback_id | string | no | Optional opaque correlation string (max 128 chars). Echoed in the webhook body. |
ai_call
When a task needs a human (booking, negotiating, an IVR menu, information from a business), send an AI voice agent to make the call. It follows your instructions, holds a real two-way conversation and returns the transcript with a structured analysis. Requires create_payment with toolName='ai_call', phoneNumber and durationMinutes; priced per destination and duration: create_payment returns the exact amount before you pay. Async: poll check_job_status(jobType='ai-call'). May return state='pending_confirm' with questions when critical info is missing: call confirm_ai_call to proceed. One redial, 2 minutes later, if nobody answers, a voicemail answers, the line is busy or the call drops within 30 seconds. No redial after the person speaks and hangs up, asks to stop or opts out, or after the agent leaves a voicemail message. A person who asks not to be called again is added to our do-not-contact list. The redial runs on the deposit's unused minutes (none left: no redial), and a connected redial bills at least 1 minute. Not for: your own LLM driving the call (open_voice_bridge), a one-way spoken message (place_call), SMS (send_sms). The agent says it is a virtual assistant calling for a client, and answers questions about the service if the recipient asks. At the end of a normal call it asks the recipient for permission to share the recording; without a clear yes, the recording is deleted and never returned. No impersonation, scams, threats, harassment, credential theft, unsolic…
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| phoneNumber | string | yes | Phone number in E.164 format (e.g., +14155550100) |
| task | string | yes | Instructions for the AI agent (what to say, ask, or accomplish) |
| durationMinutes | number | no | Max call duration 1-10 minutes (default: 3) |
| language | enum: "en-US" | "en-GB" | "es-ES" | "fr-FR" | "de-DE" | "ja-JP" | "zh-CN" | "multi" | no | Language the agent should speak to the called party. Pass this when you know the destination's preferred language (e.g. calling a French pizzeria → fr-FR, a Japanese restaurant → ja-JP). If omitted, we guess from the destination country: +33 → fr-FR, +49 → de-DE, +34 → es-ES, etc. Bilingual regions… |
| beginMessage | string | no | Optional opening line for the agent |
| refundAddress | string | no | Lightning address of YOUR user (for example [email protected]), only if the user gave you one. Never invent or guess an address: the refund is paid out at once and cannot be called back. The unused deposit is sent here when the call ends. With no address, or if that payment fails, the refund waits as… |
confirm_ai_call
Confirm an AI call after reviewing push-back questions, optionally providing answers to missing info. Required when ai_call returns state='pending_confirm'. Uses the original payment — no new payment needed. Returns call_id for polling with check_job_status(jobType='ai-call').
| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionId | string | yes | Session ID from the ai_call response |
| answers | object | no | Key-value answers to the push-back questions (keys are the question strings, values are your answers). Omit to confirm the task as-is. |
open_voice_bridge
Open a phone call you drive one turn at a time: we dial, transcribe what the other side says, and speak whatever text you send. Requires create_payment with toolName='voice_bridge_open', phoneNumber, durationMinutes. Deposit is priced per destination off the carrier rate sheet and is BTC-pegged, so call create_payment for the exact figure; premium-rate and satellite ranges are refused. Then call voice_bridge_say to talk, poll_voice_bridge to read transcripts, end_voice_bridge to hang up. Turn-based, NOT full-duplex conversation: after the callee stops talking, about 2 seconds pass before your reply starts to play, on top of your own model's thinking time: slower than the ~0.8s a natural back-and-forth needs. The callee cannot interrupt you while you speak. Pass filler (a short phrase such as 'One moment, please.') to cover a slow reply: we say it once if you have not started answering about 3.5 seconds after they stop. The loop: poll_voice_bridge with waitMs (e.g. 20000) returns when the callee has finished talking; answer with a short voice_bridge_say (one or two sentences); repeat. Good for: leaving a spoken message, a voice-driven IVR (keypad tones are not supported yet), reading something out, a slow exchange where a pause is fine, and a call whose content must never leave your side. For a real conversation with a human, use ai_call; for one-shot TTS or IVR playback, use place_call. Unused deposit time is refunded automatically when the call ends, including when the call…
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID from create_payment (toolName=voice_bridge_open) |
| phoneNumber | string | yes | Destination phone number in E.164 format (e.g., +14155550100) |
| language | string | no | BCP-47 language tag (default en-US). See /api/l402/voice-bridge/coverage for the matrix. |
| durationMinutes | number | no | Deposit for N minutes, 2-30 (default 3). Unused time refunded. |
| codec | enum: "PCMU" | "L16_16000" | no | PCMU 8kHz (default, universal) or L16_16000 for HD voice when both endpoints support it |
| sttEnabled | boolean | no | Default true. Set false for TTS-only broadcast calls. |
| ttsEnabled | boolean | no | Default true. Set false to bring-your-own-audio via voice_bridge_say. |
| refundAddress | string | no | Lightning address of YOUR user (for example [email protected]), only if the user gave you one. Never invent or guess an address: the refund is paid out at once and cannot be called back. The unused deposit is sent here when the call ends. With no address, or if that payment fails, the refund waits as… |
| greeting | string | no | Spoken the instant the callee answers (max 500 chars). Synthesized while the phone rings, so there is no pause before the first word — without it the callee hears silence until your first voice_bridge_say lands. Strongly recommended for any call a human answers. |
| filler | string | no | Optional. A short phrase (at most 60 characters) we say ONCE when you are slow: if about 3.5 seconds pass after the callee stops talking and your voice_bridge_say has not started, the callee hears it, so they know you are still there. Example: "One moment, please." Write it in the callee's language… |
voice_bridge_say
Inject audio into an open Voice Bridge call. Two modes: (1) text — we synthesize speech in any of 602 languages (English, Spanish and German start fastest); (2) audio_base64 + encoding — bring your own audio (mulaw_8000 or pcm_l16_16000 for MVP). Keep each reply to one or two sentences: the call is turn-based. While you speak, the callee cannot interrupt, and what they say is NOT heard (transcription is muted so you do not hear yourself, and for under a second after). One call takes at most 700 speech units of text, about 45 seconds of speech (each Chinese, Japanese, Korean or Thai character counts 3): send a longer message as several calls. The call returns when the speech has finished playing. If it fails after part of the line was spoken, the error says so: do not repeat the start. No additional payment — covered by the session deposit.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionId | string | yes | Session ID from open_voice_bridge |
| text | string | no | Text to speak (mode 1). One or two sentences work best; at most 700 speech units (each Chinese, Japanese, Korean or Thai character counts 3), longer is refused with a 400. |
| language | string | no | Language override for this utterance (default: session language) |
| voiceDescription | string | no | OmniVoice voice-design words, one per group, separated by commas: male|female; child|teenager|young adult|middle-aged|elderly; very low|low|moderate|high|very high pitch; whisper; american|british|australian|canadian|indian|chinese|korean|japanese|portuguese|russian accent. When OmniVoice speaks th… |
| audioBase64 | string | no | Pre-rendered audio bytes, base64 (mode 2). Use with 'encoding'. |
| encoding | enum: "mulaw_8000" | "pcm_l16_16000" | no | Encoding of audioBase64. mp3/opus require ffmpeg (not yet wired in MVP). |
poll_voice_bridge
Fetch new transcript events from an open Voice Bridge call since the last cursor. Returns partial + final transcripts + system events. Pass waitMs (e.g. 20000) to hold the call until the callee has FINISHED TALKING (a final transcript, then 0.7 s of silence) or the call changes state, then get everything at once: no polling timer, and you do not answer in the middle of their sentence. Without waitMs, poll in a loop (~500ms-1s) and decide yourself when they are done. No additional payment.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionId | string | yes | Session ID from open_voice_bridge |
| cursor | number | no | Last seq number seen (default 0 = start from beginning) |
| waitMs | number | no | Optional. Hold the call up to this many milliseconds (max 25000) until the callee has finished talking: a FINAL transcript has arrived and nothing new for quietMs, or a system event arrives. Then everything since the cursor is returned at once. Partial transcripts alone do not end the wait. Default… |
| quietMs | number | no | Optional, used with waitMs. How many milliseconds of silence after a final transcript count as 'finished talking' (0-5000, default 700). 0 = return at the first final transcript, even mid-sentence. |
end_voice_bridge
Hang up a Voice Bridge call, finalize billing, and return a LNURL-withdraw refund link for unused deposit time. Also returns the final transcript for convenience.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionId | string | yes | Session ID from open_voice_bridge |
list_models
Discover available AI models with numeric IDs, tier labels, capabilities, and per-call pricing in sats. Call this before create_payment to find the right modelId for your task. Returns JSON array: [{ id, name, tier, description, price, isDefault, category }]. Models marked isDefault=true are used when you omit modelId from create_payment. Filter by category to narrow results to a specific tool. This tool is free, requires no payment, and is idempotent — safe to call repeatedly.
| Parameter | Type | Required | Description |
|---|---|---|---|
| category | enum: "generate_text" | "generate_image" | "generate_video" | "animate_image" | "generate_music" | "text_to_speech" | "transcribe_audio" | "analyze_image" … | no | Filter by service category (matches tool names) |
get_model_pricing
Get pricing for a specific model by ID. No payment required.
| Parameter | Type | Required | Description |
|---|---|---|---|
| modelId | number | string | yes | The AI model database ID from list_models. A numeric string ("16") is accepted and coerced. |
get_cost_estimate
Get an exact sat cost quote for a service BEFORE creating a payment. Useful for budget-aware agents to price-check before committing. No payment required, no side effects. Pass service=text-to-speech&chars=1500, service=translate&chars=800, service=transcribe-audio&minutes=5, etc. Returns { amount_sats, breakdown, currency }. Omit params to see the full catalog of supported services.
| Parameter | Type | Required | Description |
|---|---|---|---|
| service | string | no | Service id (e.g. 'text-to-speech', 'translate', 'image', 'video', 'transcribe-audio', 'ocr'). Omit to list all services. |
| model | string | no | Optional model id for services with multiple tiers |
| chars | number | no | Character count — required for TTS and translate |
| minutes | number | no | Audio length — required for transcribe-audio |
| seconds | number | no | Video duration — required for video / video-from-image |
| pages | number | no | Page count — for OCR (default 1) |
get_error_codes
Get the machine-readable catalog of all error codes this API can return (e.g. TIMEOUT, CONTENT_FILTERED, RATE_LIMITED, L402_REFUND_ISSUED, L402_AUTO_ROUTED). Agents should branch on error_code rather than parsing free-text messages. No payment required.
No parameters.
request_refund
Open a MANUAL 48-hour refund review ticket for a service that FAILED (error, timeout, wrong output). Sends an email to the operator. DO NOT call this for unused-minute refunds on metered services (ai_call, voice_bridge) — those are returned automatically as an LNURL-withdraw link in the service's own response under `refund.lnurl_withdraw`, no manual ticket needed. If you call this on a metered payment that already has a pending LNURL refund, this tool will detect it and return the existing LNURL instead of creating a duplicate ticket. CLAIM WINDOW: refunds must be claimed within 30 days — after that the LNURL link stops working and the refund expires, so do not bank a link for later.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | The payment ID from a failed service call |
| invoice | string | yes | Lightning address (e.g., [email protected]) or bolt11 invoice for the refund |
| string | no | Optional email address for follow-up | |
| feedback | string | no | Optional description of what went wrong (max 2000 chars) |
remove_background
Remove background from any image, returning transparent PNG. Uses BiRefNet (state-of-the-art, Papers with Code — Sm 0.901 on DIS5K). Handles hair, fur, glass, transparency, and complex edges. Stable endpoint — model upgrades automatically as SOTA evolves. 44 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='remove_background'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
upscale_image
Upscale images 2x or 4x with neural super-resolution. Uses Real-ESRGAN (ICCV 2021, PSNR 32.73dB on Set5 4x, 100M+ production runs). Recovers real detail from low-resolution images — not interpolation. Optional face enhancement. Stable endpoint — model upgrades automatically as SOTA evolves. 5 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='upscale_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| scale | enum: "2" | "4" | no | Upscale factor: 2x or 4x (default 4x) |
| face_enhance | boolean | no | Apply face enhancement during upscaling (default false) |
restore_face
Restore blurry, damaged, or AI-generated faces to sharp, natural quality. Uses CodeFormer (NeurIPS 2022, state-of-the-art FID 32.65 on CelebA-Test). Adjustable fidelity — balance between quality enhancement and identity preservation. Background enhancement and upscaling are optional. Stable endpoint — model upgrades automatically as SOTA evolves. 25 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='restore_face'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded image containing faces (PNG, JPEG, WEBP) or data URI |
| fidelity | number | no | Fidelity to input: 0.0 = max quality enhancement, 1.0 = max identity preservation (default 0.5) |
| background_enhance | boolean | no | Also enhance the background (default false) |
| face_upsample | boolean | no | Upsample restored faces (default true) |
| upscale | number | no | Output upscale factor 1-4 (default 1). Size limit: width x height x upscale² up to 25MP, after a side under 512 px is enlarged to 512 px. |
estimate_depth
Estimate per-pixel depth from a single photo. Depth Anything V2 (NeurIPS 2024, 3.8M+ runs) returns BOTH the raw greyscale depth map — what a ControlNet, AR or 3D reconstruction pipeline consumes — and a colour visualization for humans. Structured geometry a vision LLM cannot produce. 5 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='estimate_depth'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| model_size | enum: "Small" | "Base" | "Large" | no | Model size — larger is more accurate, price is the same (default Large) |
detect_nsfw
Classify image safety (normal / suggestive / explicit). Falcons.ai NSFW detection — 100x cheaper and faster than asking an LLM. Returns classification label and boolean is_nsfw flag. Essential for content moderation pipelines. 2 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='detect_nsfw'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| imageBase64 | string | yes | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
detect_objects
Detect and locate objects in an image by name. Grounding DINO (open-set detector, ECCV 2024) — describe what to find in natural language, get bounding box coordinates and confidence scores. Structured pixel data agents can't get from vision LLMs. 5 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='detect_objects'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| imageBase64 | string | yes | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| query | string | yes | Comma-separated object names to detect (e.g. 'cat, dog, person') |
| box_threshold | number | no | Confidence threshold for detection boxes (0-1, default 0.25) |
| text_threshold | number | no | Confidence threshold for text matching (0-1, default 0.25) |
remove_object
Remove unwanted objects from images by describing what to remove — no mask needed. Combines Grounding DINO detection (ECCV 2024) with Bria Eraser inpainting. Just say 'person', 'car', or 'watermark' and the object is erased and filled convincingly. 130 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='remove_object'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| query | string | yes | What to remove (e.g. 'person', 'car', 'watermark', 'text') |
| box_threshold | number | no | Detection confidence threshold (0-1, default 0.25) |
| text_threshold | number | no | Text matching threshold (0-1, default 0.25) |
colorize_image
Colorize black-and-white or grayscale photos. DDColor (dual-decoder, ICCV 2023) — vivid, natural colorization. Impossible for text/vision LLMs. 5 sats per image, pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='colorize_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded grayscale or B&W image (PNG, JPEG) or data URI |
| model_size | enum: "tiny" | "large" | no | Model variant: 'large' (best quality) or 'tiny' (faster). Default: large |
deblur_image
Recover detail from camera-shake and accidental motion blur. NAFNet (ECCV 2022, SOTA on GoPro/SIDD benchmarks). Best for: handheld shake, bumped camera, whole-frame uniform blur. NOT effective for: intentional panning blur, bokeh/depth-of-field, or artistic motion effects. Also supports denoising (grainy/noisy photos). 110 sats per image (~2 min processing), pay per request with Bitcoin Lightning — no API key or signup needed. Requires create_payment with toolName='deblur_image'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (must be paid) |
| resultKey | string | no | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 | string | yes | Base64-encoded blurry image (PNG, JPEG, WEBP) or data URI |
| task_type | enum: "Image Debluring (GoPro)" | "Image Debluring (REDS)" | "Image Denoising" | no | 'Image Debluring (GoPro)' for camera shake (default), 'Image Debluring (REDS)' for video frame blur, 'Image Denoising' for grain/noise |
vote_on_service
Vote for a planned service to be built next. Returns JSON: { success, slug, newVoteCount }. 1 sat per vote — multiple votes allowed. Call list_planned_services first to discover valid slugs and current vote counts. Highest-voted services get prioritized. Requires create_payment with toolName='vote_on_service'.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paymentId | string | yes | Valid payment ID (1 sat, must be paid) |
| slug | string | yes | Service slug to vote for (from list_planned_services) |
list_planned_services
List all planned services with current vote counts. Returns JSON array: [{ slug, name, description, votes }], sorted by votes descending. No payment required — this is a free discovery tool. Use the slug values with vote_on_service to cast votes. This tool is idempotent and safe to call repeatedly.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://sats4ai.com/api/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http sats4ai https://sats4ai.com/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : sats4ai ; URL : https://sats4ai.com/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : sats4ai ; Server URL : https://sats4ai.com/api/mcp ; Create as a plugin{
"mcpServers": {
"sats4ai": {
"url": "https://sats4ai.com/api/mcp"
}
}
}{
"mcpServers": {
"sats4ai": {
"type": "http",
"url": "https://sats4ai.com/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"sats4ai": {
"url": "https://sats4ai.com/api/mcp"
}
}
}{
"mcpServers": {
"sats4ai": {
"httpUrl": "https://sats4ai.com/api/mcp"
}
}
}[mcp_servers.sats4ai]
url = "https://sats4ai.com/api/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Sats4AI - Bitcoin-Powered AI Tools · L’Atlas · Tested on
[Sats4AI - Bitcoin-Powered AI Tools — L’Atlas](https://latlas.dev/en/mcp/io.github.cnghockey/sats4ai)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.