Step Tts logo

Step Tts

Organization
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.

Overview

Publisherstepfun-ai
RepositoryStepAudio-Skills
Skill namestep-tts
Stars
29
Forks
4
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by stepfun-ai on GitHub. Read the source before you install it.

Installation

Install the Step Tts AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/stepfun-ai/StepAudio-Skills/tree/main/skills/step-tts
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Step Tts in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Step Tts on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Step Tts is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Step Tts AI skill do?

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...

Why use Step Tts on TypingMind?

Because you install it once and use it with any model. Step Tts is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Step Tts in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/stepfun-ai/StepAudio-Skills/tree/main/skills/step-tts. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Step Tts?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Step Tts?

As many as you like. As long as a model supports skills, you can use Step Tts with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Step Tts AI skill free?

Yes. It is published on GitHub by stepfun-ai under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇