Baiyin AI Voice Generation
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_7b3c719e/baiyin-voice-generate-skill.
About this skill
Problem Solved
When voice generation requirements hit concrete APIs, engineers can get stuck on field types, model identifiers, audio URLs, and parameter boundaries: an empty prompt can trigger 400, modelCode should not be hard-coded, params.speed_level and params.pitch_level must be numbers, and voice_url must be a publicly accessible http or https audio URL. Baiyin AI Voice Generation skill converges natural-language requests into stable Baiyin open-platform task requests, avoiding guessed models and fallback fields.
How It Works
- Runtime constraints: uses
https://ai.hikoon.com, asks forBAIYIN_API_KEYonly when it is missing. - Model selection: fetches the available voice models, shows
modelNameto users, and submits the returnedmodelCode. - Parameter mapping: maps expressions like “slower,” “higher pitch,” or “healing” to
speed_level,pitch_level, andemotion; uses defaults when unspecified to reduce follow-up questions. - Tone handling: silently fetches the tone list and defaults to the first
audioUrl, or accepts a user-provided public audio URL for tone cloning. - Task loop: reuses the latest
taskIdfor status queries and returns the audio link only when the status issucceeded.
Boundaries and Notes
It fits voice synthesis, status lookup, and result retrieval on the Baiyin open platform. Keep prompt non-empty, obtain models from live endpoints, provide a public voice_url rather than local or file:// paths, and send integer values 1-5 for numeric parameters. For queued, processing, or failed statuses, return the status or backend error truthfully instead of fabricating completion.
Use Cases
- Convert campaign copy into a broadcast audio request with model, speed, and emotion settings.
- Clone a reference voice from a public audio URL and generate a calming or serious tone.
- Check the latest Baiyin voice task status and retrieve the audio link after success.
- Upload a local audio file to Baiyin, then use its public URL as the reference voice.
Best For
- Engineers integrating the Baiyin open platform and converting spoken user requests into voice synthesis API calls.
- Automation developers converting copy into downloadable audio and tracking task status.
- Frontend or backend engineers cloning a reference voice without manually assembling fields.
- Developers building voice bots or broadcast products who need stable task creation and polling.
Related Skills
Convert Chinese or natural-language requests into paste-ready English image prompts for ChatGPT's web UI, covering generation, editing, multi-image references, and exact text without performing image generation.
A creative AI image workflow for style transfer, reference-based creation, scene replacement, series expansion, material conversion, era shifts, composition rework, lineart conversion, and cartoonization.
Translates star-inspired football memories and fan resonance into compliant original IP poster concepts while avoiding real names, likenesses, official badges, and event logos.
Extracts real web page colors, typography, components, layouts, and interaction styles with a Playwright script to produce a verifiable design guideline.