CtrlK
BlogDocsLog inGet started
Tessl Logo

guydemo/music

Generate music using ElevenLabs Music API - instrumental tracks, songs with lyrics, and fine-grained composition plans

95

1.57x
Quality

93%

Does it follow best practices?

Impact

99%

1.57x

Average score across 5 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-5/

Shell Script for Batch Music Generation via REST API

Problem/Feature Description

A media production team uses a Linux-based automation pipeline for their content. They don't want to install any language-specific SDKs — instead they need a bash shell script that calls the ElevenLabs Music API directly via HTTP to generate multiple tracks.

Write a bash script called batch_generate.sh that generates three different tracks:

  1. A 30-second instrumental-only jingle for a commercial bumper — the track must be guaranteed to have no vocals
  2. A 10-minute ambient background track for a meditation app
  3. A short 5-second sound sting (the minimum feasible length)

For each track, the script should make the API call and save the resulting audio to appropriately named MP3 files (e.g., jingle.mp3, ambient.mp3, sting.mp3).

The script should read the API key from the environment and include comments explaining each API call. Clean up any temporary files at the end.

Output Specification

  • batch_generate.sh — The bash script (should be executable)

evals

SKILL.md

tile.json