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

FieldRules
kindoriginal or cover. Required.
style3 to 600 characters. Genre, mood, instruments, voice. Covers send it to the engine exactly as written; originals are expanded into a dense engine style.
languageOptional, for example Hindi. Prepended to the style unless the style already names it; style plus language must fit in 600 characters.
lyricsUp 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).
instrumentaltrue for no vocals. Default false.
vocal_genderauto, male, female or duet. Ignored for instrumentals.
duration_secondsOriginals only, 30 to 300. Omit for Auto length (most songs land at 2 to 4 minutes).
bpm, keyOriginals only: 40 to 220, and up to 24 characters such as A minor.
seed0 to 2,147,483,647. Random when absent; stored on the job so you can reproduce a take.
title1 to 80 characters. Default Untitled song.
sourceCovers: {"file_id"} or {"url"}. 10 s to 10 minutes; WAV, FLAC, AIFF, MP3, M4A/AAC or Ogg (WebM is refused for covers).
cover_modepreserve (default) keeps the composition, reimagine keeps the melody with a freer arrangement, style-forward favours your style.
rights_confirmedtrue, required for covers and custom-voice songs: you hold the rights to the source and the voice.
voice_idSing the song in a ready voice (custom-voice add-on). See below.
metadataUp to 20 string keys, returned as given.
POST/api/v1/songscustom voice: Coming soon

Create 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

FieldTypeDescription
kind required"original" | "cover"original writes a new song. cover follows the melody of source.
style requiredstring (3–600 chars)Style prompt: genre, mood, instruments, voice. Covers send it to the engine exactly as written.
languagestring (2–40 chars)Language of the vocals, for example Hindi or English.
lyricsstring (0–3000 chars)Lyrics. Required for a vocal cover. An original with empty lyrics renders as an instrumental.
instrumentalbooleanNo vocals. Default: false.
vocal_gender"auto" | "male" | "female" | "duet"Lead vocal. Ignored for instrumentals. Default: "auto".
duration_secondsinteger 30–300Originals only. 30 to 300 s (30 to 180 s with voice_id). Omit for Auto length.
bpminteger 40–220Originals only.
keystring (1–24 chars)Originals only, for example A minor.
seedinteger 0–2147483647Random when absent; stored on the job.
titlestring (1–80 chars)Default: "Untitled song".
voice_idstringSing 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_confirmedtrueRequired for covers and custom-voice songs: you hold the rights to the source and the voice.
metadatamap 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

Coming soon

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.