Skip to content
FramesField
SKILL.md Beginner Setup (1 Command) SKILL.md
Verified Dec 1, 2026

ElevenLabs Music & Topaz Print Upscale fal.ai Skill

How to install this SKILL.md

Drop into .claude/skills/, .cursor/skills/, or .agents/skills/ to automate cleared commercial music beds and 300 DPI print image upscaling via one FAL_KEY.

Executable SKILL.md playbook teaching Claude Code, Cursor, and Codex how to automate two high-ROI fal.ai finishing passes: ElevenLabs Music API ($0.60/min rounded up, force_instrumental: true, 48 kHz M&E conform + 2 kHz ducking) and Topaz Image Upscale API ($0.08 up to 24MP 300 DPI print, $0.16 48MP, $0.32 96MP, tuned face enhancement).

Compatible agent hosts
Claude Code Cursor Codex
Target tool: fal.ai API / ElevenLabs Music / Topaz Image Upscale / FFmpeg · License: MIT
  1. STEP 01
    Install pure SKILL.md from /raw/skills/

    Run the copy-paste install command for Claude Code, Cursor, or Codex below.

  2. STEP 02
    Export FAL_KEY once

    Verify FAL_KEY is present in your shell along with local ffmpeg and ffprobe.

  3. STEP 03
    Generate 58s cleared beds or 24MP–96MP print masters

    Agent computes exact metered spend before firing fal.ai requests and enforces 48 kHz audio or 300 DPI pixel math automatically.

1. Install for your tool

Pick the app you use below for the exact verified command or config—zero manual guessing.

Direct raw file (SKILL.md) ↓
Claude Code bash
Installs pure SKILL.md bytes directly into Claude Code:
mkdir -p .claude/skills/elevenlabs-music-topaz-print
curl -fsSL https://framesfield.com/raw/skills/elevenlabs-music-and-topaz-print-upscale-fal-skill \
  -o .claude/skills/elevenlabs-music-topaz-print/SKILL.md

2. Inspect or download the full SKILL.md file

This is the exact raw file served at /raw/skills/elevenlabs-music-and-topaz-print-upscale-fal-skill.

ElevenLabs Music & Topaz Print Upscale fal.ai Skill SKILL.md
---
name: elevenlabs-music-topaz-print
description: Run fal.ai serverless calls for ElevenLabs Music API (fal-ai/elevenlabs/music at $0.60/min rounded up, force_instrumental: true, 48 kHz M&E conform + 2 kHz voice carve ducking) and Topaz Image Upscale API (fal-ai/topaz/upscale/image at $0.08 up to 24MP, $0.16 up to 48MP, $0.32 up to 96MP, tuned face_enhancement_strength). Use when automating cleared commercial soundtracks or 300 DPI print image enlargement.
---

# ElevenLabs Music & Topaz Print Upscale fal.ai Skill

## 1. Pre-Flight Billing Rules (Print Cost Before Any Call)
- **ElevenLabs Music (`fal-ai/elevenlabs/music`):** `$0.60` per output audio minute, **rounded up** to the nearest minute. Default to `music_length_ms: 58000` (58s = `$0.60`) so one generation supplies 30s, 15s, and 6s ad cutdowns. Always set `force_instrumental: true` for voiceover underscores.
- **Topaz Image Upscale (`fal-ai/topaz/upscale/image`):**
  - `<=24 MP` (e.g., `6000x4000` = `20x13"` @ 300 DPI): `$0.08`
  - `24–48 MP` (large retail poster): `$0.16`
  - `48–96 MP` (trade-show / OOH): `$0.32`
  - Up to `512 MP`: up to `$1.36`
- **Guardrail:** Calculate target megapixels `(inW * factor) * (inH * factor) / 1e6` before calling so you never cross from the `$0.08` 24MP tier into `$0.16` unintentionally.

## 2. ElevenLabs Music + 48 kHz M&E + Sidechain Duck Pattern
```bash
curl -sS -X POST "https://fal.run/fal-ai/elevenlabs/music" \
  -H "Authorization: Key $FAL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Warm editorial acoustic underscore, 112 BPM, F major, felt piano, upright bass, brushed snare; calm intro, clean chord resolve at 0:55.","music_length_ms":58000,"force_instrumental":true}'
```
Download `audio.url`, conform `44.1 kHz -> 48 kHz WAV` (`music_ME_48k.wav`), then carve `-3 dB` @ `2000 Hz` and sidechain-duck beneath `-14 LUFS` narration:
```bash
ffmpeg -y -i voiceover_48k.wav -i music_ME_48k.wav \
  -filter_complex "[0:a]highpass=f=80,aresample=48000,asplit=2[vo_mix][vo_sc]; [1:a]equalizer=f=2000:t=q:w=1.2:g=-3,volume=-10dB[bed_eq]; [bed_eq][vo_sc]sidechaincompress=threshold=0.03:ratio=4:attack=50:release=350[bed_duck]; [vo_mix][bed_duck]amix=inputs=2:duration=first:dropout_transition=2,loudnorm=I=-14:TP=-1.0:LRA=11[out]" \
  -map "[out]" -c:a pcm_s16le -ar 48000 -ac 2 master_mix_48k.wav
```

## 3. Topaz Image 300 DPI Print & Headshot Upscale Pattern
- For portraits/headshots: set `face_enhancement: true` and cap `face_enhancement_strength` at `0.45–0.55` (avoids waxy skin).
- For packaging/print art: use `model: "High Fidelity V2"` or `"Standard V2"` with `output_format: "png"` and verify exact output dimensions (`width x height`) against `300 DPI * inches + 3mm bleed`.
```bash
curl -sS -X POST "https://fal.run/fal-ai/topaz/upscale/image" \
  -H "Authorization: Key $FAL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url":"'"$IMAGE_URL"'","model":"Standard V2","upscale_factor":3,"output_format":"png","face_enhancement":true,"face_enhancement_strength":0.50}'
```

3. Test it right away (sample prompt & result)

Sample prompt / input
Generate a 58s instrumental 112 BPM underscore via ElevenLabs Music ($0.60), duck it under vo.wav to -14 LUFS, and upscale our approved 2K team headshot to 24MP PNG via Topaz Image API ($0.08) with face_enhancement_strength 0.50.
What happens when it runs
Estimated fal.ai spend: $0.68 ($0.60 ElevenLabs Music 58s + $0.08 Topaz Image 18.9MP PNG).
Generated music_ME_48k.wav + master_mix_48k.wav (-14.0 LUFS, 48 kHz stereo).
Upscaled headshot_24mp.png (4320x4320 = 18.66 MP, 14.4x14.4 in @ 300 DPI).

What you need & known limits

Requirements

  • FAL_KEY environment variable from fal.ai
  • Local ffmpeg, ffprobe, and curl on PATH

Watch out for

  • Topaz Image Upscale outputs sRGB PNG/JPEG—apply explicit ICC CMYK conversion before sending offset print files to press
  • Never pass copyrighted artist names into ElevenLabs Music prompts

One fal.ai key for cleared soundtracks and 300 DPI print masters

Both commercial soundtracking and press-ready image enlargement suffer from the same studio friction: fragmented monthly subscriptions and manual browser uploads. This skill teaches your coding agent the exact metered billing thresholds of ElevenLabs Music API ($0.60/min) and Topaz Image Upscale API ($0.08 up to 24MP), pairing both with tested FFmpeg 48 kHz ducking and pixel-budget checks. See our Commercial AI Music Pipeline and Consistent Executive Headshots Pipeline.

Frequently Asked Questions

Why check target megapixels before calling Topaz Image Upscale?
A 2K image upscaled 3× lands around 18–24 MP ($0.08), whereas upscaling 4× jumps past 24 MP into the 48 MP tier ($0.16). Checking exact pixel dimensions first guarantees you pay only for the print size you actually need.
Does the FFmpeg ducking command work without external audio plugins?
Yes. It uses stock built-in FFmpeg filters (highpass, equalizer, sidechaincompress, amix, and loudnorm) tested on macOS and Linux.
Use this page in AI tools or notes
raw .md