Logo vun Step Tts

Step Tts

Organisatioun
stepfun-ai
step-tts

Use this skill whenever the user wants to convert text into speech, generate playable audio from written text, read a sentence aloud, narrate content, create voiceovers, or clone / customize voices, and the backend must be 阶跃星辰 StepFun TTS. Triggers include mentions of 'TTS', 'text to speech', 'step-tts', 'stepfun', '阶跃', '语音合成', '生成语音', '转成语音', '读出来', '念出来', '朗读', '配音', '旁白', '播报', or requests to turn written content into spoken audio using StepFun models. Also use when the user wants to control StepFun voice IDs, speed, volume, emotion/style tags (情绪/风格标签), or call the StepFun voice-clone API with an existing file_id. Do NOT use this skill for speech recognition or audio-to-text tasks; those belong to ASR skills. Do NOT use this skill for Noiz or Kokoro backends.

Iwwersiicht

Editeurstepfun-ai
RepositoryStepAudio-Skills
Skill-Nummstep-tts
Stären
29
Forks
4
Matgeliwwert Fichieren
1
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum stepfun-ai op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Step Tts an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/stepfun-ai/StepAudio-Skills/tree/main/skills/step-tts
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/stepfun-ai/StepAudio-Skills.git /tmp/StepAudio-Skills
mkdir -p .claude/skills
cp -r /tmp/StepAudio-Skills/skills/step-tts .claude/skills/step-tts
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Step Tts an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Step Tts automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Step Tts net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

step-tts

Use 阶跃星辰 StepFun TTS (models step-tts-2, step-tts-mini, step-tts-vivid) as the backend for all text-to-speech and voice-clone operations.

This mirrors the spirit of the original tts skill, but all network calls go to the StepFun APIs:

For StepFun best-practice guidance and official voice list, refer to the docs:
音频合成最佳实践

Triggers

  • text to speech / tts / speak / say / read aloud / narration / voiceover
  • 语音合成 / 生成语音 / 转成语音 / 合成语音
  • 读出来 / 念出来 / 朗读 / 朗读一下 / 帮我读一下 / 读一遍
  • 配音 / 旁白 / 播报 / 口播 / 文案配音
  • step-tts / stepfun / 阶跃 / 阶跃星辰 语音
  • 想把一句话、一段文字、文案、脚本、文章变成可播放的语音
  • 想用具体 StepFun 模型或官方音色(例如 step-tts-mini + cixingnansheng)
  • 想根据 StepFun 文档里的情绪 / 风格标签(如「高兴」「慢速」)调节说话方式
  • 想基于已有 file_id 调用 StepFun 的「音色复刻」接口

If the user explicitly mentions StepFun/阶跃 for TTS, prefer this skill over other TTS skills.

Use this skill for text → audio tasks.

Do not use this skill for:

  • speech recognition
  • audio transcription
  • audio → text
  • extracting subtitles from audio

Those tasks should use ASR skills such as step-asr.

Requirements

  • A valid StepFun API key. Preferred env var: STEPFUN_API_KEY.
  • Legacy env var STEP_API_KEY is still accepted for compatibility.
  • CLI dependencies: bash, curl, python3.

The API key is sent as:

  • Header: Authorization: Bearer STEPFUN_API_KEY

You can configure it once via the config command (see below).

CLI: tts.sh

Main entrypoint: skills/step-tts/scripts/tts.sh

1. Configure API key

bash
bash skills/step-tts/scripts/tts.sh config --set-api-key YOUR_STEPFUN_API_KEY

This writes the key (without the Bearer prefix) into ~/.stepfun_api_key and uses it automatically for all later calls.
If STEPFUN_API_KEY is set in the environment, it takes precedence. The legacy env var STEP_API_KEY and legacy file ~/.step_api_key are also supported.

Check the current configuration:

bash
bash skills/step-tts/scripts/tts.sh config

The key will be printed in masked form.

2. Simple text → audio (speak)

Backed by POST https://api.stepfun.com/v1/audio/speech.

bash
# Minimal
bash skills/step-tts/scripts/tts.sh speak \
  -t "智能阶跃,十倍每一个人的可能" \
  -o step.opus

# From text file with explicit overrides
bash skills/step-tts/scripts/tts.sh speak \
  -f article.txt \
  --model step-tts-mini \
  --voice cixingnansheng \
  --response-format mp3 \
  -o article.mp3

# With speed / volume / emotion / style
bash skills/step-tts/scripts/tts.sh speak \
  -t "今天的学习进度很棒,我们继续加油!" \
  --model step-tts-mini \
  --voice livelybreezy-female \
  --speed 1.1 \
  --volume 1.2 \
  --emotion 高兴 \
  -o cheer.opus

Key options (mapped 1:1 to StepFun audio/speech API):

  • --model (optional, default step-tts-2): step-tts-2 | step-tts-mini | step-tts-vivid
  • --voice (optional, default elegantgentle-female): one of StepFun 官方音色 voice / voice_id,例如:
    • cixingnansheng
    • elegantgentle-female
    • yuanqishaonv
    • See full list in 官方文档: 官方音色清单
  • --response-format: wav | mp3 | flac | opus | pcm (default: opus)
  • --speed: 0.5~2.0 (语速)
  • --volume: 0.1~2.0 (音量)
  • --emotion: 情绪标签,对应 voice_label.emotion(如:高兴、悲伤、生气 等)
  • --style: 语速 / 演绎风格标签,对应 voice_label.style(如:慢速、极快、温柔 等)
  • --language: 语言标签,对应 voice_label.language(如:粤语、四川话、日语),三者和 emotion/style 只可三选一。
  • --sample-rate: 采样率,支持 8000、16000、22050、24000,默认 24000。

3. Voice clone (clone-voice)

Backed by POST https://api.stepfun.com/v1/audio/voices.

bash
bash skills/step-tts/scripts/tts.sh clone-voice \
  --model step-tts-mini \
  --file-id file-Ckyl3cV09A \
  --text "智能阶跃,十倍每一个人的可能" \
  --sample-text "今天天气不错"

Note: 如何获得 file_id(音色复刻的前提)

This command assumes you have already uploaded the reference audio via the StepFun Files API and obtained a file_id:

  • Use POST https://api.stepfun.com/v1/files
  • Set purpose="storage"
  • Upload a 5–10 second mp3 or wav clip that contains the voice you want to clone
    (例如:特朗普、某个主播、或你自己的声音)
  • The response will be a File object with an id like file-abc123 — this is the value to pass to --file-id

Example curl (simplified from the StepFun docs):

bash
curl https://api.stepfun.com/v1/files \
  -H "Authorization: Bearer $STEPFUN_API_KEY" \
  -F purpose="storage" \
  -F file="@trump_sample.wav"

Once you have the returned id, you can call:

bash
bash skills/step-tts/scripts/tts.sh clone-voice \
  --model step-tts-mini \
  --file-id file-abc123 \
  --text "智能阶跃,十倍每一个人的可能" \
  --sample-text "今天天气不错"

CLI options:

  • --model (required): one of StepFun TTS models, e.g. step-tts-mini
  • --file-id (required): File ID of reference audio
  • --text (optional): 原始音频对应文本,不传则由系统 ASR 自动识别(官方建议传入以提升质量)
  • --sample-text (optional): 用于生成试听音频的文本(最多 50 个字)

Response JSON (printed to stdout) contains:

  • id: 新音色 ID,可直接用在 --voice 字段里
  • sample_audio: base64 编码的试听 wav,可自行解码保存

4. Help

bash
bash skills/step-tts/scripts/tts.sh --help
bash skills/step-tts/scripts/tts.sh speak --help
bash skills/step-tts/scripts/tts.sh clone-voice --help

Agent Guidance

When using this skill:

  • Prefer StepFun voices / labels as documented in 音频合成最佳实践 instead of Noiz or Kokoro names.
  • When the user asks for a type of voice (e.g. “营销女声”, “有声书男声”), choose an appropriate voice and optional emotion/style tags from the StepFun docs. The guide at https://platform.stepfun.com/docs/zh/guide/tts contains per‑scenario recommendations and the full 官方音色清单。
  • For ordinary speak tasks, if the user does not specify a voice, default to elegantgentle-female. If the user explicitly specifies a voice, use the user-provided voice instead.
  • For ordinary speak tasks, if the user does not specify a model, default to step-tts-2. If the user explicitly specifies a model, use the user-provided model instead.
  • If the user does not specify an output format, default to opus.
  • For cloning tasks, clearly inform the user that they must first upload audio to StepFun to get a file_id, then this skill can call clone-voice to create a reusable voice ID.
  • If the user previously used the tts skill with Noiz, you can suggest migrating parameters (text, SRT, high-level emotion) while switching backend to StepFun via this skill.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Step Tts?

Use this skill whenever the user wants to convert text into speech, generate playable audio from written text, read a sentence aloud, narrate content, create voiceovers, or clone / customize voices, and the backend must be 阶跃星辰 StepFun TTS. Triggers include mentions of 'TTS', 'text to speech', 'step-tts', 'stepfun', '阶跃', '语音合成', '生成语音', '转成语音', '读出来', '念出来', '朗读', '配音', '旁白', '播报', or requests to turn written content into spoken audio using StepFun models. Also use when the user wants to control StepFun voice IDs, speed, volume, emotion/style tags (情绪/风格标签), or call the StepFun voice-clone...

Firwat Step Tts op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Step Tts besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Step Tts an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/stepfun-ai/StepAudio-Skills/tree/main/skills/step-tts an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Step Tts benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Step Tts benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Step Tts domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Step Tts gratis?

Jo. De Skill gëtt vum stepfun-ai ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇