Compose a Soundtrack / Beat
generate_soundtrackGenerate background music or a beat for a chosen genre and mood, returning a stereo WAV and editable multi-track MIDI arrangement.
Instructions
Use for background music or a beat in a genre: hip-hop, trap/rap, cinematic orchestral, rock, lo-fi, electronic, ambient. Offline by default: the Music Producer plans tempo/key/structure/instruments and the engine composes and synthesizes a stereo WAV (voice-led chords, bass, drums, a melody, section dynamics, mastered to about -14 LUFS) plus an editable multi-track MIDI. It is a synthesized demo, not a studio recording. generative:true uses your MusicGen model on Replicate/HF (quota, budget-guarded). Returns WAV + MIDI paths, exact duration, and the arrangement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Genre, e.g. 'hip-hop', 'cinematic orchestral', 'lo-fi', 'electronic'. | |
| subject | Yes | Theme/mood, e.g. 'rainy midnight city'. | |
| generative | No | USES QUOTA: render via your MusicGen API model. | |
| durationSeconds | No | Target length; the arrangement is re-flowed to fit (whole bars). | |
| approveOverBudget | No | Only after the user agrees: proceed past the budget guard. |