---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://framesfield.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "ElevenLabs Music & Topaz Print Upscale fal.ai Skill"
description: "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)."
canonical: "https://framesfield.com/skills/elevenlabs-music-and-topaz-print-upscale-fal-skill"
---

# ElevenLabs Music & Topaz Print Upscale fal.ai Skill

> 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).

- **Canonical URL:** https://framesfield.com/skills/elevenlabs-music-and-topaz-print-upscale-fal-skill
- **Raw Payload URL:** https://framesfield.com/raw/skills/elevenlabs-music-and-topaz-print-upscale-fal-skill
- **Asset Type:** SKILL.md
- **Compatible Hosts:** Claude Code, Cursor, Codex
- **Target Creative Tool:** fal.ai API / ElevenLabs Music / Topaz Image Upscale / FFmpeg
- **License:** MIT
- **Last Verified:** 2026-12-01

## Setup & Install

```bash
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

```

## Copyable Asset (SKILL.md)

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

## Example Input

```text
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.
```

## Expected Output

```text
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).
```

## Requirements

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

## Known Limits

- 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

## Implementation Notes

## 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](/specs/elevenlabs-music) (`$0.60/min`) and [Topaz Image Upscale API](/specs/topaz-image-upscale) (`$0.08` up to 24MP), pairing both with tested FFmpeg 48 kHz ducking and pixel-budget checks. See our [Commercial AI Music Pipeline](/workflows/ai-music-stems-and-commercial-soundtracking-pipeline) and [Consistent Executive Headshots Pipeline](/workflows/consistent-executive-headshots-and-team-portraits-pipeline).
