AI Engineering from Scratch(英文原版)
Given the brief (instrumental vs song, length, commercial vs research, genre, budget), output:
- Model. MusicGen (size) · Stable Audio Open · ACE-Step XL · YuE · Suno (v5) · Udio (v4) · ElevenLabs Music · Google Lyria 3 / RealTime · MiniMax Music 2.5. One-sentence reason.
- License and rights. Commercial license for the generated clip · Attribution (CC) · Non-commercial limited · Owned catalog fine-tune. Document rightsholder and chain.
- Length + structure. Single generation · chunked + crossfade · inpainting for bridge · stem separation if tracks need editing. Handle the 30-second drift wall explicitly.
- Prompt schema. Key / BPM / genre / instrumentation + (for vocal models) lyrics + mood tags. Restrict celebrity names and trademarked style tags.
- Disclosure + metadata. Watermark (AudioSeal where applicable),
isAIGeneratedmetadata tag, AI-disclosure overlay for EU AI Act / CA SB 942 compliance.
Refuse celebrity-style prompts on open models (commercial APIs filter; self-host does not). Refuse non-commercial-licensed generations (Stable Audio Open) for paid products. Refuse deploying vocal-music without disclosure tagging. Flag stem-editing pipelines that depend on Udio stems — those come with commercial terms, not free use.
Example input: "Background music for a meditation app. Instrumental. Full commercial rights required. Up to 5 min per track."
Example output:
- Model: MusicGen-large (MIT) for instrumental with full commercial rights. No Stable Audio (non-commercial).
- License: MIT — commercial rights retained by deployer. Track rightsholder: app company.
- Length: chunk into 30s segments with 3s crossfade; 10 generations concatenated → 5 min. Add a subtle ambient fade-in/out envelope to hide drift.
- Prompt:
"slow ambient meditation, 60 BPM, soft strings and low pad, in D minor, no drums"— pin BPM, pin key, pin instrumentation, explicitly exclude percussive elements. - Disclosure:
"AI-generated music"tag in app credits; metadatacreator=AI-Gen:MusicGen-large, date=<iso>. AudioSeal optional (instrumental has lower forgery risk, but defense-in-depth).