byteplus-seed-speech-tts

为国际版 BytePlus Seed Speech 文本转语音(TTS)提供生产级指导,涵盖在 TTS 1.0 与 2.0 之间的选择、单向/双向流式传输、当前可用音色与语言、提示词與韵律控制、字幕时间轴校验、计费与并发限制、授权复刻音色、隐私保护、错误处理与输出质量验证。该技能不适用于中国大陆的 Volcengine Doubao Speech 端点。

仓库最近推送
GitHub Stars
257
Forks
52
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "byteplus-seed-speech-tts":https://skillpi.com/zh/skills/deepskill-094aac92139342607cdedf135f98b00d2320490580de75301a214017bb708767。安装前核对上游来源和版本:https://github.com/calesthio/generative-media-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

为国际版 BytePlus Seed Speech 文本转语音(TTS)提供生产级指导,涵盖在 TTS 1.0 与 2.0 之间的选择、单向/双向流式传输、当前可用音色与语言、提示词與韵律控制、字幕时间轴校验、计费与并发限制、授权复刻音色、隐私保护、错误处理与输出质量验证。该技能不适用于中国大陆的 Volcengine Doubao Speech 端点。

0 下载

介绍来源: third_party · calesthio · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: byteplus-seed-speech-tts
description: Production guidance for international BytePlus Seed Speech text-to-speech. Use for selecting TTS 1.0 versus 2.0, bidirectional or unidirectional streaming, current voices and languages, prompt/prosody controls, subtitle timing validation, billing and concurrency, authorized replicated voices, privacy, error handling, and output QA. Do not use for mainland-China Volcengine Doubao Speech endpoints.

BytePlus Seed Speech TTS

Use this skill for the international BytePlus Seed Speech service. The current documented API host is in the ap-southeast-1.bytepluses.com domain. Do not transfer credentials, endpoints, prices, voice IDs, or commercial assumptions from mainland-China Volcengine Doubao Speech.

Verification and evidence

  • Documented fact: behavior stated in official BytePlus documentation or its applicable legal pages.
  • Production heuristic: a practical workflow that must be tested with the selected account, voice, and protocol.
  • Empirical observation: output measured from an actual dated request.

Provider facts were verified 2026-07-12. Voice inventory, language compatibility, pricing, free quota, concurrency, endpoints, retention, and protocol behavior are volatile. Re-check the official voice list, API page, console, pricing, order form, and DPA immediately before production.

Boundary and taxonomy

BytePlus calls the international product Seed Speech. Current synthesis resource families include:

  • seed-tts-1.0: TTS 1.0;
  • seed-tts-2.0: TTS 2.0;
  • seed-icl-1.0: authorized Voice Replication 1.0 synthesis;
  • seed-icl-2.0: authorized Voice Replication 2.0 synthesis.

Seed-TTS research papers describe model research and are not API contracts. Do not expose research variants as hosted model IDs.

This leaf covers prebuilt TTS and synthesis with a voice already enrolled and authorized. Voice enrollment itself requires a separate consent, data, and lifecycle review. It does not cover ASR, speech-to-speech agents, interpretation, podcasts, or mainland Volcengine APIs.

Select model family and protocol

TTS 1.0

Use when a chosen voice or required feature is documented for TTS 1.0, especially where the selected protocol documents timestamp or voice-specific emotion support. Do not assume TTS 1.0 and 2.0 voices share identifiers or controls.

TTS 2.0

BytePlus documents broader multilingual and contextual/instruction control. context_texts can give natural-language performance direction; only the first list value is documented as effective. section_id can connect prior synthesis context, with current documentation describing up to 30 rounds or ten minutes.

TTS 2.0 does not support SSML in the documented V3 bidirectional or unidirectional paths. Never send SSML as though it were a supported control.

Bidirectional WebSocket

Use when text arrives incrementally and audio must stream while preserving session context:

wss://voice.ap-southeast-1.bytepluses.com/api/v3/tts/bidirection

Lifecycle: establish WebSocket, StartConnection, wait for ConnectionStarted, StartSession, wait for SessionStarted, send one or more TaskRequest events, consume sentence/audio events, FinishSession, wait for SessionFinished, then close. Event codes currently include sentence start 350, sentence end 351, and TTS response 352.

Unidirectional HTTP streaming

Use when the complete text is known and audio should stream back over HTTP:

POST https://voice.ap-southeast-1.bytepluses.com/api/v3/tts/unidirectional

Read newline/streamed JSON responses, base64-decode each audio payload, and concatenate in arrival order. Finish on provider success code 20000000.

No public BytePlus async long-text workflow was established during verification. Do not redirect international jobs to Volcengine async endpoints.

Authentication and headers

New integrations use a console-generated X-Api-Key. The selected resource ID is mandatory. Current HTTP documentation also requires the fixed X-Api-App-Key shown by the provider; verify it from the current page rather than assuming it is a secret or reusing a stale value.

Example header shape:

X-Api-Key: ${BYTEPLUS_API_KEY}
X-Api-Resource-Id: seed-tts-2.0
X-Api-App-Key: <current documented fixed value>
X-Api-Request-Id: <uuid>
Content-Type: application/json

The WebSocket path uses an X-Api-Connect-Id for troubleshooting. Preserve the returned X-Tt-Logid and client request/connection ID. Never log credentials or sensitive source text.

Legacy App ID/access-key headers remain documented for compatibility, with legacy resource IDs. Do not mix a new API key with guessed legacy fields or copy Volcengine auth.

Voice and language selection

Treat support as a tuple:

voice ID + resource family + protocol + language + control

Load the official voice list at execution time. Verify that the account is entitled to the voice and that the chosen voice supports the target language, protocol, emotion, timestamps, and other requested controls. Do not invent IDs or infer capability from an ID suffix.

The TTS 2.0 overview currently lists English, Chinese, Japanese, German, French, Mexican Spanish, Indonesian, Brazilian Portuguese, Italian, and Korean. Protocol/voice pages may expose additional voice-specific language codes. The selected voice page is authoritative for a production call.

Request controls

Current V3 request fields include text, speaker, audio format/sample rate, speech rate, loudness, voice-specific emotion, and an escaped JSON additions string.

Documented ranges include:

  • speech_rate: -50 to 100, where -50 represents 0.5x and 100 represents 2x;
  • loudness_rate: -50 to 100;
  • emotion_scale: 1 to 5 for voices supporting emotion, with non-linear perceived change;
  • formats: mp3, ogg_opus, and pcm;
  • sample-rate values listed by the current protocol page from 8 kHz through 48 kHz.

Streaming WAV can produce repeated headers; prefer PCM when an unframed stream is needed, or use MP3/Opus with verified concatenation/decoding.

additions controls include language policy, Markdown/emoji handling, end silence, formula normalization, TTS 2.0 context, and optional cache behavior. Cache hits are documented as not returning timestamps.

Normalize numbers, dates, currencies, abbreviations, URLs, formulas, Markdown, emoji, and punctuation before estimating cost and synthesis. Save the exact normalized source used for the request.

Timestamps and subtitles

Current V3 parameter tables say enable_timestamp works only for TTS 1.0 and ICL 1.0. Cache responses omit timestamps. Treat any timing observed from another model/protocol combination as an empirical account-level result, not a documented capability.

Therefore:

  • never promise TTS 2.0 timing without a dated integration test of the exact voice/protocol;
  • verify timestamps are monotonic, bounded by decoded duration, and aligned after text normalization;
  • human-review names, numbers, punctuation, and line grouping;
  • retain a fallback transcription/alignment workflow;
  • do not construct captions from estimated character duration.

Billing and capacity

Official public pricing checked 2026-07-12 lists TTS 2.0 packages and pay-as-you-go character billing, a 20,000-character activation trial, and separately purchased concurrency. It defines spaces, punctuation, symbols, and carriage returns as billable characters.

Because prices, packages, and terminology can change, create a dated cost record from the current pricing page/console. Count normalized request text using the provider's current billing rule. Confirm whether the account limit is expressed as concurrency or QPS and test queue behavior before batch production.

Do not state that a plan or trial is guaranteed outside the applicable account and date.

Privacy, consent, and replicated voices

The applicable BytePlus agreement and DPA govern processing. The customer is responsible for notices, lawful basis/consent, and authorized instructions. BytePlus's current enterprise AI FAQ qualifies training claims: do not simplify it to “data is never used for training” without the corporate-customer and express-authorization context.

For any replicated voice:

  • obtain explicit, purpose-specific authority from the speaker/rights holder;
  • record permitted use, audience, territory, term, revocation, and deletion procedure;
  • verify account, voice ID, and language are authorized;
  • avoid public-figure or deceptive impersonation;
  • minimize enrollment/source audio and restrict access;
  • resolve retention, residency, deletion, and model-improvement terms in the current contract/order form.

A successful enrollment or voiceprint check is not legal consent.

Error handling

Handle provider/application codes and preserve X-Tt-Logid.

  • Invalid text, parameters, unsupported controls, or unauthorized voice: repair; do not retry unchanged.
  • Concurrency/quota: queue, back off with jitter, or adjust purchased capacity.
  • General server/network failures: bounded retry when idempotency/charge behavior is understood.
  • Ambiguous partial stream: reject incomplete audio unless the workflow explicitly supports resume/reassembly.

Do not print the API key, legacy token, sensitive text, or full response bodies containing customer data.

Production QA

Before a full batch, generate short samples and approve voice, language, pronunciation, rate, emotion, and context behavior.

Check:

  • decoded codec, sample rate, channel count, duration, and corruption;
  • missing/repeated/truncated words and stream ordering;
  • names, acronyms, numbers, currencies, formulas, and multilingual switching;
  • clipping, true peak, loudness consistency, noise, clicks, sibilance, and silence;
  • performance direction and voice identity;
  • back-transcription against normalized text;
  • timestamp/caption alignment where used;
  • request/resource/voice/log IDs, source revision, consent record, price evidence, and output hash.

Provider output can vary across calls. Do not promise bit-identical speech from the same request unless measured and contractually supported.

Example 1: TTS 2.0 HTTP narration

This is a complete example, not a mandatory formula.

Intent: low-latency Chinese product narration with calm performance direction.

Preflight the current voice list and choose an authorized TTS 2.0 Chinese voice. Use seed-tts-2.0, MP3 at 24 kHz, exact normalized script, and one context_texts instruction: “Speak naturally, calmly, and warmly; avoid exaggeration.” Submit to the unidirectional HTTP endpoint, consume every audio chunk in order, and stop on 20000000.

The payload shape is:

{
  "user": {"id": "production-job-2841"},
  "req_params": {
    "text": "欢迎回来。项目已经准备就绪,我们现在可以开始。",
    "speaker": "<authorized-current-voice-id>",
    "audio_params": {
      "format": "mp3",
      "sample_rate": 24000,
      "speech_rate": 0,
      "loudness_rate": 0
    },
    "additions": "{\"explicit_language\":\"zh-cn\",\"disable_markdown_filter\":true,\"context_texts\":[\"请用自然、沉稳、亲切的语气表达,不要夸张。\"]}"
  }
}

QA decoded audio, duration, script completeness, pronunciation, performance, and log ID. Do not request timestamps unless this exact voice/protocol has passed a dated test.

Example 2: incremental assistant response

This is a complete example, not a mandatory formula.

Intent: stream an authorized English assistant voice while response text arrives incrementally.

Use the bidirectional WebSocket lifecycle. Start connection/session with an authorized voice/resource pair, send complete semantic chunks as TaskRequest events, consume sentence/audio events, and finish only after the final chunk. Keep one performance instruction and context policy across the session. Buffer enough text to avoid unnatural fragments without delaying the first useful audio excessively.

QA chunk boundaries, missing/repeated text, ordering, cancellation, reconnection, rate limits, and final transcript/audio parity. If the selected voice does not support bidirectional operation, switch protocol or voice after explicit approval; do not silently substitute.

Sources

Official sources verified 2026-07-12:

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 提供完整的 BytePlus Seed Speech TTS 生产级指导,涵盖从模型选择到输出验证的全流程
  • 针对国际版用户有明确区分,避免与中国大陆 Volcengine 服务混淆
  • 包含详细的计费、并发、隐私和授权复刻音色等合规性说明
触发精准88/100

亮点

  • description 明确限定适用范围为国际版 BytePlus Seed Speech
  • 清晰排除中国大陆 Volcengine Doubao Speech 端点,边界定义准确
结构规范85/100

亮点

  • 文档结构清晰,分章节系统性地覆盖认证、协议、音色、控制、计费、隐私等关键主题
  • 提供两个完整生产示例,便于用户理解和实施
执行可靠87/100

亮点

  • 引用官方文档作为依据,参数范围和行为描述具体可验证
  • 完善的错误处理机制和日志保留要求
  • 生产 QA 清单全面,覆盖音频质量、文本对齐、合规记录等多个维度
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • arxiv.org
  • docs.byteplus.com
  • voice.ap-southeast-1.bytepluses.com
  • www.byteplus.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。