Stepfun Step Audio R1 1のロゴ

Stepfun Step Audio R1 1

組織
stepfun-ai
stepfun-step-audio-r1-1

Use this skill whenever the user wants to call StepFun Chat Completions with model step-audio-r1.1 for a non-streaming speech reasoning turn that can take text with optional local audio input and save the returned audio, transcript, and raw response object. Triggers include mentions of StepFun speech reasoning, step-audio-r1.1, non-streaming spoken reasoning through the Chat API, text+audio input to StepFun speech reasoning, or requests to inspect/save the raw response payload from StepFun step-audio-r1.1 runs.

概要

公開者stepfun-ai
リポジトリStepAudio-Skills
スキル名stepfun-step-audio-r1-1
スター
29
フォーク
4
同梱ファイル
5
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    stepfun-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Stepfun Step Audio R1 1」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/stepfun-ai/StepAudio-Skills/tree/main/skills/stepfun-step-audio-r1-1
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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/stepfun-step-audio-r1-1 .claude/skills/stepfun-step-audio-r1-1
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでStepfun Step Audio R1 1を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にStepfun Step Audio R1 1を読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Stepfun Step Audio R1 1は作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

StepFun step-audio-r1.1 Speech Reasoning

Call StepFun's POST /v1/chat/completions endpoint with stream: false and model: step-audio-r1.1.

Use this skill when the user explicitly wants StepFun speech reasoning, spoken replies through the Chat API, a standard non-streaming chat completion object, or local audio input encoded as input_audio.

Do not use this skill for realtime duplex voice sessions. Use StepFun Realtime API instead when the user wants low-latency live conversation.

step-audio-r1.1 does not support tool call. If the user needs tool calling, prefer step-audio-2 instead of this skill.

Quick Start

Text in, speech reasoning out:

bash
python3 {baseDir}/scripts/stepfun_audio_chat.py \
  --prompt "用中文介绍一下苏州的春天,语气自然一点。" \
  --voice wenrounansheng \
  --format wav

Check available voice ids before a run:

bash
python3 {baseDir}/scripts/stepfun_audio_chat.py \
  --list-voices

Text + local audio in, speech reasoning out:

bash
python3 {baseDir}/scripts/stepfun_audio_chat.py \
  --prompt "听完这段语音后,总结重点,并用更简洁的话复述。" \
  --input-audio /path/to/input.wav \
  --voice wenrounansheng \
  --format wav

Build and inspect the non-streaming request without sending it:

bash
python3 {baseDir}/scripts/stepfun_audio_chat.py \
  --prompt "测试 step-audio-r1.1 非流式 payload" \
  --dry-run \
  --print-json

What The Script Produces

The helper writes a fresh output directory for each run unless --output-dir is provided. Typical files are:

  • request.json: saved only for --dry-run
  • response.json: full non-streaming response object
  • response.<format>: decoded audio from choices[0].message.audio.data
  • transcript.txt: choices[0].message.audio.transcript
  • content.txt: textual assistant content when present

Common Flags

bash
python3 {baseDir}/scripts/stepfun_audio_chat.py --help

Important flags:

  • --prompt: user text to send with the request
  • --input-audio: local audio file that will be base64-encoded into input_audio; non-WAV files are converted to WAV first when ffmpeg or afconvert is available
  • --system: optional system instruction
  • --voice: output voice name
  • --list-voices: query StepFun for account-level custom/cloned voices and print a few official voice hints
  • --format: non-streaming output audio format; this skill uses wav
  • --no-audio-output: request text-only output while still using the Chat API
  • --temperature: optional sampling override
  • --max-tokens: optional generation cap
  • --print-json: echo request or response JSON to stdout
  • --dry-run: build payload and stop before the network call

Configuration

Set STEPFUN_API_KEY in the environment, or save it once to the shared key file used by the other StepAudio skills:

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

This skill reads:

  • STEPFUN_API_KEY
  • STEP_API_KEY as a legacy alias
  • ~/.stepfun_api_key
  • ~/.step_api_key

OpenClaw skill config also works:

json5
{
  skills: {
    entries: {
      "stepfun-step-audio-r1-1": {
        env: {
          STEPFUN_API_KEY: "STEP_KEY_HERE",
        },
      },
    },
  },
}

Optional environment variables:

  • STEP_API_BASE_URL: overrides the default https://api.stepfun.com

Input audio note:

  • StepFun expects input_audio.data in data:audio/wav;base64,... format
  • Official docs mention WAV and MP3 input support
  • This script normalizes local input to WAV for maximum compatibility
  • If you pass m4a, mp3, aiff, or similar, this script will try to convert to WAV via ffmpeg or macOS afconvert
  • The normalized input_audio payload must stay within StepFun's 10MB base64 limit

Voice selection note:

  • step-audio-r1.1 needs audio.voice whenever you request audio output
  • The script defaults to wenrounansheng, which was validated in real smoke tests for this skill
  • For production use, prefer passing --voice explicitly
  • Use --list-voices to inspect account-level custom/cloned voice ids
  • Read references/stepfun-voices.md for how step-audio-r1.1, step-audio-2, and step-tts-* differ in voice usage

Workflow

  1. Confirm the user wants StepFun step-audio-r1.1 speech reasoning through Chat API.
  2. Choose whether the turn is text-only or text plus local audio input.
  3. Run the helper script with stream: false.
  4. Return the saved transcript, the audio file path, and any important response fields to the user.

Reference

Read references/stepfun-chat-api.md when you need the exact request shape, supported audio fields, or the non-streaming response layout. Read references/stepfun-voices.md when you need voice-selection guidance.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Stepfun Step Audio R1 1」では何ができますか?

Use this skill whenever the user wants to call StepFun Chat Completions with model step-audio-r1.1 for a non-streaming speech reasoning turn that can take text with optional local audio input and save the returned audio, transcript, and raw response object. Triggers include mentions of StepFun speech reasoning, step-audio-r1.1, non-streaming spoken reasoning through the Chat API, text+audio input to StepFun speech reasoning, or requests to inspect/save the raw response payload from StepFun step-audio-r1.1 runs.

TypingMindでStepfun Step Audio R1 1を使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Stepfun Step Audio R1 1はプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにStepfun Step Audio R1 1をインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/stepfun-ai/StepAudio-Skills/tree/main/skills/stepfun-step-audio-r1-1を貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Stepfun Step Audio R1 1を使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Stepfun Step Audio R1 1で使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもStepfun Step Audio R1 1を利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Stepfun Step Audio R1 1」は無料ですか?

はい。stepfun-aiがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇