---
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}'
```