Baiyin AI Music Generation and Task Query
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-music-generate.
About this skill
Problem
Maps natural-language music requests like "write a song," "make a version from this demo," and "cover the last one" into Baiyin Open Platform AI music task API calls. It targets the failure modes around music-generation APIs: guessing model names, sending numeric values as strings, passing local paths as public url fields, and returning download links before the task has succeeded.
How It Works
- Model whitelist: Only
chirp-fenixandchirp-croware allowed. The default ischirp-fenix; if a user requests a model outside the whitelist, the skill reports unsupported instead of passing the value through. - Task modes: Basic generation uses
task=""; reference-audio generation passes a publichttp/httpsURL; cover mode requires bothtask="cover"andcover_clip_id. - Public audio handling: When a user provides a local file, chat attachment, or private drive link, the skill guides the upload to the Baiyin file API first and then uses the returned
data.urlfor the reference field. - Field constraints:
promptmust be non-empty;control_option.weirdness_constraint,style_weight, andaudio_weightmust be numbers between 0 and 1;cusromPromptis fixed totrueusing the API’s historical spelling. - Result retrieval: After querying the task, it prefers audio resources. If
result.itemscontains multiple versions, it lists allaudioUrlvalues by default, labeled as "Version 1," "Version 2," and so on, rather than selecting only the first one.
Boundaries and Caveats
Use this skill when a host environment already has a valid BAIYIN_API_KEY and needs Baiyin music generation, reference-audio generation, cover mode, task status, and balance queries. It does not replace external object storage; inaccessible audio links should be uploaded through the Baiyin file API first. Cover mode cannot rely on an external url alone and must include a cover_clip_id from a prior Baiyin result. The song should not be described as complete before the task status is succeeded.
Use Cases
- Before a product review, turn a demo theme, mood, and instruments into a BGM and collect audio links.
- Given a demo recording, reference its vocal and rhythmic feel to generate a new version and list all links.
- Change a previous female pop result into a male rock cover using the existing cover_clip_id.
- After batch music tasks are submitted, query progress and balance, then return all version download links.
Best For
- Audio product managers who need lyrics, themes, or reference audio turned into deliverable BGM
- Campaign planners who need multiple music demos quickly for promotional videos
- Engineers building song workspaces on Baiyin APIs who need strict field validation
- Operations owners managing batch music generation and querying progress, balance, and all links
Related Skills
Converts image sequences, videos, or screen recordings into GIFs with Python, supporting timing, looping, optimization, and quick command-line use.
Adds white text, a yellow bar, and optional translucent masks to photos using OpenCV and Pillow.
Call Mew image and design APIs in two stages to create an emotional background and compose a share-ready quote check-in poster.
Generate felt-craft pendant designs, part breakdowns, and structured analysis from a product image or Base64 input.