{"name":"narrate","description":"Text → spoken audio. Quality tiers (fast / balanced / expressive) route across ElevenLabs + Cartesia. One wallet, no provider keys to broker.","tags":["tts","text-to-speech","narrate","audio","speech","voice"],"auth":["secp256k1-schnorr-v2"],"auth_audience":{"dvm_id":"b77b0d02-8422-441a-a7ed-0d72f835976e","builder_pubkey":"ff3b2baf3cc9b11faf5bbebec0b0639ceb4d87c18f4f238615853df1ad7c2b68"},"protocol_version":1,"sdk_sha":"14d450bc74c5f512352d13ae5694400e8e2e194e","deploy_id":"f5fd6acc-6476-423d-b7c3-f9d3c8ddcfb0","owner":{"handle":"dvmkit","display_name":"dvmkit","avatar_url":null,"type":"org"},"builder":{"pubkey":"ff3b2baf3cc9b11faf5bbebec0b0639ceb4d87c18f4f238615853df1ad7c2b68","attestation":{"dvm_id":"b77b0d02-8422-441a-a7ed-0d72f835976e","slug":"narrate","capabilities_hash":"29ab8828fb294c8e6e29b553103851d9fd2ec8b1c3ff058c4f97b8fa1332ad32","builder_pubkey":"ff3b2baf3cc9b11faf5bbebec0b0639ceb4d87c18f4f238615853df1ad7c2b68","receipt_pubkey":"504fdfa60ec0bd935a9dfeffc502d5c013f9969063515dcc09946c12d53c6783","deployed_at":1795274081},"signature":"0a5b4d7a043b8aecf9f8ff0bec0b17775a9e30e406665243b70887e97b39f4406ee59d4043a53c835264c05be4e7f0b79b69bb3763091466172e452b8b73ba1c"},"receipts":true,"request_recovery":true,"credit":{"balance_payment":true,"standing_mandate":true,"mandate_skipped":true,"jit_refund_park":true,"min_micro":100000,"max_micro":20000000,"ttl_ms":7776000000,"currency":"usd","funding":["cashu","x402","tempo","lightning","stripe"],"tempo":{"methods":[{"method":"tempo","intent":"session"}]},"x402":{"schemes":[{"scheme":"batch-settlement","network":"eip155:8453"}]},"lightning_min_micro":697602,"stripe":{"network_id":"profile_61VgnRtFqQLcajMW5A6VgnRtNvE92NHPeeyDjYRjkR7o","checkout":true,"min_micro":5000000,"currency":"usd"}},"mints":["https://mint.coinos.io","https://mint.lnvoltz.com"],"capabilities":{"synthesise":{"description":"Text or multi-voice dialogue → audio. Quality tiers + style + multilingual + captions + chapters; per-char pricing.","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pubkey":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Signed-request envelope: the caller's BIP-340 x-only public key (64 hex chars). Supplied automatically by `dvm request` from your CLI identity."},"signature":{"type":"string","pattern":"^[0-9a-f]{128}$","description":"Signed-request envelope: BIP-340 Schnorr signature (128 hex chars) over the canonical-JSON form of this input, minus the signature itself."},"timestamp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Signed-request envelope: Unix seconds. Must be within ±5 minutes of narrate's clock."},"nonce":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,64}$","description":"Signed-request envelope: unique per request; replayed within 10 minutes is rejected."},"quality":{"type":"string","enum":["fast","balanced","expressive"],"description":"Quality tier — the pivotal routing knob. `fast`: Cartesia Sonic. `balanced`: ElevenLabs Turbo / multilingual_v2. `expressive`: ElevenLabs v3 — unlocks style, per-turn style, and inline audio tags. Chapters are available on every tier; see output.chapters for input and output requirements. Determines provider, available features, and per-char price."},"input":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":50000,"description":"Single-voice content to synthesise. Supply exactly one of text or dialogue. Honours the `format` hint (plain / markdown)."},"dialogue":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"voice":{"type":"string","minLength":1},"text":{"type":"string","minLength":1,"maxLength":50000},"style":{"type":"string","maxLength":500},"language":{"type":"string","minLength":2,"maxLength":2}},"required":["text"]},"description":"Multi-voice conversation as an ordered list of speaker turns (each: text + optional voice / style / language). Supply exactly one of text or dialogue."},"format":{"type":"string","enum":["plain","markdown"],"description":"How to interpret the content. `plain` (default): literal text. `markdown`: strip markdown on any quality tier. With output.chapters=true, derive H1/H2 chapters from markdown monologue input; MP3 output only."},"language":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 639-1 language code. Omit to auto-detect from the content."}},"description":"The content to speak plus interpretation hints. Carries exactly one of text or dialogue."},"voice":{"type":"string","description":"Voice selection: a persona name (e.g. `narrator`) or a raw provider voice ID. Omit for the tier's default. Per-turn `dialogue[].voice` overrides this."},"style":{"type":"string","maxLength":500,"description":"Performance direction (e.g. \"warm and unhurried\"). Expressive tier only — rejected on fast / balanced."},"speaking_rate":{"type":"number","minimum":0.5,"maximum":2,"description":"Speech-rate multiplier in [0.5, 2.0]; 1.0 is the natural rate."},"output":{"type":"object","properties":{"format":{"type":"string","enum":["mp3","wav","ogg","opus"]},"normalize":{"type":"boolean"},"captions":{"anyOf":[{"type":"boolean"},{"type":"object","properties":{"format":{"type":"string","enum":["srt","vtt"]}},"required":["format"],"additionalProperties":false}]},"chapters":{"anyOf":[{"type":"boolean"},{"minItems":1,"type":"array","items":{"type":"object","properties":{"time":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":200}},"required":["time","title"],"additionalProperties":false}}],"description":"Chapter markers on any quality tier; MP3 output only. `false` (default): off. `true`: derive from H1/H2 headings in markdown monologue input. An array of { time, title } supplies explicit markers (time in seconds), including for plain text or dialogue."}},"description":"Output rendering options: audio format, loudness normalize, captions, chapters."}},"required":["quality","input"],"additionalProperties":false},"example":{"quality":"balanced","input":{"text":"hello world"}},"pricing":{"quote":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pubkey":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Signed-request envelope: the caller's BIP-340 x-only public key (64 hex chars). Supplied automatically by `dvm request` from your CLI identity."},"signature":{"type":"string","pattern":"^[0-9a-f]{128}$","description":"Signed-request envelope: BIP-340 Schnorr signature (128 hex chars) over the canonical-JSON form of this input, minus the signature itself."},"timestamp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Signed-request envelope: Unix seconds. Must be within ±5 minutes of narrate's clock."},"nonce":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,64}$","description":"Signed-request envelope: unique per request; replayed within 10 minutes is rejected."},"quality":{"type":"string","enum":["fast","balanced","expressive"],"description":"Quality tier — the pivotal routing knob. `fast`: Cartesia Sonic. `balanced`: ElevenLabs Turbo / multilingual_v2. `expressive`: ElevenLabs v3 — unlocks style, per-turn style, and inline audio tags. Chapters are available on every tier; see output.chapters for input and output requirements. Determines provider, available features, and per-char price."},"input":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":50000,"description":"Single-voice content to synthesise. Supply exactly one of text or dialogue. Honours the `format` hint (plain / markdown)."},"dialogue":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"voice":{"type":"string","minLength":1},"text":{"type":"string","minLength":1,"maxLength":50000},"style":{"type":"string","maxLength":500},"language":{"type":"string","minLength":2,"maxLength":2}},"required":["text"]},"description":"Multi-voice conversation as an ordered list of speaker turns (each: text + optional voice / style / language). Supply exactly one of text or dialogue."},"format":{"type":"string","enum":["plain","markdown"],"description":"How to interpret the content. `plain` (default): literal text. `markdown`: strip markdown on any quality tier. With output.chapters=true, derive H1/H2 chapters from markdown monologue input; MP3 output only."},"language":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 639-1 language code. Omit to auto-detect from the content."}},"description":"The content to speak plus interpretation hints. Carries exactly one of text or dialogue."},"voice":{"type":"string","description":"Voice selection: a persona name (e.g. `narrator`) or a raw provider voice ID. Omit for the tier's default. Per-turn `dialogue[].voice` overrides this."},"style":{"type":"string","maxLength":500,"description":"Performance direction (e.g. \"warm and unhurried\"). Expressive tier only — rejected on fast / balanced."},"speaking_rate":{"type":"number","minimum":0.5,"maximum":2,"description":"Speech-rate multiplier in [0.5, 2.0]; 1.0 is the natural rate."},"output":{"type":"object","properties":{"format":{"type":"string","enum":["mp3","wav","ogg","opus"]},"normalize":{"type":"boolean"},"captions":{"anyOf":[{"type":"boolean"},{"type":"object","properties":{"format":{"type":"string","enum":["srt","vtt"]}},"required":["format"],"additionalProperties":false}]},"chapters":{"anyOf":[{"type":"boolean"},{"minItems":1,"type":"array","items":{"type":"object","properties":{"time":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":200}},"required":["time","title"],"additionalProperties":false}}],"description":"Chapter markers on any quality tier; MP3 output only. `false` (default): off. `true`: derive from H1/H2 headings in markdown monologue input. An array of { time, title } supplies explicit markers (time in seconds), including for plain text or dialogue."}},"description":"Output rendering options: audio format, loudness normalize, captions, chapters."}},"required":["quality","input"],"additionalProperties":false}},"rates":[{"label":"fast","amount":"0.1","currency":"USD","per":"1,000 characters"},{"label":"balanced","amount":"0.15","currency":"USD","per":"1,000 characters"},{"label":"expressive","amount":"0.25","currency":"USD","per":"1,000 characters"}]}},"list-voices":{"description":"Query the voice catalog. Free capability — returns curated personas with provider / model / language coverage / sample URLs, filtered by language / quality / free-text query.","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pubkey":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Signed-request envelope: the caller's BIP-340 x-only public key (64 hex chars). Supplied automatically by `dvm request` from your CLI identity."},"signature":{"type":"string","pattern":"^[0-9a-f]{128}$","description":"Signed-request envelope: BIP-340 Schnorr signature (128 hex chars) over the canonical-JSON form of this input, minus the signature itself."},"timestamp":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Signed-request envelope: Unix seconds. Must be within ±5 minutes of narrate's clock."},"nonce":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,64}$","description":"Signed-request envelope: unique per request; replayed within 10 minutes is rejected."},"language":{"type":"string","minLength":2,"maxLength":2,"description":"Filter to voices supporting this ISO 639-1 language."},"quality":{"type":"string","enum":["fast","balanced","expressive"],"description":"Filter to voices available at this quality tier."},"query":{"type":"string","maxLength":200,"description":"Free-text semantic match against persona character + description."}},"additionalProperties":false},"example":{"quality":"balanced"}}},"payment":{"methods":["cashu","x402","tempo"]},"x402":{"pay_to":"0xFBb2b3101CA6B24A56436534a1849270548Db264","network":"eip155:8453","asset":"USDC","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","dual_serve":true},"tempo":{"methods":[{"method":"tempo","intent":"charge"},{"method":"tempo","intent":"session"}],"realm":"dvmkit-narrate","recipient":"0xFBb2b3101CA6B24A56436534a1849270548Db264","payment_token":"0x20C000000000000000000000b9537d11c60E8b50","chain_id":4217,"operator":"0xb77A05eA2FB3e04123D2123e9eb3f44DB697EED1","fee_token":"0x20C000000000000000000000b9537d11c60E8b50"},"cashu":{"mints":["https://mint.coinos.io","https://mint.lnvoltz.com"],"lock_pubkeys":["03f04c3a5c72c49b10c6a4cce582b148faf35e59bedb307780280596b46e1fc65c"],"lock_pubkey_grace_seconds":86400,"min_locktime":604800,"canonical_id":"b77b0d02-8422-441a-a7ed-0d72f835976e"}}