Songs: originals and covers
Generate an original song from a style prompt and lyrics, or a cover that follows a source song's melody. $0.20 per output minute, metered per second.
One endpoint makes both kinds. kind: "original" writes new music to your style and lyrics. kind: "cover" keeps the melody of a source recording and performs it in your style with your lyrics.
Fields
| Field | Rules |
|---|---|
kind | original or cover. Required. |
style | 3 to 600 characters. Genre, mood, instruments, voice. Covers send it to the engine exactly as written; originals are expanded into a dense engine style. |
language | Optional, for example Hindi. Prepended to the style unless the style already names it; style plus language must fit in 600 characters. |
lyrics | Up to 3,000 characters, with [Verse]/[Chorus] tags if you like. Required for a vocal cover. An original with empty lyrics renders an instrumental (input.instrumental_normalised: true). |
instrumental | true for no vocals. Default false. |
vocal_gender | auto, male, female or duet. Ignored for instrumentals. |
duration_seconds | Originals only, 30 to 300. Omit for Auto length (most songs land at 2 to 4 minutes). |
bpm, key | Originals only: 40 to 220, and up to 24 characters such as A minor. |
seed | 0 to 2,147,483,647. Random when absent; stored on the job so you can reproduce a take. |
title | 1 to 80 characters. Default Untitled song. |
source | Covers: {"file_id"} or {"url"}. 10 s to 10 minutes; WAV, FLAC, AIFF, MP3, M4A/AAC or Ogg (WebM is refused for covers). |
cover_mode | preserve (default) keeps the composition, reimagine keeps the melody with a freer arrangement, style-forward favours your style. |
rights_confirmed | true, required for covers and custom-voice songs: you hold the rights to the source and the voice. |
voice_id | Sing the song in a ready voice (custom-voice add-on). See below. |
metadata | Up to 20 string keys, returned as given. |
/api/v1/songscustom voice: Coming soonCreate a song
Generates an original song from a style prompt and lyrics, or a cover that follows the melody of a source file. Returns a queued job. Covers send your style to the engine exactly as written. With voice_id the song is sung in that voice (custom-voice add-on). While songs in a custom voice is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.
Body
| Field | Type | Description |
|---|---|---|
kind required | "original" | "cover" | original writes a new song. cover follows the melody of source. |
style required | string (3–600 chars) | Style prompt: genre, mood, instruments, voice. Covers send it to the engine exactly as written. |
language | string (2–40 chars) | Language of the vocals, for example Hindi or English. |
lyrics | string (0–3000 chars) | Lyrics. Required for a vocal cover. An original with empty lyrics renders as an instrumental. |
instrumental | boolean | No vocals. Default: false. |
vocal_gender | "auto" | "male" | "female" | "duet" | Lead vocal. Ignored for instrumentals. Default: "auto". |
duration_seconds | integer 30–300 | Originals only. 30 to 300 s (30 to 180 s with voice_id). Omit for Auto length. |
bpm | integer 40–220 | Originals only. |
key | string (1–24 chars) | Originals only, for example A minor. |
seed | integer 0–2147483647 | Random when absent; stored on the job. |
title | string (1–80 chars) | Default: "Untitled song". |
voice_id | string | Sing the song in this ready voice (custom-voice add-on). |
source | {file_id} or {url} | Either {"file_id": "file_…"} or {"url": "https://…"}. |
cover_mode | "preserve" | "reimagine" | "style-forward" | preserve keeps the composition, reimagine keeps the melody, style-forward favours your style. Default: "preserve". |
rights_confirmed | true | Required for covers and custom-voice songs: you hold the rights to the source and the voice. |
metadata | map of string (0–500 chars) | Up to 20 keys (letters, digits, _ and -, at most 40 characters) with string values up to 500 characters. Stored and returned, never interpreted. |
test_outcome | "failed" | Test mode only: simulate a failed job. Live keys get 400 parameter_not_allowed_in_live_mode. |
Headers: Authorization, Idempotency-Key, Content-Type: application/json
curl -X POST https://www.omegahumanizer.cloud/api/v1/songs \
-H "Authorization: Bearer $OMEGA_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"kind": "original",
"style": "warm acoustic pop, soft female vocal, nylon guitar, 92 bpm",
"language": "Hindi",
"lyrics": "[Verse]\nBaarish ki boondon mein tera naam likha\n[Chorus]\nMonsoon letters, aa bhi ja",
"vocal_gender": "female",
"title": "Monsoon letters"
}'Response 202
{
"id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
"object": "job",
"type": "song",
"status": "queued",
"livemode": true,
"created_at": "2026-11-06T10:00:00.000Z",
"started_at": null,
"completed_at": null,
"input": {
"kind": "original",
"style": "warm acoustic pop, soft female vocal, nylon guitar, 92 bpm",
"language": "Hindi",
"lyrics": "[Verse]\nBaarish ki boondon mein tera naam likha",
"instrumental": false,
"vocal_gender": "female",
"duration_seconds": null,
"bpm": null,
"key": null,
"seed": 1188,
"title": "Monsoon letters",
"voice_id": null
},
"output": null,
"usage": {
"metered_on": "output_audio",
"measured_seconds": null,
"billed_seconds": null,
"minimum_seconds": 60,
"tracks": null,
"rate_per_minute": "0.200000",
"voice_rate_per_minute": null,
"amount": null,
"max_charge": "1.200000",
"currency": "usd"
},
"error": null,
"metadata": {
"order_id": "A-1042"
}
}Errors: invalid_json, parameter_missing, parameter_invalid, parameter_unknown, parameter_not_allowed_in_live_mode, idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, url_not_allowed, insufficient_balance, scope_not_allowed, resource_missing, file_not_ready, file_expired, audio_too_long, audio_too_short, unsupported_media_for_product, queue_full, product_unavailable, service_unavailable, body_too_large, unsupported_content_type, voice_not_supported_for_request, voice_access_required, voice_not_ready
Covers
curl -X POST https://www.omegahumanizer.cloud/api/v1/songs \
-H "Authorization: Bearer $OMEGA_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"kind": "cover",
"style": "lo-fi bedroom pop, mellow male vocal, vinyl crackle",
"lyrics": "[Verse]\nOld streets, new light\n[Chorus]\nWe keep the melody",
"source": {
"file_id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh"
},
"cover_mode": "preserve",
"rights_confirmed": true
}'Upload the source first with files, or pass {"url": "https://…"} and the job waits in queued while we import it. A source that cannot be read ends the job failed with a code such as cover_melody_unreadable, at no charge.
Billing
Songs bill on the length of the song we deliver: $0.20 per minute, metered per second, 60 s minimum. A live job holds its maximum possible charge at creation (usage.max_charge): the exact duration you asked for, 6 minutes for Auto length, or 115% of a cover's source. You are charged only the metered amount, never more than the hold, and the rest returns to your balance.
Songs in a custom voice
Songs in a custom voice: coming soon for live keys. Test mode works today. What has to happen first
Add voice_id to sing the song in a voice your organization created. It adds $0.20 per output minute on the same metered seconds. Originals need duration_seconds from 30 to 180; cover sources must be 10 to 150 seconds. Not available with instrumental or duet. Outputs carry usage_restriction: "private_use_only", download URLs last at most 5 minutes, and each song is reviewed by an operator before delivery (up to 24 hours).
Throughput
Website users keep priority on our renderers, and API songs run one at a time across all customers. A song takes 2 to 4 minutes, so expect about 15 to 25 API songs an hour when the studio is quiet. Jobs wait in queued meanwhile; a job still queued after 6 hours fails with queue_timeout at no charge.