Measured endpoints

Music and sound effects, measured

Wrapped as the standalone pixelkiln music and pixelkiln sfx commands (CLI reference), outside the manifest: PixelKiln's lockfile outputs are images. All figures below were billed on a Tier 3 account on 14 November 2026 and read from each finished job's usage.

CallRequestQuotedBilledResult
POST /sound-effects1 s11WAV, 1022 ms, 176 KB, about 10 s to make
POST /sound-effects3 s22WAV, 2972 ms
POST /music/improve-stylea three-word idea, bpm 96none0.05one paragraph of style text, synchronous
POST /music/lyricsone topicnone0.05two drafts with section tags, synchronous
POST /musicinstrumental, length_s 30, bpm 1001010two MP3 takes (709 KB, 678 KB), 37 s to make
POST /musicinstrumental, length_s 60, bpm 1401010two MP3 takes, 60.6 s and 61.2 s
POST /music/{id}/loopthe 30 s songnone0422, see below
POST /music/{id}/loopthe 60 s song44two loop takes, 122.2 s and 135.6 s, about 2 minutes to make

What the measurements showed that PixelLab's docs do not say:

  • A loop needs 36 seconds between the intro and the ending. Looping the 30 s song was refused: 422 {"detail": "A loop needs at least 36 seconds of music between the intro and the ending; this song has 30. Make a longer song to loop."}. The refusal is free. The shortest song that does loop is somewhere above 30 s and no more than 60 s; music --loop refuses a --seconds of 36 or less up front and the docs recommend 60.
  • A loop take is a longer file than its song. Both loop takes of the 60 s song ran about two minutes, with loop_start_s 31.65 on both and loop_end_s 93.23 and 106.60, so the looped region is 62 to 75 s.
  • The submit reply already carries the takes. songs (or sound_effect) arrives pending with its final id, so each is polled by its own GET and the background job is read once, at the end, only for the bill.
  • Billing follows the quote. quoted_generations matched the bill on every call, and both submit replies and the job agree. Unlike POST /vfx, nothing here billed above its quote.
  • MP3s are 64 kbps, 48 kHz stereo with an ID3v2.4 tag; WAVs are 16-bit stereo PCM at 44.1 kHz. Both URLs are no-auth, like every other PixelLab storage URL.

Not measured: songs with vocals (lyrics, auto_lyrics, voice), restyle_song_id, style_weight, exclude, lengths above 60 s, and sound effects longer than 3 s. Those requests are built from the OpenAPI schema and covered by mocked tests only. The MCP also exposes rename, delete and list calls for both libraries (PATCH/DELETE /music/{id}, GET /music, and the same for /sound-effects); PixelKiln does not wrap them.