song
The site's /song-generator: the engine sings your lyrics in the style you describe — in your own words (`style`, translated to English like on the page) or as one of the site's curated styles (`style_key`). The model sings the language the lyrics are written in; one generation returns up to two takes as MP3. Priced exactly like the page, per generation — POST …/estimate gives the figure. ASYNCHRONOUS: returns 202 with a run id — a song usually takes 1–3 minutes, long ones up to about 8. Each file carries a machine-readable AI-generated mark. RIGHTS: rights to generated music are set by the terms of the provider of the underlying model (named in `meta.model_provider`; on Suno it is reached through the reseller sunoapi.org, not one of Suno's own channels). Commercial use — distribution, monetisation, streaming — is your decision and your risk; we give no warranty that the result is fit for commercial use (API Terms). Every result repeats this in `rights_note`.
v1 beta server · 4500 tokens
Price (server): 4500 tokens per generation; a generation returns up to two takes, and the price depends neither on their number nor on their length; paid plans: −5%, rounded up. The exact figure for your file: POST /v1/tools/song/estimate.
Call it
POST https://tembrica.com/v1/tools/song/runs
Authorization: Bearer $TIMBRICA_KEY
Idempotency-Key: <your retry-safe key>
Content-Type: application/json
Input
| Field | Type | Required | Notes |
|---|---|---|---|
lyrics | string | yes |
The words to sing. Section tags like [Verse] and [Chorus] are understood; the song is as long as the words make it (about 6 s per sung line).
max length: 5000 |
style | string | no |
The style in your own words — genre, mood, instruments, voice. Not in English? It is translated first. Give either this or `style_key`.
max length: 1000 |
style_key | string | no |
One of the site's curated, tested song styles (the cards on /song-generator). Give either this or `style`.
one of: russian-pop, dance-pop, disco, euro-disco, rnb, italian-canzone, latin-pop, kids-song, rock-ballad, russian-rock, punk-rock, metal, symphonic-rock, blues, indie-folk, chanson, bard-song, soldier-song, caucasian-song, chastushki, country-folk, romance, opera-aria, jazz-lounge, gospel-soul, a-cappella, hip-hop, phonk, trap, edm-club, eurodance-90s, synthwave, melancholic-ballad, lullaby, reggae, wedding-waltz, birthday-song, new-year |
title | string | no |
The song's title, written into the files.
max length: 120 |
vocal_language | string | no |
The language of the singing. Default: the language the lyrics' script implies (Cyrillic → ru, Latin → en, …). A language of another script than the lyrics is refused — the model sings the words as they are written.
one of: ru, en, es, pt, fr, de, id, ar, ko, uk, tr |
vocal_gender | string | no |
The singer: `auto` keeps the style's own voice.
one of: auto, male, female, child default: auto |
Errors it can return
validation_failed
insufficient_tokens
concurrency_limited
upstream_unavailable
History
- v1 — 2026-11-19 — Initial release (server lane, async, the site's price per generation, rights disclaimer).
This contract cannot change without a new version and a line above: a test compares the published schema, pricing and limits against a committed lockfile and fails the build otherwise. Subscribe to /v1/changelog to be told when something moves.