Sats4AI - Bitcoin-Powered AI Tools is an MCP server published by io.github.cnghockey, hosted at sats4ai.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 58 tools, including create_payment, create_cart, check_payment_status, generate_image, generate_video.
40+ Lightning-paid AI tools for agents: calls, SMS, fax, voice, translation. No signup, no keys.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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); 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 an error with the missing field names.
| Parameter | Type | Description |
|---|---|---|
| ocr | boolean | 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. |
| mode | string | Legacy alias for generate_video: 'standard'→768p, 'pro'→2K. Prefer 'resolution'. |
| text | string | Required for text_to_speech: the exact text to synthesize (price is per-character by tier, locked to payment) |
| prompt | string | Required for generate_text: the exact prompt (price calculated from char count, locked to payment) |
| message | string | Required for send_sms: message text (max 1544 chars; billed per SMS segment, so longer or accented messages cost more) |
| modelId | number | Optional. AI model ID from list_models. Omit for default (best) model. |
| duration | number | Required for generate_video / animate_image: duration in seconds (5-15) |
| quantity | number | 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. |
| toolName * | string | Tool name to pay for (e.g., 'generate_text', 'generate_image', 'generate_video', 'send_sms', 'place_call') |
| resolution | string | 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 cha… |
{
"name": "create_payment",
"description": "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); 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 an error with the missing field names.",
"inputSchema": {
"type": "object",
"required": [
"toolName"
],
"properties": {
"ocr": {
"type": "boolean",
"description": "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."
},
"mode": {
"enum": [
"standard",
"pro"
],
"type": "string",
"description": "Legacy alias for generate_video: 'standard'→768p, 'pro'→2K. Prefer 'resolution'."
},
"text": {
"type": "string",
"description": "Required for text_to_speech: the exact text to synthesize (price is per-character by tier, locked to payment)"
},
"prompt": {
"type": "string",
"description": "Required for generate_text: the exact prompt (price calculated from char count, locked to payment)"
},
"message": {
"type": "string",
"description": "Required for send_sms: message text (max 1544 chars; billed per SMS segment, so longer or accented messages cost more)"
},
"modelId": {
"type": "number",
"description": "Optional. AI model ID from list_models. Omit for default (best) model."
},
"duration": {
"type": "number",
"description": "Required for generate_video / animate_image: duration in seconds (5-15)"
},
"quantity": {
"type": "number",
"description": "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."
},
"toolName": {
"type": "string",
"description": "Tool name to pay for (e.g., 'generate_text', 'generate_image', 'generate_video', 'send_sms', 'place_call')"
},
"resolution": {
"enum": [
"768p",
"2K",
"480p",
"720p",
"1080p",
"1K",
"4K"
],
"type": "string",
"description": "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 change the price."
},
"fileContext": {
"type": "string",
"description": "For generate_text: include extracted file text if attaching a file (affects price)"
},
"phoneNumber": {
"type": "string",
"description": "Required for send_sms and place_call: phone in E.164 format (e.g., +14155550100)"
},
"systemPrompt": {
"type": "string",
"description": "For generate_text: include if using a custom system prompt (affects price)"
},
"characterCount": {
"type": "number",
"description": "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-pay."
},
"generate_audio": {
"type": "boolean",
"description": "Accepted and IGNORED — H3 audio is native and always on, at no extra cost. There is no way to request a silent render."
},
"targetLanguage": {
"type": "string",
"description": "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."
},
"durationMinutes": {
"type": "number",
"description": "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."
}
}
}
}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 | Description |
|---|---|---|
| items * | array | 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). |
{
"name": "create_cart",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"toolName"
],
"properties": {
"text": {
"type": "string",
"description": "For text_to_speech and translate_text: the exact text (priced per character, locked to the item)."
},
"prompt": {
"type": "string",
"description": "For generate_text and translate_text: the exact text you will send (the price is its character count, locked to the item)."
},
"modelId": {
"type": [
"number",
"string"
],
"description": "Optional. AI model id or name, as for create_payment."
},
"quantity": {
"type": "number",
"description": "For extract_document and extract_receipt: the pages. Default 1."
},
"toolName": {
"enum": [
"generate_text",
"translate_text",
"generate_image",
"edit_image",
"analyze_image",
"remove_background",
"upscale_image",
"restore_face",
"detect_nsfw",
"detect_objects",
"remove_object",
"colorize_image",
"deblur_image",
"estimate_depth",
"render_card",
"convert_file",
"merge_pdfs",
"convert_html_to_pdf",
"extract_document",
"extract_receipt",
"text_to_speech"
],
"type": "string",
"description": "The tool this item pays for."
},
"resolution": {
"type": "string",
"description": "For image tools priced by size: the resolution, as for create_payment."
},
"fileContext": {
"type": "string",
"description": "For generate_text: attached file text, if any (it is part of the price)."
},
"systemPrompt": {
"type": "string",
"description": "For generate_text: the system prompt, if you use one (it is part of the price)."
},
"targetLanguage": {
"type": "string",
"description": "For translate_text: the target language (it picks the engine and so the price)."
}
},
"additionalProperties": true
},
"maxItems": 10,
"minItems": 2,
"description": "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 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 | Description |
|---|---|---|
| paymentId * | string | The paymentId returned by create_payment |
{
"name": "check_payment_status",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId"
],
"properties": {
"paymentId": {
"type": "string",
"description": "The paymentId returned by create_payment"
}
}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}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 | Description |
|---|---|---|
| prompt * | string | Text prompt describing the image |
| modelId | number | Optional. Omit to run the model this payment was created for. |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| aspectRatio | string | Optional output shape, default 1:1. Same price for every shape. |
| imageBase64 | string | Optional base64 image for img2img generation |
{
"name": "generate_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "Text prompt describing the image"
},
"modelId": {
"type": "number",
"description": "Optional. Omit to run the model this payment was created for."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"aspectRatio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3"
],
"type": "string",
"description": "Optional output shape, default 1:1. Same price for every shape."
},
"imageBase64": {
"type": "string",
"description": "Optional base64 image for img2img generation"
}
}
}
}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 | Description |
|---|---|---|
| prompt * | string | Text prompt describing the video |
| modelId | number | Optional. Omit for default model. |
| duration * | number | Duration in seconds (5-15) |
| paymentId * | string | Valid payment ID (must be paid) |
| resolution | string | 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. |
| generate_audio | boolean | Accepted and IGNORED — H3 audio is native and always on, at no extra cost. There is no way to request a silent render. |
| reference_audio | string | 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 … |
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 | Description |
|---|---|---|
| prompt * | string | Text prompt describing the animation |
| modelId | number | Optional. Omit for default model. |
| duration * | number | Duration in seconds (5-15) |
| paymentId * | string | Valid payment ID (must be paid) |
| resolution | string | 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. |
| imageBase64 * | string | Base64 encoded image to animate |
{
"name": "animate_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt",
"imageBase64",
"duration"
],
"properties": {
"prompt": {
"type": "string",
"description": "Text prompt describing the animation"
},
"modelId": {
"type": "number",
"description": "Optional. Omit for default model."
},
"duration": {
"type": "number",
"maximum": 15,
"minimum": 5,
"description": "Duration in seconds (5-15)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resolution": {
"enum": [
"768p",
"2K",
"480p",
"720p",
"1080p"
],
"type": "string",
"default": "768p",
"description": "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."
},
"imageBase64": {
"type": "string",
"description": "Base64 encoded image to animate"
}
}
}
}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 | Description |
|---|---|---|
| jobType * | string | 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 at… |
| requestId * | string | The requestId returned by the async tool (e.g., from generate_video, animate_image, generate_3d_model, transcribe_audio, epub_to_audiobook, ai_call) |
{
"name": "check_job_status",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"requestId",
"jobType"
],
"properties": {
"jobType": {
"enum": [
"video",
"video-image",
"video-fal-standard",
"video-fal-pro",
"image-3d",
"transcription",
"transcribe-translate",
"translate-epub",
"epub-audiobook",
"ai-call"
],
"type": "string",
"description": "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 at capacity."
},
"requestId": {
"type": "string",
"description": "The requestId returned by the async tool (e.g., from generate_video, animate_image, generate_3d_model, transcribe_audio, epub_to_audiobook, ai_call)"
}
}
},
"annotations": {
"idempotentHint": true
}
}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 | Description |
|---|---|---|
| jobType * | string | 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 at… |
| paymentId | string | 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). |
| requestId * | string | The requestId returned by the original async tool — same ID used with check_job_status |
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 | Description |
|---|---|---|
| jobType * | string | Must match the async tool that returned requestId. |
| paymentId | string | 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). |
| requestId * | string | The requestId returned by the async tool. |
{
"name": "await_result",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"requestId",
"jobType"
],
"properties": {
"jobType": {
"enum": [
"video",
"video-image",
"video-fal-standard",
"video-fal-pro",
"image-3d",
"transcription",
"transcribe-translate",
"translate-epub",
"epub-audiobook",
"ai-call"
],
"type": "string",
"description": "Must match the async tool that returned requestId."
},
"paymentId": {
"type": "string",
"description": "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)."
},
"requestId": {
"type": "string",
"description": "The requestId returned by the async tool."
}
}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}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 | Description |
|---|---|---|
| prompt * | string | Question or analysis prompt for the image |
| modelId | number | Optional. Omit for default model. |
| paymentId * | string | Valid payment ID (must be paid) |
| imageBase64 * | string | 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). |
{
"name": "analyze_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt",
"imageBase64"
],
"properties": {
"prompt": {
"type": "string",
"description": "Question or analysis prompt for the image"
},
"modelId": {
"type": "number",
"description": "Optional. Omit for default model."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"imageBase64": {
"type": "string",
"description": "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)."
}
}
}
}Generate text using frontier AI language models. Pure per-character pricing (no minimum): Kimi K3 (best, ~10 chars/sat, 1M context, default), GPT-OSS-120B (standard, ~1000 chars/sat, 119 languages, best value). Rates 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 | Description |
|---|---|---|
| prompt * | string | The text prompt or question |
| modelId | number | Optional. Omit to run the model this payment was created for. |
| fileName | string | Name of the attached file |
| maxTokens | number | Max tokens in response |
| paymentId * | string | Valid payment ID (must be paid) |
| fileContext | string | Extracted file text to include as context |
| imageBase64 | string | Base64 data URI for vision analysis (best model only) |
| systemPrompt | string | Optional system prompt |
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 | Description |
|---|---|---|
| lyrics | string | 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 instrum… |
| prompt * | string | 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 | Optional. Omit for default model. |
| duration | integer | Song length in seconds, 15-300. THE PRICE (5 sats/second) — must match the duration sent to create_payment. Default: 15 |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
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'.
Schema too large to show here (42,154 characters).
{
"name": "text_to_speech",
"description": "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'.",
"inputSchema": {
"truncated": true,
"chars": 42154
}
}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 | Description |
|---|---|---|
| names | array | 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 ordinar… |
| diarize | boolean | 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'. |
| language | string | 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. |
| paymentId * | string | Valid payment ID (must be paid) |
| timestamps |
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 | Description |
|---|---|---|
| names | array | 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 ordinar… |
| paymentId * | string | Valid payment ID (must be paid) |
| audioBase64 * | string | Base64-encoded audio file |
| sourceLanguage | string | 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-detec… |
| targetLanguage * | string | Target language — English name (e.g. 'Spanish') or ISO-639 code (e.g. 'es', 'en-US'). 119 languages supported. |
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 | Description |
|---|---|---|
| fileName | string | Optional original filename, used to name the download. |
| paymentId * | string | Valid payment ID (must be paid) |
| epubBase64 * | string | Base64-encoded EPUB (max 50 MB) |
| sourceLanguage | string | Optional source-language hint. Omit to let the model read it from the text. |
| targetLanguage * | string | Target language — English name (e.g. 'Spanish') or ISO-639 code (e.g. 'es'). Must equal the targetLanguage the payment was quoted with. |
{
"name": "translate_epub",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"epubBase64",
"targetLanguage"
],
"properties": {
"fileName": {
"type": "string",
"description": "Optional original filename, used to name the download."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"epubBase64": {
"type": "string",
"description": "Base64-encoded EPUB (max 50 MB)"
},
"sourceLanguage": {
"type": "string",
"description": "Optional source-language hint. Omit to let the model read it from the text."
},
"targetLanguage": {
"type": "string",
"description": "Target language — English name (e.g. 'Spanish') or ISO-639 code (e.g. 'es'). Must equal the targetLanguage the payment was quoted with."
}
}
}
}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 | Description |
|---|---|---|
| prompt | string | Text description for text-to-3D (max 1024 chars). Provide EITHER this OR imageBase64, not both. |
| modelId | number | Optional. Omit for default model. |
| paymentId * | string | Valid payment ID (must be paid) |
| imageBase64 | string | Base64 encoded image (PNG, JPEG, or WEBP) for image-to-3D. Provide EITHER this OR prompt, not both. |
{
"name": "generate_3d_model",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId"
],
"properties": {
"prompt": {
"type": "string",
"description": "Text description for text-to-3D (max 1024 chars). Provide EITHER this OR imageBase64, not both."
},
"modelId": {
"type": "number",
"description": "Optional. Omit for default model."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"imageBase64": {
"type": "string",
"description": "Base64 encoded image (PNG, JPEG, or WEBP) for image-to-3D. Provide EITHER this OR prompt, not both."
}
}
}
}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 | Description |
|---|---|---|
| modelId | number | Optional. Omit for default model. |
| paymentId * | string | Valid payment ID (must be paid) |
| documentBase64 * | string | Base64 encoded PDF or image |
{
"name": "extract_document",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"documentBase64"
],
"properties": {
"modelId": {
"type": "number",
"description": "Optional. Omit for default model."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"documentBase64": {
"type": "string",
"description": "Base64 encoded PDF or image"
}
}
}
}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 | Description |
|---|---|---|
| fileUrl | string | Public URL to the file (provide this OR fileBase64) |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| fileBase64 | string | Base64-encoded file (provide this OR fileUrl) |
| extensionTo * | string | Target format without dot (e.g., 'pdf', 'docx') |
| extensionFrom * | string | Source format without dot (e.g., 'pdf', 'docx') |
{
"name": "convert_file",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"extensionFrom",
"extensionTo"
],
"properties": {
"fileUrl": {
"type": "string",
"description": "Public URL to the file (provide this OR fileBase64)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"fileBase64": {
"type": "string",
"description": "Base64-encoded file (provide this OR fileUrl)"
},
"extensionTo": {
"type": "string",
"description": "Target format without dot (e.g., 'pdf', 'docx')"
},
"extensionFrom": {
"type": "string",
"description": "Source format without dot (e.g., 'pdf', 'docx')"
}
}
}
}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 | Description |
|---|---|---|
| to * | string | Recipient email address |
| body * | string | Email body text (plain text, max 10,000 characters) |
| replyTo | string | Optional reply-to email address |
| subject * | string | Email subject (max 200 characters) |
| paymentId * | string | 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 d… |
{
"name": "send_email",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"to",
"subject",
"body"
],
"properties": {
"to": {
"type": "string",
"description": "Recipient email address"
},
"body": {
"type": "string",
"description": "Email body text (plain text, max 10,000 characters)"
},
"replyTo": {
"type": "string",
"description": "Optional reply-to email address"
},
"subject": {
"type": "string",
"description": "Email subject (max 200 characters)"
},
"paymentId": {
"type": "string",
"description": "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 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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies."
}
}
},
"annotations": {
"openWorldHint": true,
"destructiveHint": true
}
}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 | Description |
|---|---|---|
| model | string | Voice model: turbo (faster) or hd (higher quality) |
| consent * | boolean | 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). |
| accuracy | number | Text validation accuracy 0-1 (default 0.7) |
| paymentId * | string | Valid payment ID (must be paid) |
| voiceFileUrl * | string | 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. |
{
"name": "clone_voice",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"voiceFileUrl",
"consent"
],
"properties": {
"model": {
"enum": [
"speech-02-turbo",
"speech-02-hd"
],
"type": "string",
"default": "speech-02-turbo",
"description": "Voice model: turbo (faster) or hd (higher quality)"
},
"consent": {
"type": "boolean",
"description": "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)."
},
"accuracy": {
"type": "number",
"default": 0.7,
"description": "Text validation accuracy 0-1 (default 0.7)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"voiceFileUrl": {
"type": "string",
"description": "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."
}
}
}
}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 | Description |
|---|---|---|
| prompt * | string | Editing instructions describing what to change |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| resolution | string | Ignored: MAI-Image-2.6 has no resolution setting. Accepted for compatibility; every edit is 200 sats. |
| aspectRatio | string | Output aspect ratio (default: match_input_image, which keeps the input's shape) |
| imageBase64 * | string | Base64 encoded image to edit |
| outputFormat | string | Output format |
| returnBase64 | boolean | 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 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 | Description |
|---|---|---|
| files * | array | Array of base64-encoded PDF files (minimum 2) |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
{
"name": "merge_pdfs",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of base64-encoded PDF files (minimum 2)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
}
}
}
}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 | Description |
|---|---|---|
| html * | string | HTML or Markdown content to convert |
| format | string | Input format (default: html) |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
{
"name": "convert_html_to_pdf",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"html"
],
"properties": {
"html": {
"type": "string",
"description": "HTML or Markdown content to convert"
},
"format": {
"enum": [
"html",
"markdown"
],
"type": "string",
"default": "html",
"description": "Input format (default: html)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
}
}
}
}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 | Description |
|---|---|---|
| sub | string | stat: small line above the number, e.g. a year |
| left | string | versus: left value (up to 22 chars) |
| size | string | Output size (default 1920x1080) |
| text | string | quote: the quoted words (up to 30 chars) |
| items | array | list: 1-6 items, each up to 40 chars; the last revealed item is drawn in the accent colour |
| label | string | stat: caption under the number (up to 60 chars) |
| lines | array | headline: 1-3 lines, each up to 40 characters |
Translate text across 119 languages with high accuracy. 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. Language parameters accept English names ('Spanish', 'Chinese (Simplified)') or ISO-639 codes / locale tags ('es', 'en-US', 'pt-BR', 'zh-Hans'). 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, Macedonian, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Nepali, Norwegian, Occitan, Odia, Pashto, Polish, Portuguese, Punjabi, Romanian, Romansh, Russian, Samoan, Scots Gaelic, Serbian, Sesotho, Setswana, Shona, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Tigrinya, Tongan, Turkish, Turkmen, Ukrainian, Urdu, Uzbek, Vietnamese, Welsh, Wolof, Xhosa, Yiddish, Yoruba, Zulu. Pay per request with Bitcoin Lightning — no API key or signup needed. 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`.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to translate |
| modelId | number | Optional. Translation model is selected automatically. |
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; the rare-language path costs more (GPU both ways). Requires create_payment with toolName='multilingual_ask' AND the `language` you intend to use - the quote depends on it.
| Parameter | Type | Description |
|---|---|---|
| model | string | Standard | Better | Best. Best is Kimi K3 and costs materially more. Must match the create_payment quote. |
| language * | string | Language to answer in. English name ('Igbo'), ISO-639 code ('ig'), or a rare-language code ('wal'). Rejected before payment if unsupported. |
| question * | string | Your question, in your own language. Max 4000 characters. |
| paymentId * | string | Valid payment ID (must be paid), quoted for THIS language and tier. |
{
"name": "multilingual_ask",
"description": "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; the rare-language path costs more (GPU both ways). Requires create_payment with toolName='multilingual_ask' AND the `language` you intend to use - the quote depends on it.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"question",
"language"
],
"properties": {
"model": {
"type": "string",
"description": "Standard | Better | Best. Best is Kimi K3 and costs materially more. Must match the create_payment quote."
},
"language": {
"type": "string",
"description": "Language to answer in. English name ('Igbo'), ISO-639 code ('ig'), or a rare-language code ('wal'). Rejected before payment if unsupported."
},
"question": {
"type": "string",
"description": "Your question, in your own language. Max 4000 characters."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid), quoted for THIS language and tier."
}
}
}
}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 | Description |
|---|---|---|
| text * | string | Text to translate. Max 6000 characters. |
| paymentId * | string | Valid payment ID (must be paid). Price = 50 sats + 0.002/char. |
| targetLanguage * | string | MADLAD language code ('mag', 'arz', 'bho', 'hne') or English name ('Magahi', 'Egyptian Arabic'). Rejected before payment if unsupported. |
{
"name": "translate_rare_language",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"text",
"targetLanguage"
],
"properties": {
"text": {
"type": "string",
"description": "Text to translate. Max 6000 characters."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid). Price = 50 sats + 0.002/char."
},
"targetLanguage": {
"type": "string",
"description": "MADLAD language code ('mag', 'arz', 'bho', 'hne') or English name ('Magahi', 'Egyptian Arabic'). Rejected before payment if unsupported."
}
}
}
}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 | Description |
|---|---|---|
| paymentId * | string | Valid payment ID (must be paid) |
| documentBase64 * | string | 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. |
{
"name": "extract_receipt",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"documentBase64"
],
"properties": {
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"documentBase64": {
"type": "string",
"description": "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."
}
}
}
}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=<number of passes> (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 | Description |
|---|---|---|
| documents | array | Base64 boarding passes, one per file (up to 8), for a family/booking. Provide this OR documentBase64 (at least one required). |
| paymentId * | string | Valid payment ID (must be paid). Price = 100 × number of passes. |
| documentBase64 | string | 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. |
{
"name": "boardingpass_wallet",
"description": "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=<number of passes> (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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId"
],
"properties": {
"documents": {
"type": "array",
"items": {
"type": "string"
},
"description": "Base64 boarding passes, one per file (up to 8), for a family/booking. Provide this OR documentBase64 (at least one required)."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid). Price = 100 × number of passes."
},
"documentBase64": {
"type": "string",
"description": "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."
}
}
}
}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 | Description |
|---|---|---|
| note | string | Optional note shown to the signers. |
| signers * | array | 1-3 signers, each with a name and email. |
| paymentId * | string | Valid payment ID (must be paid). Price = 1000 sats flat. |
| customerEmail * | string | Your email — the signed copy is sent here once everyone has signed. |
| documentBase64 * | string | Base64-encoded PDF to be signed (a data: URI is accepted). Max 8MB. Must be a PDF. |
{
"name": "e_signature",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"documentBase64",
"signers",
"customerEmail"
],
"properties": {
"note": {
"type": "string",
"description": "Optional note shown to the signers."
},
"signers": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
}
}
},
"description": "1-3 signers, each with a name and email."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid). Price = 1000 sats flat."
},
"customerEmail": {
"type": "string",
"description": "Your email — the signed copy is sent here once everyone has signed."
},
"documentBase64": {
"type": "string",
"description": "Base64-encoded PDF to be signed (a data: URI is accepted). Max 8MB. Must be a PDF."
}
}
}
}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 | Description |
|---|---|---|
| speed | number | Speech speed 0.5-2.0 |
| voice | string | 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 … |
| modelId | number | Optional. 3 voice tiers: OmniVoice Global (602+ langs), Inworld Premium (#1 ranked), Minimax Studio (voice clone). Omit for default. |
| fileName * | string | Original filename with extension (e.g., 'mybook.epub', 'document.pdf', 'story.txt'). Required to detect format. |
| language | string | 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) ac… |
| paymentId * | string | Valid payment ID (must be paid) |
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 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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies.
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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies.
| Parameter | Type | Description |
|---|---|---|
| message | string | Text to speak via TTS; must fit prepaid minutes including the closing spoken notice (about 12 s). Provide this OR audioUrl. |
| audioUrl | string | Public URL to audio file. Provide this OR message. |
| paymentId * |
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 | Description |
|---|---|---|
| mode * | string | 'pdf' = send PDF from pdfUrl. 'text' = generate PDF from typed text. |
| text | string | Required for mode=text: message text to format as PDF |
| pages | number | Expected page count (1-350). Used for pricing. Pass same value to create_payment as 'quantity'. |
| pdfUrl | string | Required for mode=pdf: public HTTPS URL returning application/pdf |
| coverText | string | Optional cover page text (mode=pdf only, adds 1 page) |
| paymentId * | string | Valid payment ID (must be paid) |
| phoneNumber * | string |
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 | Description |
|---|---|---|
| ocr | boolean | Add OCR text extraction (+200 sats). Default: false. |
| email * | string | Email address to deliver the fax PDF to |
| paymentId * | string | Valid payment ID (must be paid) |
| fromNumber * | string | Expected sender fax number in E.164 format (matched by last 10 digits of caller ID) |
| callback_id | string | Optional opaque correlation string (max 128 chars). Echoed in the webhook body. |
| callback_url | string | Optional HTTPS webhook URL. POSTed (HMAC-signed) when fax is delivered. Public HTTPS only — no loopback/RFC1918. |
When your task hits a wall that requires a human — booking, negotiating, navigating IVR menus, getting information from a business — send an AI voice agent to handle the call. The agent follows your instructions, has a real two-way conversation, and returns a full transcript with structured analysis. 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. May return state='pending_confirm' with clarification questions if critical info is missing — call confirm_ai_call to proceed. Async — poll with check_job_status(jobType='ai-call'). Priced in sats per destination and duration — create_payment returns the exact amount before you pay. Languages: en-US, en-GB, es-ES, fr-FR, de-DE, ja-JP, zh-CN, multi. Pay with Bitcoin Lightning — no telecom account, no API key, no subscription. When NOT to use: not when you want to drive the conversation with your own LLM (use open_voice_bridge — you keep the brain, we provide PSTN/STT/TTS primitives). Not for one-shot TTS broadcasts or IVR delivery (use place_call). Not for SMS (use send_sms). Requires create_payment with toolName='ai_call', phoneNumber, and durationMinutes. The agent identifies itself as 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, 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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies.
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 | Description |
|---|---|---|
| answers | object | Key-value answers to the push-back questions (keys are the question strings, values are your answers). Omit to confirm the task as-is. |
| sessionId * | string | Session ID from the ai_call response |
{
"name": "confirm_ai_call",
"description": "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').",
"inputSchema": {
"type": "object",
"required": [
"sessionId"
],
"properties": {
"answers": {
"type": "object",
"description": "Key-value answers to the push-back questions (keys are the question strings, values are your answers). Omit to confirm the task as-is.",
"additionalProperties": {
"type": "string"
}
},
"sessionId": {
"type": "string",
"description": "Session ID from the ai_call response"
}
}
},
"annotations": {
"openWorldHint": true
}
}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. You 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 of ours pass before your reply starts to play (we recognise the end of their turn, then speech starts under a second after you send the text), 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, navigating a voice-driven IVR (keypad tones are not supported yet), reading something out, a slow exchange where a pause is fine. For a real conversation with a human, use ai_call — we run the agent at conversational speed and return the transcript. Unused deposit time is refunded automatically when the call ends — including when the callee hangs up. Pass refundAddress (a Lightning address your user gave you; never invent one) and the remainder is SENT there with no further action; without it the refund is held as a claimable LNURL-withdraw link returned by end_voice_bridge. Use this when the content of the call must never leave your side, and the pace can tolerate a pause between turns. When NOT to use: not for fully-managed agent-style calls where we handle the brain (use ai_call). Not for one-shot TTS broadcasts or IVR playback (use place_call). Not when live transcript polling adds no value — the per-turn overhead isn't worth it. Privacy: transcripts held in memory only, garbage-collected 30 minutes after the call ends; call audio is never persisted. Pay with Bitcoin Lightning — no telecom account, no signup. 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.
| Parameter | Type | Description |
|---|---|---|
| codec | string | PCMU 8kHz (default, universal) or L16_16000 for HD voice when both endpoints support it |
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 | Description |
|---|---|---|
| text | string | 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. |
| encoding | string | Encoding of audioBase64. mp3/opus require ffmpeg (not yet wired in MVP). |
| language | string | Language override for this utterance (default: session language) |
| sessionId * | string | Session ID from open_voice_bridge |
| audioBase64 | string | Pre-rendered audio bytes, base64 (mode 2). Use with 'encoding'. |
| voiceDescription | string | 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 the… |
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 | Description |
|---|---|---|
| cursor | number | Last seq number seen (default 0 = start from beginning) |
| waitMs | number | 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 | 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. |
| sessionId * | string | Session ID from open_voice_bridge |
{
"name": "poll_voice_bridge",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"sessionId"
],
"properties": {
"cursor": {
"type": "number",
"description": "Last seq number seen (default 0 = start from beginning)"
},
"waitMs": {
"type": "number",
"description": "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 0 = return immediately."
},
"quietMs": {
"type": "number",
"description": "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."
},
"sessionId": {
"type": "string",
"description": "Session ID from open_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 | Description |
|---|---|---|
| sessionId * | string | Session ID from open_voice_bridge |
{
"name": "end_voice_bridge",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"sessionId"
],
"properties": {
"sessionId": {
"type": "string",
"description": "Session ID from open_voice_bridge"
}
}
}
}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 | Description |
|---|---|---|
| category | string | Filter by service category (matches tool names) |
{
"name": "list_models",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"category": {
"enum": [
"generate_text",
"generate_image",
"generate_video",
"animate_image",
"generate_music",
"text_to_speech",
"transcribe_audio",
"analyze_image",
"generate_3d_model",
"extract_document",
"convert_file",
"send_sms",
"place_call",
"ai_call",
"send_email",
"clone_voice",
"edit_image",
"merge_pdfs",
"convert_html_to_pdf",
"render_card",
"translate_text",
"extract_receipt",
"epub_to_audiobook",
"remove_background",
"upscale_image",
"restore_face",
"detect_nsfw",
"detect_objects",
"remove_object",
"colorize_image",
"deblur_image",
"estimate_depth"
],
"type": "string",
"description": "Filter by service category (matches tool names)"
}
}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}Get pricing for a specific model by ID. No payment required.
| Parameter | Type | Description |
|---|---|---|
| modelId * | ["number","string"] | The AI model database ID from list_models. A numeric string ("16") is accepted and coerced. |
{
"name": "get_model_pricing",
"description": "Get pricing for a specific model by ID. No payment required.",
"inputSchema": {
"type": "object",
"required": [
"modelId"
],
"properties": {
"modelId": {
"type": [
"number",
"string"
],
"description": "The AI model database ID from list_models. A numeric string (\"16\") is accepted and coerced."
}
}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}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 | Description |
|---|---|---|
| chars | number | Character count — required for TTS and translate |
| model | string | Optional model id for services with multiple tiers |
| pages | number | Page count — for OCR (default 1) |
| minutes | number | Audio length — required for transcribe-audio |
| seconds | number | Video duration — required for video / video-from-image |
| service | string | Service id (e.g. 'text-to-speech', 'translate', 'image', 'video', 'transcribe-audio', 'ocr'). Omit to list all services. |
{
"name": "get_cost_estimate",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"chars": {
"type": "number",
"description": "Character count — required for TTS and translate"
},
"model": {
"type": "string",
"description": "Optional model id for services with multiple tiers"
},
"pages": {
"type": "number",
"description": "Page count — for OCR (default 1)"
},
"minutes": {
"type": "number",
"description": "Audio length — required for transcribe-audio"
},
"seconds": {
"type": "number",
"description": "Video duration — required for video / video-from-image"
},
"service": {
"type": "string",
"description": "Service id (e.g. 'text-to-speech', 'translate', 'image', 'video', 'transcribe-audio', 'ocr'). Omit to list all services."
}
}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}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.
{
"name": "get_error_codes",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}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 | Description |
|---|---|---|
| string | Optional email address for follow-up | |
| invoice * | string | Lightning address (e.g., user@wallet.com) or bolt11 invoice for the refund |
| feedback | string | Optional description of what went wrong (max 2000 chars) |
| paymentId * | string | The payment ID from a failed service call |
{
"name": "request_refund",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"invoice"
],
"properties": {
"email": {
"type": "string",
"description": "Optional email address for follow-up"
},
"invoice": {
"type": "string",
"description": "Lightning address (e.g., user@wallet.com) or bolt11 invoice for the refund"
},
"feedback": {
"type": "string",
"description": "Optional description of what went wrong (max 2000 chars)"
},
"paymentId": {
"type": "string",
"description": "The payment ID from a failed service call"
}
}
}
}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 | Description |
|---|---|---|
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 * | string | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
{
"name": "remove_background",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image (PNG, JPEG, WEBP) or data URI"
}
}
}
}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 | Description |
|---|---|---|
| scale | string | Upscale factor: 2x or 4x (default 4x) |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 * | string | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| face_enhance | boolean | Apply face enhancement during upscaling (default false) |
{
"name": "upscale_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"scale": {
"enum": [
"2",
"4"
],
"type": "string",
"description": "Upscale factor: 2x or 4x (default 4x)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image (PNG, JPEG, WEBP) or data URI"
},
"face_enhance": {
"type": "boolean",
"description": "Apply face enhancement during upscaling (default false)"
}
}
}
}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 | Description |
|---|---|---|
| upscale | number | Output upscale factor 1-4 (default 1) |
| fidelity | number | Fidelity to input: 0.0 = max quality enhancement, 1.0 = max identity preservation (default 0.5) |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 * | string | Base64-encoded image containing faces (PNG, JPEG, WEBP) or data URI |
| face_upsample | boolean | Upsample restored faces (default true) |
| background_enhance | boolean | Also enhance the background (default false) |
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 | Description |
|---|---|---|
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| model_size | string | Model size — larger is more accurate, price is the same (default Large) |
| imageBase64 * | string | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
{
"name": "estimate_depth",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"model_size": {
"enum": [
"Small",
"Base",
"Large"
],
"type": "string",
"description": "Model size — larger is more accurate, price is the same (default Large)"
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image (PNG, JPEG, WEBP) or data URI"
}
}
}
}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 | Description |
|---|---|---|
| paymentId * | string | Valid payment ID (must be paid) |
| imageBase64 * | string | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
{
"name": "detect_nsfw",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image (PNG, JPEG, WEBP) or data URI"
}
}
}
}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 | Description |
|---|---|---|
| query * | string | Comma-separated object names to detect (e.g. 'cat, dog, person') |
| paymentId * | string | Valid payment ID (must be paid) |
| imageBase64 * | string | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| box_threshold | number | Confidence threshold for detection boxes (0-1, default 0.25) |
| text_threshold | number | Confidence threshold for text matching (0-1, default 0.25) |
{
"name": "detect_objects",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Comma-separated object names to detect (e.g. 'cat, dog, person')"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image (PNG, JPEG, WEBP) or data URI"
},
"box_threshold": {
"type": "number",
"description": "Confidence threshold for detection boxes (0-1, default 0.25)"
},
"text_threshold": {
"type": "number",
"description": "Confidence threshold for text matching (0-1, default 0.25)"
}
}
}
}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 | Description |
|---|---|---|
| query * | string | What to remove (e.g. 'person', 'car', 'watermark', 'text') |
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| imageBase64 * | string | Base64-encoded image (PNG, JPEG, WEBP) or data URI |
| box_threshold | number | Detection confidence threshold (0-1, default 0.25) |
| text_threshold | number | Text matching threshold (0-1, default 0.25) |
{
"name": "remove_object",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "What to remove (e.g. 'person', 'car', 'watermark', 'text')"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image (PNG, JPEG, WEBP) or data URI"
},
"box_threshold": {
"type": "number",
"description": "Detection confidence threshold (0-1, default 0.25)"
},
"text_threshold": {
"type": "number",
"description": "Text matching threshold (0-1, default 0.25)"
}
}
}
}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 | Description |
|---|---|---|
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| model_size | string | Model variant: 'large' (best quality) or 'tiny' (faster). Default: large |
| imageBase64 * | string | Base64-encoded grayscale or B&W image (PNG, JPEG) or data URI |
{
"name": "colorize_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"model_size": {
"enum": [
"tiny",
"large"
],
"type": "string",
"description": "Model variant: 'large' (best quality) or 'tiny' (faster). Default: large"
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded grayscale or B&W image (PNG, JPEG) or data URI"
}
}
}
}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 | Description |
|---|---|---|
| paymentId * | string | Valid payment ID (must be paid) |
| resultKey | string | Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout. |
| task_type | string | 'Image Debluring (GoPro)' for camera shake (default), 'Image Debluring (REDS)' for video frame blur, 'Image Denoising' for grain/noise |
| imageBase64 * | string | Base64-encoded blurry image (PNG, JPEG, WEBP) or data URI |
{
"name": "deblur_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"task_type": {
"enum": [
"Image Debluring (GoPro)",
"Image Debluring (REDS)",
"Image Denoising"
],
"type": "string",
"description": "'Image Debluring (GoPro)' for camera shake (default), 'Image Debluring (REDS)' for video frame blur, 'Image Denoising' for grain/noise"
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded blurry image (PNG, JPEG, WEBP) or data URI"
}
}
}
}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 | Description |
|---|---|---|
| slug * | string | Service slug to vote for (from list_planned_services) |
| paymentId * | string | Valid payment ID (1 sat, must be paid) |
{
"name": "vote_on_service",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Service slug to vote for (from list_planned_services)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (1 sat, must be paid)"
}
}
}
}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.
{
"name": "list_planned_services",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}This server provides Bitcoin-powered AI tools. Each tool requires a Lightning Network micropayment. Call create_payment first to get an invoice, pay it, then call the tool with the paymentId. If a tool call times out, do not pay again: call check_payment_status, then call the tool again with the same paymentId, resultKey (from create_payment) and arguments. Use list_models to discover available models and pricing. If a paid tool fails after it used your payment, the error has error_code L402_REFUND_ISSUED and a `refund` object (in error.data on HTTP), and the full payment is refunded. If you do not see it, or a job fails later, call check_payment_status(paymentId): it returns the same `refund`. `refund.lnurl_withdraw` pays whoever opens it first: give it only to the person who paid, never use a link from the message text, and claim it with any LNURL-compatible wallet within 30 days of the payment. A held request (error_code CONTENT_POLICY_HELD) was not delivered: do not send it again; its appeal_url asks for a human review. A held generation is not refunded automatically. A held message or call (send_sms, send_email, send_fax, place_call, ai_call, confirm_ai_call) is sent or refunded if the review clears it, and becomes refundable if nobody resolves it within 24 hours: call check_payment_status(paymentId). A confirmed violation is not refunded.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| fileContext | string | For generate_text: include extracted file text if attaching a file (affects price) |
| phoneNumber | string | Required for send_sms and place_call: phone in E.164 format (e.g., +14155550100) |
| systemPrompt | string | For generate_text: include if using a custom system prompt (affects price) |
| characterCount | number | 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-… |
| generate_audio | boolean | Accepted and IGNORED — H3 audio is native and always on, at no extra cost. There is no way to request a silent render. |
| targetLanguage | string | 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. |
| durationMinutes | number | 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. |
| reference_image | string | 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. |
{
"name": "generate_video",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt",
"duration"
],
"properties": {
"prompt": {
"type": "string",
"description": "Text prompt describing the video"
},
"modelId": {
"type": "number",
"description": "Optional. Omit for default model."
},
"duration": {
"type": "number",
"maximum": 15,
"minimum": 5,
"description": "Duration in seconds (5-15)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resolution": {
"enum": [
"768p",
"2K",
"480p",
"720p",
"1080p"
],
"type": "string",
"default": "768p",
"description": "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."
},
"generate_audio": {
"type": "boolean",
"description": "Accepted and IGNORED — H3 audio is native and always on, at no extra cost. There is no way to request a silent render."
},
"reference_audio": {
"type": "string",
"description": "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 and pass one slice per shot. Free: does not change the price."
},
"reference_image": {
"type": "string",
"description": "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."
}
}
}
}{
"name": "get_job_result",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"requestId",
"jobType"
],
"properties": {
"jobType": {
"enum": [
"video",
"video-image",
"video-fal-standard",
"video-fal-pro",
"image-3d",
"transcription",
"transcribe-translate",
"translate-epub",
"epub-audiobook",
"ai-call"
],
"type": "string",
"description": "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 at capacity."
},
"paymentId": {
"type": "string",
"description": "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)."
},
"requestId": {
"type": "string",
"description": "The requestId returned by the original async tool — same ID used with check_job_status"
}
}
},
"annotations": {
"readOnlyHint": true,
"idempotentHint": true
}
}{
"name": "generate_text",
"description": "Generate text using frontier AI language models. Pure per-character pricing (no minimum): Kimi K3 (best, ~10 chars/sat, 1M context, default), GPT-OSS-120B (standard, ~1000 chars/sat, 119 languages, best value). Rates 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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "The text prompt or question"
},
"modelId": {
"type": "number",
"description": "Optional. Omit to run the model this payment was created for."
},
"fileName": {
"type": "string",
"description": "Name of the attached file"
},
"maxTokens": {
"type": "number",
"default": 16384,
"description": "Max tokens in response"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"fileContext": {
"type": "string",
"description": "Extracted file text to include as context"
},
"imageBase64": {
"type": "string",
"description": "Base64 data URI for vision analysis (best model only)"
},
"systemPrompt": {
"type": "string",
"description": "Optional system prompt"
}
}
}
}| lyricsAbout | string | Optional, with lyricsAddon: what the lyrics should be about. Omit and the subject is inferred from your music prompt. |
| lyricsAddon | boolean | 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. |
{
"name": "generate_music",
"description": "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).",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt"
],
"properties": {
"lyrics": {
"type": "string",
"description": "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 instrumental."
},
"prompt": {
"type": "string",
"description": "Music style with BPM, key, genre, mood, instruments (up to 2,000 chars). Example: 'E minor, 90 BPM, acoustic guitar ballad, male vocal'"
},
"modelId": {
"type": "number",
"description": "Optional. Omit for default model."
},
"duration": {
"type": "integer",
"description": "Song length in seconds, 15-300. THE PRICE (5 sats/second) — must match the duration sent to create_payment. Default: 15"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"lyricsAbout": {
"type": "string",
"description": "Optional, with lyricsAddon: what the lyrics should be about. Omit and the subject is inferred from your music prompt."
},
"lyricsAddon": {
"type": "boolean",
"description": "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."
}
}
}
}| string |
| 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). |
| audioBase64 * | string | Base64 encoded audio file |
| callback_id | string | Optional correlation string echoed back in the webhook body. Max 128 chars. |
| callback_url | string | Optional HTTPS webhook we POST when the job finishes (HMAC-signed). Polling still works. |
{
"name": "transcribe_audio",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"audioBase64"
],
"properties": {
"names": {
"type": "array",
"items": {
"type": "string"
},
"description": "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 ordinary word can replace that word in the transcript (\"Noone\" for \"noon\"). If the model refuses the list, you still get the transcript, without it, and result.degraded includes \"names\"."
},
"diarize": {
"type": "boolean",
"description": "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'."
},
"language": {
"type": "string",
"description": "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."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"timestamps": {
"enum": [
"none",
"segment",
"word"
],
"type": "string",
"description": "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)."
},
"audioBase64": {
"type": "string",
"description": "Base64 encoded audio file"
},
"callback_id": {
"type": "string",
"description": "Optional correlation string echoed back in the webhook body. Max 128 chars."
},
"callback_url": {
"type": "string",
"description": "Optional HTTPS webhook we POST when the job finishes (HMAC-signed). Polling still works."
}
}
}
}{
"name": "transcribe_translate",
"description": "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).",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"audioBase64",
"targetLanguage"
],
"properties": {
"names": {
"type": "array",
"items": {
"type": "string"
},
"description": "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 ordinary word can replace that word in the transcript (\"Noone\" for \"noon\"). If the model refuses the list, you still get the transcript, without it, and result.degraded includes \"names\"."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"audioBase64": {
"type": "string",
"description": "Base64-encoded audio file"
},
"sourceLanguage": {
"type": "string",
"description": "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-detect and verify the transcript before trusting the translation."
},
"targetLanguage": {
"type": "string",
"description": "Target language — English name (e.g. 'Spanish') or ISO-639 code (e.g. 'es', 'en-US'). 119 languages supported."
}
}
}
}{
"name": "edit_image",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"prompt",
"imageBase64"
],
"properties": {
"prompt": {
"type": "string",
"description": "Editing instructions describing what to change"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"resolution": {
"enum": [
"1K",
"2K",
"4K"
],
"type": "string",
"default": "1K",
"description": "Ignored: MAI-Image-2.6 has no resolution setting. Accepted for compatibility; every edit is 200 sats."
},
"aspectRatio": {
"enum": [
"match_input_image",
"auto",
"1:1",
"4:3",
"3:4",
"16:9",
"9:16",
"3:2",
"2:3"
],
"type": "string",
"default": "match_input_image",
"description": "Output aspect ratio (default: match_input_image, which keeps the input's shape)"
},
"imageBase64": {
"type": "string",
"description": "Base64 encoded image to edit"
},
"outputFormat": {
"enum": [
"jpg",
"png",
"webp"
],
"type": "string",
"default": "jpg",
"description": "Output format"
},
"returnBase64": {
"type": "boolean",
"default": false,
"description": "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."
}
}
}
}| right | string | versus: right value, drawn in the accent colour |
| theme | object | Optional hex colours: background, foreground, accent, muted (default: near-black ground, Bitcoin-orange accent) |
| title | string | list: small caps title (up to 40 chars) |
| value | string | stat: the big number (up to 12 chars), e.g. '34 Md $' |
| format | string | Output format (default png) |
| source | string | quote: attribution line (up to 60 chars) |
| variant * | string | Card layout |
| revealed | integer | list: how many items are shown (default all) — render 1..N for a beat-by-beat reveal |
| paymentId * | string | Valid payment ID (must be paid) |
| left_label | string | versus: small label over the left value (up to 28 chars) |
| show_right | boolean | versus: false renders the left column only (first beat of a two-state reveal) |
| accent_line | integer | headline: index of the line drawn in the accent colour |
| right_label | string | versus: small label over the right value |
{
"name": "render_card",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"variant"
],
"properties": {
"sub": {
"type": "string",
"description": "stat: small line above the number, e.g. a year"
},
"left": {
"type": "string",
"description": "versus: left value (up to 22 chars)"
},
"size": {
"enum": [
"1920x1080",
"2560x1440"
],
"type": "string",
"default": "1920x1080",
"description": "Output size (default 1920x1080)"
},
"text": {
"type": "string",
"description": "quote: the quoted words (up to 30 chars)"
},
"items": {
"type": "array",
"items": {
"type": "string"
},
"description": "list: 1-6 items, each up to 40 chars; the last revealed item is drawn in the accent colour"
},
"label": {
"type": "string",
"description": "stat: caption under the number (up to 60 chars)"
},
"lines": {
"type": "array",
"items": {
"type": "string"
},
"description": "headline: 1-3 lines, each up to 40 characters"
},
"right": {
"type": "string",
"description": "versus: right value, drawn in the accent colour"
},
"theme": {
"type": "object",
"properties": {
"muted": {
"type": "string"
},
"accent": {
"type": "string"
},
"background": {
"type": "string"
},
"foreground": {
"type": "string"
}
},
"description": "Optional hex colours: background, foreground, accent, muted (default: near-black ground, Bitcoin-orange accent)"
},
"title": {
"type": "string",
"description": "list: small caps title (up to 40 chars)"
},
"value": {
"type": "string",
"description": "stat: the big number (up to 12 chars), e.g. '34 Md $'"
},
"format": {
"enum": [
"png",
"jpg"
],
"type": "string",
"default": "png",
"description": "Output format (default png)"
},
"source": {
"type": "string",
"description": "quote: attribution line (up to 60 chars)"
},
"variant": {
"enum": [
"headline",
"versus",
"list",
"stat",
"quote"
],
"type": "string",
"description": "Card layout"
},
"revealed": {
"type": "integer",
"description": "list: how many items are shown (default all) — render 1..N for a beat-by-beat reveal"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"left_label": {
"type": "string",
"description": "versus: small label over the left value (up to 28 chars)"
},
"show_right": {
"type": "boolean",
"description": "versus: false renders the left column only (first beat of a two-state reveal)"
},
"accent_line": {
"type": "integer",
"description": "headline: index of the line drawn in the accent colour"
},
"right_label": {
"type": "string",
"description": "versus: small label over the right value"
}
}
}
}| paymentId * | string | Valid payment ID (must be paid) |
| sourceLanguage | string | 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. |
| targetLanguage * | string | 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. |
{
"name": "translate_text",
"description": "Translate text across 119 languages with high accuracy. 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. Language parameters accept English names ('Spanish', 'Chinese (Simplified)') or ISO-639 codes / locale tags ('es', 'en-US', 'pt-BR', 'zh-Hans'). 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, Macedonian, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Nepali, Norwegian, Occitan, Odia, Pashto, Polish, Portuguese, Punjabi, Romanian, Romansh, Russian, Samoan, Scots Gaelic, Serbian, Sesotho, Setswana, Shona, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Tigrinya, Tongan, Turkish, Turkmen, Ukrainian, Urdu, Uzbek, Vietnamese, Welsh, Wolof, Xhosa, Yiddish, Yoruba, Zulu. Pay per request with Bitcoin Lightning — no API key or signup needed. 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`.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"text",
"targetLanguage"
],
"properties": {
"text": {
"type": "string",
"description": "Text to translate"
},
"modelId": {
"type": "number",
"description": "Optional. Translation model is selected automatically."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"sourceLanguage": {
"type": "string",
"description": "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."
},
"targetLanguage": {
"type": "string",
"description": "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."
}
}
}
}| epubBase64 * | string | Base64-encoded book file (EPUB, PDF, or TXT) |
| translateToLanguage | string | 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. |
| selectedChapterIndices | array | 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. |
{
"name": "epub_to_audiobook",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"epubBase64",
"fileName"
],
"properties": {
"speed": {
"type": "number",
"default": 1,
"description": "Speech speed 0.5-2.0"
},
"voice": {
"type": "string",
"description": "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 voice design instead: 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. Omit it for OmniVoice's default voice. Any other word is refused, and the payment stays unused."
},
"modelId": {
"type": "number",
"description": "Optional. 3 voice tiers: OmniVoice Global (602+ langs), Inworld Premium (#1 ranked), Minimax Studio (voice clone). Omit for default."
},
"fileName": {
"type": "string",
"description": "Original filename with extension (e.g., 'mybook.epub', 'document.pdf', 'story.txt'). Required to detect format."
},
"language": {
"type": "string",
"default": "English",
"description": "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) accent with no error. translateToLanguage is different: it is checked against the voice tier BEFORE payment, and a tier that cannot speak the target is refused with the tier that can."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"epubBase64": {
"type": "string",
"description": "Base64-encoded book file (EPUB, PDF, or TXT)"
},
"translateToLanguage": {
"type": "string",
"description": "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."
},
"selectedChapterIndices": {
"type": "array",
"items": {
"type": "number"
},
"description": "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."
}
}
}
}| Parameter | Type | Description |
|---|---|---|
| message * | string | Message text (max 1544 chars — a short signature line is appended; billed per SMS segment) |
| paymentId * | string | Valid payment ID (must be paid) |
| phoneNumber * | string | 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. |
{
"name": "send_sms",
"description": "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 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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"phoneNumber",
"message"
],
"properties": {
"message": {
"type": "string",
"description": "Message text (max 1544 chars — a short signature line is appended; billed per SMS segment)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"phoneNumber": {
"type": "string",
"description": "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."
}
}
},
"annotations": {
"openWorldHint": true,
"destructiveHint": true
}
}| string |
| Valid payment ID (must be paid) |
| phoneNumber * | string | Phone number in E.164 format (e.g., +14155550100) |
| durationMinutes | number | Duration in minutes (1-30). Required for audioUrl. |
{
"name": "place_call",
"description": "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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"phoneNumber"
],
"properties": {
"message": {
"type": "string",
"description": "Text to speak via TTS; must fit prepaid minutes including the closing spoken notice (about 12 s). Provide this OR audioUrl."
},
"audioUrl": {
"type": "string",
"description": "Public URL to audio file. Provide this OR message."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"phoneNumber": {
"type": "string",
"description": "Phone number in E.164 format (e.g., +14155550100)"
},
"durationMinutes": {
"type": "number",
"description": "Duration in minutes (1-30). Required for audioUrl."
}
}
},
"annotations": {
"openWorldHint": true,
"destructiveHint": true
}
}| Destination fax number in E.164 format (e.g. +14155550100) |
{
"name": "send_fax",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"phoneNumber",
"mode"
],
"properties": {
"mode": {
"enum": [
"pdf",
"text"
],
"type": "string",
"description": "'pdf' = send PDF from pdfUrl. 'text' = generate PDF from typed text."
},
"text": {
"type": "string",
"description": "Required for mode=text: message text to format as PDF"
},
"pages": {
"type": "number",
"description": "Expected page count (1-350). Used for pricing. Pass same value to create_payment as 'quantity'."
},
"pdfUrl": {
"type": "string",
"description": "Required for mode=pdf: public HTTPS URL returning application/pdf"
},
"coverText": {
"type": "string",
"description": "Optional cover page text (mode=pdf only, adds 1 page)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"phoneNumber": {
"type": "string",
"description": "Destination fax number in E.164 format (e.g. +14155550100)"
}
}
},
"annotations": {
"openWorldHint": true,
"destructiveHint": true
}
}{
"name": "receive_fax",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"email",
"fromNumber"
],
"properties": {
"ocr": {
"type": "boolean",
"description": "Add OCR text extraction (+200 sats). Default: false."
},
"email": {
"type": "string",
"description": "Email address to deliver the fax PDF to"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"fromNumber": {
"type": "string",
"description": "Expected sender fax number in E.164 format (matched by last 10 digits of caller ID)"
},
"callback_id": {
"type": "string",
"description": "Optional opaque correlation string (max 128 chars). Echoed in the webhook body."
},
"callback_url": {
"type": "string",
"description": "Optional HTTPS webhook URL. POSTed (HMAC-signed) when fax is delivered. Public HTTPS only — no loopback/RFC1918."
}
}
},
"annotations": {
"openWorldHint": true
}
}| Parameter | Type | Description |
|---|---|---|
| task * | string | Instructions for the AI agent (what to say, ask, or accomplish) |
| language | string | 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 … |
| paymentId * | string | Valid payment ID (must be paid) |
| phoneNumber * | string | Phone number in E.164 format (e.g., +14155550100) |
| beginMessage | string | Optional opening line for the agent |
| refundAddress | string | Lightning address of YOUR user (for example name@wallet.com), 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 … |
| durationMinutes | number | Max call duration 1-10 minutes (default: 3) |
{
"name": "ai_call",
"description": "When your task hits a wall that requires a human — booking, negotiating, navigating IVR menus, getting information from a business — send an AI voice agent to handle the call. The agent follows your instructions, has a real two-way conversation, and returns a full transcript with structured analysis. 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. May return state='pending_confirm' with clarification questions if critical info is missing — call confirm_ai_call to proceed. Async — poll with check_job_status(jobType='ai-call'). Priced in sats per destination and duration — create_payment returns the exact amount before you pay. Languages: en-US, en-GB, es-ES, fr-FR, de-DE, ja-JP, zh-CN, multi. Pay with Bitcoin Lightning — no telecom account, no API key, no subscription. When NOT to use: not when you want to drive the conversation with your own LLM (use open_voice_bridge — you keep the brain, we provide PSTN/STT/TTS primitives). Not for one-shot TTS broadcasts or IVR delivery (use place_call). Not for SMS (use send_sms). Requires create_payment with toolName='ai_call', phoneNumber, and durationMinutes. The agent identifies itself as 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, 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. Recent message text and extracts of recording transcripts support recipient-scoped abuse checks for 24 hours. These context records are deleted hourly, so storage can last up to 25 hours. Original uploaded-call transcripts and raw held-request or appeal evidence enter cleanup after 30 days. We also keep a de-identified record of screened communications to measure and improve fraud detection. Identifiers in it — contact addresses, numbers and names that follow a greeting — are replaced with one-way tokens, and it holds no destination number and no account, because the service has none. De-identification is not anonymization: text a sender wrote can still identify someone. Do not submit personal information the service does not need. Providers keep records under their own policies.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"phoneNumber",
"task"
],
"properties": {
"task": {
"type": "string",
"description": "Instructions for the AI agent (what to say, ask, or accomplish)"
},
"language": {
"enum": [
"en-US",
"en-GB",
"es-ES",
"fr-FR",
"de-DE",
"ja-JP",
"zh-CN",
"multi"
],
"type": "string",
"description": "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 (Canada, Belgium, Switzerland, Singapore) and unknown countries default to en-US — override explicitly when you need a non-English language in those regions. Voice is auto-selected per language."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"phoneNumber": {
"type": "string",
"description": "Phone number in E.164 format (e.g., +14155550100)"
},
"beginMessage": {
"type": "string",
"description": "Optional opening line for the agent"
},
"refundAddress": {
"type": "string",
"description": "Lightning address of YOUR user (for example name@wallet.com), 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 an LNURL-withdraw link."
},
"durationMinutes": {
"type": "number",
"description": "Max call duration 1-10 minutes (default: 3)"
}
}
},
"annotations": {
"openWorldHint": true,
"destructiveHint": true
}
}| filler | string | 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.… |
| greeting | string | 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. |
| language | string | BCP-47 language tag (default en-US). See /api/l402/voice-bridge/coverage for the matrix. |
| paymentId * | string | Valid payment ID from create_payment (toolName=voice_bridge_open) |
| sttEnabled | boolean | Default true. Set false for TTS-only broadcast calls. |
| ttsEnabled | boolean | Default true. Set false to bring-your-own-audio via voice_bridge_say. |
| phoneNumber * | string | Destination phone number in E.164 format (e.g., +14155550100) |
| refundAddress | string | Lightning address of YOUR user (for example name@wallet.com), 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 … |
| durationMinutes | number | Deposit for N minutes, 2-30 (default 3). Unused time refunded. |
{
"name": "open_voice_bridge",
"description": "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. You 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 of ours pass before your reply starts to play (we recognise the end of their turn, then speech starts under a second after you send the text), 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, navigating a voice-driven IVR (keypad tones are not supported yet), reading something out, a slow exchange where a pause is fine. For a real conversation with a human, use ai_call — we run the agent at conversational speed and return the transcript. Unused deposit time is refunded automatically when the call ends — including when the callee hangs up. Pass refundAddress (a Lightning address your user gave you; never invent one) and the remainder is SENT there with no further action; without it the refund is held as a claimable LNURL-withdraw link returned by end_voice_bridge. Use this when the content of the call must never leave your side, and the pace can tolerate a pause between turns. When NOT to use: not for fully-managed agent-style calls where we handle the brain (use ai_call). Not for one-shot TTS broadcasts or IVR playback (use place_call). Not when live transcript polling adds no value — the per-turn overhead isn't worth it. Privacy: transcripts held in memory only, garbage-collected 30 minutes after the call ends; call audio is never persisted. Pay with Bitcoin Lightning — no telecom account, no signup. 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.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"phoneNumber"
],
"properties": {
"codec": {
"enum": [
"PCMU",
"L16_16000"
],
"type": "string",
"description": "PCMU 8kHz (default, universal) or L16_16000 for HD voice when both endpoints support it"
},
"filler": {
"type": "string",
"maxLength": 60,
"description": "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. It is made while the phone rings and spoken in our default voice. It plays at most once until you speak again, the callee is not heard while it plays, and poll_voice_bridge then shows a filler_played event (do not say \"one moment\" yourself). Leave it out for a voicemail or a phone menu, where it is noise, and when you wait for long pauses (quietMs of several seconds): it would fire inside the pause and cut into their next words."
},
"greeting": {
"type": "string",
"description": "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."
},
"language": {
"type": "string",
"description": "BCP-47 language tag (default en-US). See /api/l402/voice-bridge/coverage for the matrix."
},
"paymentId": {
"type": "string",
"description": "Valid payment ID from create_payment (toolName=voice_bridge_open)"
},
"sttEnabled": {
"type": "boolean",
"description": "Default true. Set false for TTS-only broadcast calls."
},
"ttsEnabled": {
"type": "boolean",
"description": "Default true. Set false to bring-your-own-audio via voice_bridge_say."
},
"phoneNumber": {
"type": "string",
"description": "Destination phone number in E.164 format (e.g., +14155550100)"
},
"refundAddress": {
"type": "string",
"description": "Lightning address of YOUR user (for example name@wallet.com), 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 an LNURL-withdraw link."
},
"durationMinutes": {
"type": "number",
"description": "Deposit for N minutes, 2-30 (default 3). Unused time refunded."
}
}
},
"annotations": {
"openWorldHint": true
}
}{
"name": "voice_bridge_say",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"sessionId"
],
"properties": {
"text": {
"type": "string",
"description": "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."
},
"encoding": {
"enum": [
"mulaw_8000",
"pcm_l16_16000"
],
"type": "string",
"description": "Encoding of audioBase64. mp3/opus require ffmpeg (not yet wired in MVP)."
},
"language": {
"type": "string",
"description": "Language override for this utterance (default: session language)"
},
"sessionId": {
"type": "string",
"description": "Session ID from open_voice_bridge"
},
"audioBase64": {
"type": "string",
"description": "Pre-rendered audio bytes, base64 (mode 2). Use with 'encoding'."
},
"voiceDescription": {
"type": "string",
"description": "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 the line, any other word is dropped: it speaks in its default voice and the reply carries a warning. When OmniVoice was not ready at open_voice_bridge, a fallback voice speaks and ignores this field."
}
}
},
"annotations": {
"openWorldHint": true
}
}{
"name": "restore_face",
"description": "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'.",
"inputSchema": {
"type": "object",
"required": [
"paymentId",
"imageBase64"
],
"properties": {
"upscale": {
"type": "number",
"description": "Output upscale factor 1-4 (default 1)"
},
"fidelity": {
"type": "number",
"description": "Fidelity to input: 0.0 = max quality enhancement, 1.0 = max identity preservation (default 0.5)"
},
"paymentId": {
"type": "string",
"description": "Valid payment ID (must be paid)"
},
"resultKey": {
"type": "string",
"description": "Optional. The resultKey from create_payment. Send it with the same arguments to get this result again after a timeout."
},
"imageBase64": {
"type": "string",
"description": "Base64-encoded image containing faces (PNG, JPEG, WEBP) or data URI"
},
"face_upsample": {
"type": "boolean",
"description": "Upsample restored faces (default true)"
},
"background_enhance": {
"type": "boolean",
"description": "Also enhance the background (default false)"
}
}
}
}