Media
speak
Convert text to lifelike speech with neural voices in 50+ languages. Generate audio at 300+ edge locations with <500ms latency and broadcast-quality output.
speak
Speak.do
Overview
The speak primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.
Semantic Pattern
All speak operations follow the semantic $.Speak.verb.Object pattern:
import { $, speak } from 'sdk.do'
// Create resources
await $.Speak.create.Resource({ /* config */ })
// Query data
await $.Speak.get.Data({ /* params */ })
// Update state
await $.Speak.update.Status({ /* changes */ })Quick Start
import { speak } from 'sdk.do'
// Initialize and use the primitive
const result = await speak.operation({
// configuration parameters
})Access Methods
The speak primitive is accessible through multiple interfaces:
SDK
TypeScript/JavaScript library for programmatic access:
import { speak } from 'sdk.do'
await speak.method({ /* ... */ })CLI
Command-line interface for terminal operations:
do speak <command> [options]API
REST/RPC endpoints for HTTP integration:
curl -X POST https://api.do/v1/speak \
-H "Content-Type: application/json" \
-d '{"key":"value"}'MCP
Model Context Protocol for AI assistant integration:
Use speak primitives with AI assistants via MCPRelated Primitives
See other primitives in the media category.