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.
| Call | Request | Quoted | Billed | Result |
|---|---|---|---|---|
POST /sound-effects | 1 s | 1 | 1 | WAV, 1022 ms, 176 KB, about 10 s to make |
POST /sound-effects | 3 s | 2 | 2 | WAV, 2972 ms |
POST /music/improve-style | a three-word idea, bpm 96 | none | 0.05 | one paragraph of style text, synchronous |
POST /music/lyrics | one topic | none | 0.05 | two drafts with section tags, synchronous |
POST /music | instrumental, length_s 30, bpm 100 | 10 | 10 | two MP3 takes (709 KB, 678 KB), 37 s to make |
POST /music | instrumental, length_s 60, bpm 140 | 10 | 10 | two MP3 takes, 60.6 s and 61.2 s |
POST /music/{id}/loop | the 30 s song | none | 0 | 422, see below |
POST /music/{id}/loop | the 60 s song | 4 | 4 | two 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 --looprefuses a--secondsof 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_s31.65 on both andloop_end_s93.23 and 106.60, so the looped region is 62 to 75 s. - The submit reply already carries the takes.
songs(orsound_effect) arrives pending with its final id, so each is polled by its ownGETand the background job is read once, at the end, only for the bill. - Billing follows the quote.
quoted_generationsmatched the bill on every call, and both submit replies and the job agree. UnlikePOST /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.
