Generates speech with StepFun contextual TTS: Chinese/Japanese speech, emotional delivery, inline natural-language directions, cloned voices, and batch voice lines. Supports HTTP, SSE, WebSocket, and voice/file lifecycle requests.
Ships in daymade-audio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use the bundled wrapper for synthesis and voice management. Read the API and control reference before choosing a model, cloning a voice, adding expression controls or using streaming. Current official documentation takes precedence over the historical probes in the migration and troubleshooting references.
The CLI reads STEPFUN_API_KEY; Python calls take an explicit api_key.
Missing credentials fail without borrowing another account's configuration.
Use the endpoint appropriate to the account and region. The wrapper retains its
existing China endpoint default; pass endpoint / api_base explicitly for
another service host. Do not infer a key's entitlement from its name.
HTTP synthesis and the CLI use Python's standard library. WebSocket use additionally
requires python3 -m pip install -r scripts/requirements-ws.txt; the dependency
loads only when connecting.
Run from this Skill's directory, or use an absolute script path and absolute artifact paths from another directory.
python3 scripts/tts_generate.py --text "你好" --out /tmp/hello.mp3 \
--instruction "温暖、自然,像面对面解释"
python3 scripts/tts_generate.py --request /absolute/request.json --dry-run
python3 scripts/tts_generate.py --request /absolute/request.json \
--out /absolute/take.wav --record /absolute/take-response.json
For registered consumers, load
llmreg.wrapper_for("stepfun-tts").tts_generate. Standalone consumers may load
scripts/tts_generate.py without installing llmreg. The module exposes http
and ws, plus the existing synthesize function. See the reference for native
body, lifecycle and event examples.
synthesize(text=...) for the compatible convenience interface. Its
defaults live in the HTTP implementation.
Preset voices remain useful for generic tasks.synthesize(request=...) for an explicit complete native speech body.
This mode requires its own model, input and voice; it does not substitute a
default identity. extra passes native fields through without a whitelist.
Conflicting duplicate arguments fail instead of silently overriding.--batch input.jsonl --out-dir /absolute/new-output for independent
voice lines. A censored line is reported and skipped while the batch continues;
other failures return failure. No model or voice is changed automatically.
Global CLI options serve as batch defaults; explicit row fields take precedence.Use instruction for the overall delivery and ASCII () inside the input for
local natural-language directions on the officially documented contextual
models. These are instructions to a generative model, not a finite stress-tag
grammar. Do not invent SSML or promise a particular word will be stressed.
Reading substitutions belong in pronunciation_map, not emphasis control.
Preserve the whole passage when testing passage coherence within the service's
input limit; independent-line batches serve a different job.
Keep requests, raw responses and original audio together. Read the actual response shape: binary audio, URL JSON and SSE are different outputs. The wrapper preserves native error bodies, headers, JSON members and stream events. Contract tests establish transport behavior; intelligibility, identity, continuity and expression require listening to the generated audio.
Write alternative takes to a parallel output directory; preserve the production
corpus. scripts/ab_compare.sh compares directory duration and size, which do
not establish listening quality. Do not silently rewrite a censored script or
switch its model/voice; report the rejected line for an explicit content decision.
Read migration from v2 before migrating an existing step-tts-2 corpus. It preserves the historical emotion-to-instruction mapping, comparison layout and per-line recovery decisions; its old account, model and price observations are not current capability authority. Read known issues when investigating censorship, unexpected duration or legacy parameter errors, with each observation's scope.
references/api_reference.md (opens in a new tab)references/known_issues.md (opens in a new tab)references/migration_from_v2.md (opens in a new tab)scripts/ab_compare.sh (opens in a new tab)scripts/external_dispatch.py (opens in a new tab)scripts/requirements-ws.txt (opens in a new tab)scripts/stepfun_native/__init__.py (opens in a new tab)scripts/stepfun_native/common.py (opens in a new tab)scripts/stepfun_native/http.py (opens in a new tab)scripts/stepfun_native/ws.py (opens in a new tab)scripts/tts_generate.py (opens in a new tab)tests/test_native_contract.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stepfun-tts, chinese-tts, japanese-tts, voice-cloning, emotional-tts
6 skills in this plugin
/asr-transcribe-to-textTranscribes audio or video to speaker-labeled, timestamped text, locally with MLX on Apple Silicon or remotely. Use for 转录 / 录音转文字 / 说话人分离 / 字幕, and also for preparing audio for ASR without transcribing: 转格式, 降采样到 16kHz, merging recorder segments, or compressing and speeding up audio before 飞书妙记 — even when it looks like a one-line ffmpeg job./audio-routerStepFun ASR/TTS配音; transcript/妙记→纪要, merge/review minutes; 通用ASR/校字直达。daudio 波形/吞字/尾衰: waveform/cutpoint/tail./meeting-minutes-takerTransforms raw meeting transcripts into structured, evidence-based meeting minutes — merges multiple versions without losing content, reviews existing minutes against the transcript for missing items, and identifies anonymous speakers (Speaker 1/2/3, 发言人1). Triggers on 会议纪要, 会议记录, 整理纪要, 妙记转纪要, "write meeting minutes", "merge these minutes". Not for fixing ASR/STT errors first (use transcript-fixer)./daymade-audio:stepfun-ttsfrom daymade-audio
npx claudepluginhub daymade/claude-code-skills --plugin daymade-audioOther plugins' skills for the same job