Download the PHP package lomshakov/voicekit-client without Composer
On this page you can find all versions of the php package lomshakov/voicekit-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lomshakov/voicekit-client
More information about lomshakov/voicekit-client
Files in lomshakov/voicekit-client
Package voicekit-client
Short Description Official PHP SDK for VoiceKit — Russian speech synthesis (TTS), transcription (STT) with diarization, voice cloning, voice biometrics, audio/video effects, call QA, semantic search and batch jobs.
License MIT
Homepage https://ttsapi.ru
Informations about the package voicekit-client
VoiceKit — PHP SDK
Official PHP client for VoiceKit — the REST API for Russian speech: neural speech synthesis (TTS), transcription (STT) with diarization and timestamps, sentiment analysis, voice cloning, voice biometrics, audio/video effects, call QA, semantic search over recordings and batch operations.
Links: Website · Documentation · API reference · Pricing · Blog
No runtime dependencies: PHP 8.1+ with ext-json. cURL is used when available
and the SDK falls back to PHP streams when it is not; streaming sessions use raw
sockets, so no WebSocket extension is needed either.
Install
Quick start
Configuration
VoiceKitClient::fromEnvironment('VOICEKIT_API_KEY') reads the key from the
environment, and any VoiceKit\Http\Transport implementation can replace the
built-in one (proxy, PSR-18 bridge, test double).
Error handling
Every non-2xx response becomes a VoiceKit\VoiceKitError carrying the RFC 7807
code; network failures carry a message and no status:
Features
| Area | Methods |
|---|---|
| Synthesis | synthesize, synthesizeStream, synthesizeAsync, getSynthesisJob, downloadSynthesisAudio |
| Voices | voices, voice, createCloneVoice, listCloneVoices, getCloneVoice, deleteCloneVoice |
| Transcription | transcribe, transcribeSync, getTranscriptionJob, subtitles, translateTranscript, vad |
| Analysis | analyze, analyzeSync, getAnalysisJob, evaluate |
| Text intelligence | detectLanguage, redact, topics, summarize, moderate |
| Effects | applyAudioEffects, applyVideoEffects, cleanAudio + job/status/download helpers |
| Voice ID | analyzeVoice, enrollVoice, verifyVoice, identifyVoice, listVoiceProfiles, deleteVoiceProfile |
| Recordings | listRecordings, getRecording, recordingTranscript, recordingSpeakers, updateRecording, updateSpeaker, recordingFromLink, exportRecording, downloadRecordingAudio, share links |
| Call QA | qaEvaluate, qaAnalytics, qaEvaluations, qaExport |
| Search | search, ask, meetingProtocol |
| Batch / account | batchSynthesize, batchAnalyze, getBatch, usage, billingBalance |
| Streaming | transcribeStream, vadStream (WebSocket, Pro/Business) |
Streaming synthesis (Pro/Business)
Audio effects (Free/Basic/Pro/Business)
Audio cleaning (Free/Basic/Pro/Business)
Voice ID (Pro/Business)
Recordings, QA & meeting intelligence (Pro/Business)
WebSocket streaming (Pro/Business)
Batches
Dynamic responses
The API evolves, so JSON answers come back as VoiceKit\Result — an array-backed
object with typed accessors. Nested objects are wrapped too, and array access
works as usual:
Result implements ArrayAccess, Countable, IteratorAggregate and
JsonSerializable; toArray() returns the untouched payload.
Calling endpoints the SDK does not wrap yet
Requirements
| PHP | ext-json |
ext-curl |
ext-openssl |
|---|---|---|---|
| 8.1+ | required | recommended (falls back to streams) | required for wss:// streaming |
Development
License
MIT © VoiceKit
All versions of voicekit-client with dependencies
ext-json Version *