apiVersion: capsule.dev/v0.1
kind: Capsule
name: cverse-tts-inference-adapter
version: 0.1.0
type: adapter
purpose:
summary: 'Provides adapters for various Text-to-Speech (TTS) models, allowing the
core inference service to generate speech using different providers (e.g., OpenAI
TTS, Qwen TTS) through a unified interface.
'
owns:
- Base TTS plugin interface
- Specific TTS model implementations (e.g., OpenAI, Qwen)
does_not_own:
- The core inference service
- Other AI model types (ASR, LLM, Avatar, etc.)
interfaces:
provides:
- kind: library
name: tts-plugin
description: TTS model implementations conforming to the inference core's plugin
interface.
dependencies:
capsules:
- name: cverse-inference-core
version: '>=0.1.0'
agent:
summary_for_ai: 'An AI agent working on this capsule would focus on adding new TTS
model integrations, improving speech synthesis quality, or optimizing the TTS
plugin''s interaction with external APIs. It requires knowledge of TTS technologies
and Python plugin development.
'
avoid:
- Modifying the core inference service or other AI model types.
verification:
invariants:
- TTS plugins must correctly convert text to audio.
- Plugins must adhere to the defined TTS plugin interface.
x-reuse:
notes: 'Specific API keys, voice IDs, or endpoint URLs for OpenAI TTS or Qwen TTS
would need to be parameterized or configured by the consumer.
'
x-reconstruct:
install: install.json