Skip to content

fix(doubao): decode successful Seed Audio responses - #69

Merged
dogxii merged 2 commits into
mainfrom
fix/doubao-seed-response
Nov 25, 2026
Merged

dogxii merged 2 commits into
mainfrom
fix/doubao-seed-response

Conversation

@dogxii

@dogxii dogxii commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

What changed

Doubao Voice 0.1.1 uses API 2.38's error-only status option for the single-object Seed Audio response. Streaming TTS keeps its strict status checks. The package declares the minimum host version and the integration test uses a success response without a code.

Why

An authenticated generation returned Base64 audio, duration, original duration and a URL with HTTP 200. Version 0.1.0 rejected it because the response contained no code. This also matches the provider's published success example. The host change is in WhiteTowerAI/ohmygame#1127; activation is tracked in WhiteTowerAI/ohmygame#1030.

Verification

The adapter decoded a previously captured real sound effect into a 48 kHz MP3. A new host process read the saved output without network traffic. The real TTS sample decoded at 24 kHz, including its null completion events. Type checking, 307 Node tests and 110 Vitest tests passed locally; the seven Doubao integration tests passed with the final engine minimum.

@dogxii
dogxii merged commit 02c0fb3 into main Nov 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant