API reference

Base URL https://www.omegahumanizer.cloud/api. Every request uses Authorization: Bearer sk_test_… or sk_live_…; every POST needs an Idempotency-Key. Rendered from the same operation registry the API validates with; download it as openapi.json (OpenAPI 3.1).

Songs

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

Try it with a test key

Mastering

POST/api/v1/masteringLive

Master a mix

Masters a mix to WAV and MP3, optionally to an integrated loudness target. $1.49 per track of up to 10 minutes.

Body

FieldTypeDescription
source required{file_id} or {url}Either {"file_id": "file_…"} or {"url": "https://…"}.
target_lufsnumber -24–-12, step 0.1 or nullIntegrated loudness target in LUFS, from -24.0 to -12.0 in 0.1 steps. Null or absent keeps Omega's adaptive master (about -11.5 to -8.5 LUFS). Streaming is -14.
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/mastering \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "source": {
    "file_id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh"
  },
  "target_lufs": -14
}'

Response 202

{
  "id": "job_2Pz8Rt6Yu1Io3Ka7Sd9Fg5Hj",
  "object": "job",
  "type": "mastering",
  "status": "queued",
  "livemode": true,
  "created_at": "2026-11-06T10:00:00.000Z",
  "started_at": null,
  "completed_at": null,
  "input": {
    "target_lufs": -14,
    "source": {
      "file_id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
      "url": null,
      "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
      "duration_seconds": 180
    }
  },
  "output": null,
  "usage": {
    "metered_on": "track",
    "measured_seconds": 180,
    "billed_seconds": null,
    "minimum_seconds": null,
    "tracks": 1,
    "rate_per_minute": null,
    "voice_rate_per_minute": null,
    "amount": null,
    "max_charge": "1.490000",
    "currency": "usd"
  },
  "error": null,
  "metadata": {}
}

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

Try it with a test key

Stems

POST/api/v1/stemsComing soon

Split a song into stems

Splits any song into vocals, instrumental, drums, bass and other, billed on the input length. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Body

FieldTypeDescription
source required{file_id} or {url}Either {"file_id": "file_…"} or {"url": "https://…"}.
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/stems \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "source": {
    "file_id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh"
  }
}'

Response 202

{
  "id": "job_7Hd2Lq9Ws3Xc8Vb1Nm5Kj4Gf",
  "object": "job",
  "type": "stems",
  "status": "queued",
  "livemode": false,
  "created_at": "2026-11-06T10:00:00.000Z",
  "started_at": null,
  "completed_at": null,
  "input": {
    "source": {
      "file_id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
      "url": null,
      "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
      "duration_seconds": 252
    }
  },
  "output": null,
  "usage": {
    "metered_on": "input_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": "0.000000",
    "live_amount": "0.840000",
    "currency": "usd"
  },
  "error": null,
  "metadata": {}
}

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

Try it with a test key

Voices

POST/api/v1/voicesComing soon

Start a voice

Starts a voice and returns the consent text and a consent challenge phrase for the vocalist to read. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Body

FieldTypeDescription
name requiredstring (1–60 chars)
type"instant" | "studio"instant needs 30 to 60 s of singing; studio needs 3 to 5 minutes. Default: "instant".
auto_activatebooleanActivate as soon as the preview is approved. Default: true.
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"rejected"Test mode only: simulate a voice rejected in review. 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/voices \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Aisha (lead)",
  "type": "instant"
}'

Response 201

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "awaiting_recordings",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": {
      "id": "vch_6Gh8Jk1Lz3Xc5Vb7Nm9Qw2Er",
      "phrase": "I authorize Omega to use my voice for private songs created through this account: amber river …",
      "expires_at": "2026-11-06T10:10:00.000Z"
    }
  },
  "recordings": [],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": null,
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": null
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, parameter_missing, parameter_invalid, parameter_not_allowed_in_live_mode, scope_not_allowed, voice_access_required, product_unavailable, voice_unavailable, state_conflict, rate_limited

Try it with a test key
GET/api/v1/voices

List voices

Lists voices in this mode, newest first.

Query parameters

FieldTypeDescription
limitinteger 1–100Page size, 1 to 100. Default: 20.
starting_afterstring (0–40 chars)The id of the last object of the previous page.
curl https://www.omegahumanizer.cloud/api/v1/voices \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
      "object": "voice",
      "livemode": false,
      "name": "Aisha (lead)",
      "type": "instant",
      "status": "awaiting_recordings",
      "auto_activate": true,
      "consent": {
        "version": "omega-voice-consent-v1",
        "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
        "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
        "challenge": {
          "id": "vch_6Gh8Jk1Lz3Xc5Vb7Nm9Qw2Er",
          "phrase": "I authorize Omega to use my voice for private songs created through this account: amber river …",
          "expires_at": "2026-11-06T10:10:00.000Z"
        }
      },
      "recordings": [],
      "preview": null,
      "error": null,
      "created_at": "2026-11-06T10:00:00.000Z",
      "ready_at": null,
      "metadata": {},
      "usage": {
        "amount": null,
        "max_charge": null
      }
    }
  ],
  "has_more": false,
  "url": "/v1/voices"
}

Errors: parameter_invalid, parameter_unknown, resource_missing

Try it with a test key
GET/api/v1/voices/{voice_id}

Retrieve a voice

Returns the voice. Only the approved preview is ever returned; no embedding, adapter or model file leaves Omega.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.
curl https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "awaiting_recordings",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": {
      "id": "vch_6Gh8Jk1Lz3Xc5Vb7Nm9Qw2Er",
      "phrase": "I authorize Omega to use my voice for private songs created through this account: amber river …",
      "expires_at": "2026-11-06T10:10:00.000Z"
    }
  },
  "recordings": [],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": null,
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": null
  }
}

Errors: resource_missing

Try it with a test key
DELETE/api/v1/voices/{voice_id}

Delete a voice

Deletes the voice and purges its references. Always allowed, whatever the availability.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.
curl -X DELETE https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 202

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "deleted",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": null
  },
  "recordings": [],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": null,
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": null
  }
}

Errors: resource_missing, voice_unavailable

Try it with a test key
POST/api/v1/voices/{voice_id}/consent_challengeComing soon

Issue a fresh consent challenge

Challenges last 10 minutes. The consent recording must read the current phrase. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.

Headers: Authorization, Idempotency-Key

curl -X POST https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz/consent_challenge \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 201

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "awaiting_recordings",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": {
      "id": "vch_6Gh8Jk1Lz3Xc5Vb7Nm9Qw2Er",
      "phrase": "I authorize Omega to use my voice for private songs created through this account: amber river …",
      "expires_at": "2026-11-06T10:10:00.000Z"
    }
  },
  "recordings": [],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": null,
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": null
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, resource_missing, state_conflict, product_unavailable, voice_unavailable, rate_limited

Try it with a test key
POST/api/v1/voices/{voice_id}/recordingsComing soon

Get an upload URL for a recording

Creates a singing, consent or permission-evidence recording and returns its signed PUT URL. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.

Body

FieldTypeDescription
role required"singing" | "consent" | "permission_evidence"
content_type requiredstring (3–100 chars)
bytes requiredinteger 1–104857600

Headers: Authorization, Idempotency-Key, Content-Type: application/json

curl -X POST https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz/recordings \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "role": "singing",
  "content_type": "audio/wav",
  "bytes": 5760044
}'

Response 201

{
  "recording": {
    "id": "rec_3Df5Gh7Jk9Lz2Xc4Vb6Nm8Qw",
    "role": "singing",
    "status": "awaiting_upload"
  },
  "upload": {
    "url": "https://storage.googleapis.com/…",
    "method": "PUT",
    "headers": {
      "Content-Type": "audio/wav",
      "Content-Length": "5760044",
      "x-goog-if-generation-match": "0"
    },
    "expires_at": "2026-11-06T10:15:00.000Z"
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, parameter_missing, parameter_invalid, resource_missing, unsupported_media, upload_too_large, state_conflict, product_unavailable, voice_unavailable, rate_limited

Try it with a test key
POST/api/v1/voices/{voice_id}/recordings/{recording_id}/completeComing soon

Verify an uploaded recording

Verifies the uploaded recording. The voice lists it as verified or rejected. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.
recording_id requiredstring (rec_…)The recording id.

Headers: Authorization, Idempotency-Key

curl -X POST https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz/recordings/rec_3Df5Gh7Jk9Lz2Xc4Vb6Nm8Qw/complete \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "awaiting_recordings",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": {
      "id": "vch_6Gh8Jk1Lz3Xc5Vb7Nm9Qw2Er",
      "phrase": "I authorize Omega to use my voice for private songs created through this account: amber river …",
      "expires_at": "2026-11-06T10:10:00.000Z"
    }
  },
  "recordings": [
    {
      "id": "rec_3Df5Gh7Jk9Lz2Xc4Vb6Nm8Qw",
      "role": "singing",
      "status": "verified",
      "error": null
    }
  ],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": null,
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": null
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, resource_missing, upload_incomplete, state_conflict, product_unavailable, voice_unavailable

Try it with a test key
POST/api/v1/voices/{voice_id}/submitComing soon

Submit a voice for review

Submits the recordings with the attestation and provenance. Holds $1.00, charged only when the voice is approved. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.

Body

FieldTypeDescription
challenge_id requiredstringThe current, unused, unexpired consent challenge.
singing_recording_ids requiredarray of string
consent_recording_id requiredstringThe consent recording, bound to challenge_id.
permission_basis required"owner" | "documented_permission"
permission_evidence_recording_idstring or nullRequired exactly when permission_basis is documented_permission.
declared_vocalist_identity requiredstring (1–120 chars)
account_relationship requiredstring (1–200 chars)
attestation required{version, accepted}
attestation.version required"omega-voice-consent-v1"
attestation.accepted requiredtrue
provenance requiredarray of {recording_id, producer, rights_controller, vocalist, language, lyrics, instrument}
provenance[].recording_id requiredstring
provenance[].producer requiredstring (0–120 chars) or null
provenance[].rights_controller requiredstring (0–120 chars) or null
provenance[].vocalist requiredstring (0–120 chars) or null
provenance[].language requiredstring (0–80 chars) or null
provenance[].lyrics requiredstring (0–2000 chars) or null
provenance[].instrument requiredstring (0–80 chars) or null

Headers: Authorization, Idempotency-Key, Content-Type: application/json

curl -X POST https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz/submit \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "challenge_id": "vch_6Gh8Jk1Lz3Xc5Vb7Nm9Qw2Er",
  "singing_recording_ids": [
    "rec_3Df5Gh7Jk9Lz2Xc4Vb6Nm8Qw"
  ],
  "consent_recording_id": "rec_8Jk1Lz3Xc5Vb7Nm9Qw2Er4Ty",
  "permission_basis": "owner",
  "declared_vocalist_identity": "Aisha Khan",
  "account_relationship": "Aisha is the artist signed to our label and owns this recording.",
  "attestation": {
    "version": "omega-voice-consent-v1",
    "accepted": true
  },
  "provenance": [
    {
      "recording_id": "rec_3Df5Gh7Jk9Lz2Xc4Vb6Nm8Qw",
      "producer": "Northside Records",
      "rights_controller": "Northside Records",
      "vocalist": "Aisha Khan",
      "language": "Hindi",
      "lyrics": null,
      "instrument": null
    }
  ]
}'

Response 202

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "processing",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": null
  },
  "recordings": [],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": null,
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": "0.000000",
    "live_amount": "1.000000"
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, parameter_missing, parameter_invalid, resource_missing, insufficient_balance, singing_duration_invalid, state_conflict, product_unavailable, voice_unavailable, voice_worker_busy, rate_limited

Try it with a test key
POST/api/v1/voices/{voice_id}/activateComing soon

Activate a voice

Activates a voice whose preview was approved, when it was created with auto_activate: false. While this product is unavailable for live keys, live requests return 503 product_unavailable. See /developers/docs/availability.

Path parameters

FieldTypeDescription
voice_id requiredstring (voice_…)The voice id.

Headers: Authorization, Idempotency-Key

curl -X POST https://www.omegahumanizer.cloud/api/v1/voices/voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz/activate \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

{
  "id": "voice_5Ty7Ui9Op2As4Df6Gh8Jk1Lz",
  "object": "voice",
  "livemode": false,
  "name": "Aisha (lead)",
  "type": "instant",
  "status": "ready",
  "auto_activate": true,
  "consent": {
    "version": "omega-voice-consent-v1",
    "text": "I attest that each voice recording I submit is my own voice or a voice I have explicit permission to use. …",
    "text_sha256": "dee682379ad6b33876f3eff88e214fbd3a6f72ce0b204ddf3235fd2e3ccbf375",
    "challenge": null
  },
  "recordings": [],
  "preview": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "ready_at": "2026-11-06T11:00:00.000Z",
  "metadata": {},
  "usage": {
    "amount": null,
    "max_charge": null
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, resource_missing, state_conflict, product_unavailable, voice_unavailable

Try it with a test key

Files

POST/api/v1/files

Create a file upload or import a URL

Creates a file and returns a signed PUT URL bound to its type and size, or imports audio from a public https URL. Files are validated by content and kept for 48 hours.

Body

FieldTypeDescription
filename requiredstring (1–200 chars)Shown back to you; never used as a path.
content_type requiredstring (3–100 chars)For example audio/wav, audio/mpeg, audio/flac, audio/mp4, audio/ogg, audio/webm or audio/aiff.
bytes requiredinteger 1–Exact size in bytes. Up to 104,857,600 (100 MiB) live and 26,214,400 (25 MiB) test; larger sizes get 413 upload_too_large.
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.
url requiredURL (0–2048 chars)Alternative form. A public https URL on port 443.
metadatamap of string (0–500 chars)Alternative form. Up to 20 keys (letters, digits, _ and -, at most 40 characters) with string values up to 500 characters. Stored and returned, never interpreted.

Headers: Authorization, Idempotency-Key, Content-Type: application/json

curl -X POST https://www.omegahumanizer.cloud/api/v1/files \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "filename": "demo-mix.wav",
  "content_type": "audio/wav",
  "bytes": 31752044
}'

Response 201

{
  "id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
  "object": "file",
  "livemode": true,
  "status": "awaiting_upload",
  "filename": "demo-mix.wav",
  "content_type": "audio/wav",
  "bytes": 31752044,
  "sha256": null,
  "duration_seconds": null,
  "channels": null,
  "sample_rate": null,
  "format": null,
  "source": "upload",
  "source_url": null,
  "upload": {
    "url": "https://storage.googleapis.com/omega-music-render/api/live/…?X-Goog-Signature=…",
    "method": "PUT",
    "headers": {
      "Content-Type": "audio/wav",
      "Content-Length": "31752044",
      "x-goog-if-generation-match": "0"
    },
    "expires_at": "2026-11-06T10:15:00.000Z"
  },
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "expires_at": "2026-11-07T10:00:00.000Z",
  "metadata": {}
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, parameter_missing, parameter_invalid, unsupported_media, upload_too_large, url_not_allowed, too_many_pending_uploads, rate_limited

Try it with a test key
GET/api/v1/files

List files

Lists files in this mode, newest first.

Query parameters

FieldTypeDescription
limitinteger 1–100Page size, 1 to 100. Default: 20.
starting_afterstring (0–40 chars)The id of the last object of the previous page.
curl https://www.omegahumanizer.cloud/api/v1/files \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
      "object": "file",
      "livemode": true,
      "status": "ready",
      "filename": "demo-mix.wav",
      "content_type": "audio/wav",
      "bytes": 31752044,
      "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
      "duration_seconds": 180,
      "channels": 2,
      "sample_rate": 44100,
      "format": "wav",
      "source": "upload",
      "source_url": null,
      "upload": null,
      "error": null,
      "created_at": "2026-11-06T10:00:00.000Z",
      "expires_at": "2026-11-08T10:00:00.000Z",
      "metadata": {}
    }
  ],
  "has_more": false,
  "url": "/v1/files"
}

Errors: parameter_invalid, parameter_unknown, resource_missing

Try it with a test key
GET/api/v1/files/{file_id}

Retrieve a file

Returns the file with its probed duration, channels, sample rate and SHA-256 once it is ready.

Path parameters

FieldTypeDescription
file_id requiredstring (file_…)The file id.
curl https://www.omegahumanizer.cloud/api/v1/files/file_9Qw2Er4Ty6Ui8Op1As3Df5Gh \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
  "object": "file",
  "livemode": true,
  "status": "ready",
  "filename": "demo-mix.wav",
  "content_type": "audio/wav",
  "bytes": 31752044,
  "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
  "duration_seconds": 180,
  "channels": 2,
  "sample_rate": 44100,
  "format": "wav",
  "source": "upload",
  "source_url": null,
  "upload": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "expires_at": "2026-11-08T10:00:00.000Z",
  "metadata": {}
}

Errors: resource_missing

Try it with a test key
DELETE/api/v1/files/{file_id}

Delete a file

Deletes the stored audio now. Jobs that already started keep their own copy.

Path parameters

FieldTypeDescription
file_id requiredstring (file_…)The file id.
curl -X DELETE https://www.omegahumanizer.cloud/api/v1/files/file_9Qw2Er4Ty6Ui8Op1As3Df5Gh \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
  "object": "file",
  "livemode": true,
  "status": "deleted",
  "filename": "demo-mix.wav",
  "content_type": "audio/wav",
  "bytes": 31752044,
  "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
  "duration_seconds": 180,
  "channels": 2,
  "sample_rate": 44100,
  "format": "wav",
  "source": "upload",
  "source_url": null,
  "upload": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "expires_at": "2026-11-08T10:00:00.000Z",
  "metadata": {}
}

Errors: resource_missing

Try it with a test key
POST/api/v1/files/{file_id}/complete

Finish an upload

Call after the PUT succeeds. The file moves to processing and becomes ready once it is probed.

Path parameters

FieldTypeDescription
file_id requiredstring (file_…)The file id.

Headers: Authorization, Idempotency-Key

curl -X POST https://www.omegahumanizer.cloud/api/v1/files/file_9Qw2Er4Ty6Ui8Op1As3Df5Gh/complete \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 202

{
  "id": "file_9Qw2Er4Ty6Ui8Op1As3Df5Gh",
  "object": "file",
  "livemode": true,
  "status": "processing",
  "filename": "demo-mix.wav",
  "content_type": "audio/wav",
  "bytes": 31752044,
  "sha256": null,
  "duration_seconds": null,
  "channels": null,
  "sample_rate": null,
  "format": null,
  "source": "upload",
  "source_url": null,
  "upload": null,
  "error": null,
  "created_at": "2026-11-06T10:00:00.000Z",
  "expires_at": "2026-11-07T10:00:00.000Z",
  "metadata": {}
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, resource_missing, upload_incomplete, state_conflict

Try it with a test key

Jobs

GET/api/v1/jobs

List jobs

Lists jobs in this mode, newest first, with cursor pagination.

Query parameters

FieldTypeDescription
type"song" | "stems" | "mastering"
status"queued" | "processing" | "in_review" | "completed" | "failed" | "canceled"
limitinteger 1–100Page size, 1 to 100. Default: 20.
starting_afterstring (0–40 chars)The id of the last object of the previous page.
curl https://www.omegahumanizer.cloud/api/v1/jobs?type=song&limit=20 \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
      "object": "job",
      "type": "song",
      "status": "completed",
      "livemode": true,
      "created_at": "2026-11-06T10:00:00.000Z",
      "started_at": "2026-11-06T10:00:03.000Z",
      "completed_at": "2026-11-06T10:03:12.000Z",
      "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": {
        "expires_at": "2026-11-08T10:03:12.000Z",
        "expired": false,
        "usage_restriction": null,
        "files": [
          {
            "id": "song_wav",
            "kind": "song",
            "format": "wav",
            "url": "https://storage.googleapis.com/omega-music-render/api/live/example.wav?X-Goog-Signature=…",
            "url_expires_at": "2026-11-06T11:03:12.000Z",
            "bytes": 53913668,
            "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
            "duration_seconds": 187.2
          },
          {
            "id": "song_mp3",
            "kind": "song",
            "format": "mp3",
            "url": "https://storage.googleapis.com/omega-music-render/api/live/example.mp3?X-Goog-Signature=…",
            "url_expires_at": "2026-11-06T11:03:12.000Z",
            "bytes": 7488000,
            "sha256": "1c3e5a7f9b0d2c4e6a8b0d1f3e5c7a9b2d4f6e8a0c1e3d5f7b9a2c4e6d8f0b1a",
            "duration_seconds": 187.2
          }
        ]
      },
      "usage": {
        "metered_on": "output_audio",
        "measured_seconds": 187.2,
        "billed_seconds": 188,
        "minimum_seconds": 60,
        "tracks": null,
        "rate_per_minute": "0.200000",
        "voice_rate_per_minute": null,
        "amount": "0.626667",
        "max_charge": "1.200000",
        "currency": "usd"
      },
      "error": null,
      "metadata": {
        "order_id": "A-1042"
      }
    }
  ],
  "has_more": false,
  "url": "/v1/jobs"
}

Errors: parameter_invalid, parameter_unknown, resource_missing

Try it with a test key
GET/api/v1/jobs/{job_id}

Retrieve a job

Returns the job with fresh signed download URLs once it is completed. Poll every few seconds or use webhooks.

Path parameters

FieldTypeDescription
job_id requiredstring (job_…)The job id.
curl https://www.omegahumanizer.cloud/api/v1/jobs/job_4f8Qk2Lr0aZp7Ycm1NvS6tWu \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
  "object": "job",
  "type": "song",
  "status": "completed",
  "livemode": true,
  "created_at": "2026-11-06T10:00:00.000Z",
  "started_at": "2026-11-06T10:00:03.000Z",
  "completed_at": "2026-11-06T10:03:12.000Z",
  "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": {
    "expires_at": "2026-11-08T10:03:12.000Z",
    "expired": false,
    "usage_restriction": null,
    "files": [
      {
        "id": "song_wav",
        "kind": "song",
        "format": "wav",
        "url": "https://storage.googleapis.com/omega-music-render/api/live/example.wav?X-Goog-Signature=…",
        "url_expires_at": "2026-11-06T11:03:12.000Z",
        "bytes": 53913668,
        "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
        "duration_seconds": 187.2
      },
      {
        "id": "song_mp3",
        "kind": "song",
        "format": "mp3",
        "url": "https://storage.googleapis.com/omega-music-render/api/live/example.mp3?X-Goog-Signature=…",
        "url_expires_at": "2026-11-06T11:03:12.000Z",
        "bytes": 7488000,
        "sha256": "1c3e5a7f9b0d2c4e6a8b0d1f3e5c7a9b2d4f6e8a0c1e3d5f7b9a2c4e6d8f0b1a",
        "duration_seconds": 187.2
      }
    ]
  },
  "usage": {
    "metered_on": "output_audio",
    "measured_seconds": 187.2,
    "billed_seconds": 188,
    "minimum_seconds": 60,
    "tracks": null,
    "rate_per_minute": "0.200000",
    "voice_rate_per_minute": null,
    "amount": "0.626667",
    "max_charge": "1.200000",
    "currency": "usd"
  },
  "error": null,
  "metadata": {
    "order_id": "A-1042"
  }
}

Errors: resource_missing

Try it with a test key
POST/api/v1/jobs/{job_id}/cancel

Cancel a job

Cancels a queued job and releases its hold. Jobs that have started cannot be canceled.

Path parameters

FieldTypeDescription
job_id requiredstring (job_…)The job id.

Headers: Authorization, Idempotency-Key

curl -X POST https://www.omegahumanizer.cloud/api/v1/jobs/job_4f8Qk2Lr0aZp7Ycm1NvS6tWu/cancel \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

{
  "id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
  "object": "job",
  "type": "song",
  "status": "canceled",
  "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": "0.000000",
    "max_charge": "1.200000",
    "currency": "usd"
  },
  "error": {
    "code": "canceled",
    "message": "The job was canceled before it started. Nothing was charged."
  },
  "metadata": {
    "order_id": "A-1042"
  }
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, resource_missing, job_not_cancelable

Try it with a test key

Webhooks

POST/api/v1/webhook_endpoints

Create a webhook endpoint

Registers an https URL for events in this mode. The signing secret is returned once.

Body

FieldTypeDescription
url requiredURL (0–2048 chars)A public https URL on port 443.
enabled_events requiredarray of "job.completed" | "job.failed" | "job.canceled" | "voice.awaiting_activation" | "voice.ready" | "voice.failed" | "*"Event types to send, or ["*"] for all.
descriptionstring (0–200 chars)

Headers: Authorization, Idempotency-Key, Content-Type: application/json

curl -X POST https://www.omegahumanizer.cloud/api/v1/webhook_endpoints \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com/omega/webhooks",
  "enabled_events": [
    "job.completed",
    "job.failed"
  ],
  "description": "Production listener"
}'

Response 201

{
  "id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
  "object": "webhook_endpoint",
  "livemode": true,
  "url": "https://example.com/omega/webhooks",
  "enabled_events": [
    "job.completed",
    "job.failed"
  ],
  "description": "Production listener",
  "status": "enabled",
  "secret": "whsec_3q2-7LmN0pQrStUvWxYz1A2b3C4d5E6f7G8h9I0jK1l",
  "created_at": "2026-11-06T10:00:00.000Z"
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, parameter_missing, parameter_invalid, url_not_allowed, state_conflict, service_unavailable

Try it with a test key
GET/api/v1/webhook_endpoints

List webhook endpoints

Lists endpoints in this mode.

Query parameters

FieldTypeDescription
limitinteger 1–100Page size, 1 to 100. Default: 20.
starting_afterstring (0–40 chars)The id of the last object of the previous page.
curl https://www.omegahumanizer.cloud/api/v1/webhook_endpoints \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
      "object": "webhook_endpoint",
      "livemode": true,
      "url": "https://example.com/omega/webhooks",
      "enabled_events": [
        "job.completed",
        "job.failed"
      ],
      "description": "Production listener",
      "status": "enabled",
      "created_at": "2026-11-06T10:00:00.000Z"
    }
  ],
  "has_more": false,
  "url": "/v1/webhook_endpoints"
}

Errors: parameter_invalid, parameter_unknown, resource_missing

Try it with a test key
GET/api/v1/webhook_endpoints/{endpoint_id}

Retrieve a webhook endpoint

Returns the endpoint. The secret is never returned again.

Path parameters

FieldTypeDescription
endpoint_id requiredstring (we_…)The webhook endpoint id.
curl https://www.omegahumanizer.cloud/api/v1/webhook_endpoints/we_4Er6Ty8Ui1Op3As5Df7Gh9Jk \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
  "object": "webhook_endpoint",
  "livemode": true,
  "url": "https://example.com/omega/webhooks",
  "enabled_events": [
    "job.completed",
    "job.failed"
  ],
  "description": "Production listener",
  "status": "enabled",
  "created_at": "2026-11-06T10:00:00.000Z"
}

Errors: resource_missing

Try it with a test key
POST/api/v1/webhook_endpoints/{endpoint_id}

Update a webhook endpoint

Changes the URL, events, description or status.

Path parameters

FieldTypeDescription
endpoint_id requiredstring (we_…)The webhook endpoint id.

Body

FieldTypeDescription
urlURL (0–2048 chars)
enabled_eventsarray of "job.completed" | "job.failed" | "job.canceled" | "voice.awaiting_activation" | "voice.ready" | "voice.failed" | "*"Event types to send, or ["*"] for all.
descriptionstring (0–200 chars) or null
status"enabled" | "disabled"

Headers: Authorization, Idempotency-Key, Content-Type: application/json

curl -X POST https://www.omegahumanizer.cloud/api/v1/webhook_endpoints/we_4Er6Ty8Ui1Op3As5Df7Gh9Jk \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled_events": [
    "*"
  ]
}'

Response 200

{
  "id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
  "object": "webhook_endpoint",
  "livemode": true,
  "url": "https://example.com/omega/webhooks",
  "enabled_events": [
    "*"
  ],
  "description": "Production listener",
  "status": "enabled",
  "created_at": "2026-11-06T10:00:00.000Z"
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, parameter_invalid, resource_missing, url_not_allowed

Try it with a test key
DELETE/api/v1/webhook_endpoints/{endpoint_id}

Delete a webhook endpoint

Stops all deliveries to the endpoint.

Path parameters

FieldTypeDescription
endpoint_id requiredstring (we_…)The webhook endpoint id.
curl -X DELETE https://www.omegahumanizer.cloud/api/v1/webhook_endpoints/we_4Er6Ty8Ui1Op3As5Df7Gh9Jk \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
  "object": "webhook_endpoint",
  "deleted": true
}

Errors: resource_missing

Try it with a test key
POST/api/v1/webhook_endpoints/{endpoint_id}/rotate_secret

Rotate the signing secret

Returns a new secret. The old secret keeps signing for 24 hours, so both verify during the switch.

Path parameters

FieldTypeDescription
endpoint_id requiredstring (we_…)The webhook endpoint id.

Headers: Authorization, Idempotency-Key

curl -X POST https://www.omegahumanizer.cloud/api/v1/webhook_endpoints/we_4Er6Ty8Ui1Op3As5Df7Gh9Jk/rotate_secret \
  -H "Authorization: Bearer $OMEGA_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response 200

{
  "id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
  "object": "webhook_endpoint",
  "livemode": true,
  "url": "https://example.com/omega/webhooks",
  "enabled_events": [
    "job.completed",
    "job.failed"
  ],
  "description": "Production listener",
  "status": "enabled",
  "secret": "whsec_3q2-7LmN0pQrStUvWxYz1A2b3C4d5E6f7G8h9I0jK1l",
  "created_at": "2026-11-06T10:00:00.000Z"
}

Errors: idempotency_key_required, idempotency_key_invalid, idempotency_key_in_use, idempotency_key_reused, invalid_json, parameter_unknown, resource_missing, service_unavailable

Try it with a test key

Events

GET/api/v1/events

List events

Lists events in this mode for the last 30 days, newest first.

Query parameters

FieldTypeDescription
type"job.completed" | "job.failed" | "job.canceled" | "voice.awaiting_activation" | "voice.ready" | "voice.failed"
limitinteger 1–100Page size, 1 to 100. Default: 20.
starting_afterstring (0–40 chars)The id of the last object of the previous page.
curl https://www.omegahumanizer.cloud/api/v1/events \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "evt_1As3Df5Gh7Jk9Lz2Xc4Vb6Nm",
      "object": "event",
      "type": "job.completed",
      "livemode": true,
      "created_at": "2026-11-06T10:03:12.000Z",
      "api_version": "2026-11-05",
      "data": {
        "object": {
          "id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
          "object": "job",
          "type": "song",
          "status": "completed",
          "livemode": true,
          "created_at": "2026-11-06T10:00:00.000Z",
          "started_at": "2026-11-06T10:00:03.000Z",
          "completed_at": "2026-11-06T10:03:12.000Z",
          "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": {
            "expires_at": "2026-11-08T10:03:12.000Z",
            "expired": false,
            "usage_restriction": null,
            "files": [
              {
                "id": "song_wav",
                "kind": "song",
                "format": "wav",
                "url": null,
                "url_expires_at": null,
                "bytes": 53913668,
                "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
                "duration_seconds": 187.2
              },
              {
                "id": "song_mp3",
                "kind": "song",
                "format": "mp3",
                "url": null,
                "url_expires_at": null,
                "bytes": 7488000,
                "sha256": "1c3e5a7f9b0d2c4e6a8b0d1f3e5c7a9b2d4f6e8a0c1e3d5f7b9a2c4e6d8f0b1a",
                "duration_seconds": 187.2
              }
            ]
          },
          "usage": {
            "metered_on": "output_audio",
            "measured_seconds": 187.2,
            "billed_seconds": 188,
            "minimum_seconds": 60,
            "tracks": null,
            "rate_per_minute": "0.200000",
            "voice_rate_per_minute": null,
            "amount": "0.626667",
            "max_charge": "1.200000",
            "currency": "usd"
          },
          "error": null,
          "metadata": {
            "order_id": "A-1042"
          }
        }
      }
    }
  ],
  "has_more": false,
  "url": "/v1/events"
}

Errors: parameter_invalid, parameter_unknown, resource_missing

Try it with a test key
GET/api/v1/events/{event_id}

Retrieve an event

Returns the event and its delivery attempts.

Path parameters

FieldTypeDescription
event_id requiredstring (evt_…)The event id.
curl https://www.omegahumanizer.cloud/api/v1/events/evt_1As3Df5Gh7Jk9Lz2Xc4Vb6Nm \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "id": "evt_1As3Df5Gh7Jk9Lz2Xc4Vb6Nm",
  "object": "event",
  "type": "job.completed",
  "livemode": true,
  "created_at": "2026-11-06T10:03:12.000Z",
  "api_version": "2026-11-05",
  "data": {
    "object": {
      "id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
      "object": "job",
      "type": "song",
      "status": "completed",
      "livemode": true,
      "created_at": "2026-11-06T10:00:00.000Z",
      "started_at": "2026-11-06T10:00:03.000Z",
      "completed_at": "2026-11-06T10:03:12.000Z",
      "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": {
        "expires_at": "2026-11-08T10:03:12.000Z",
        "expired": false,
        "usage_restriction": null,
        "files": [
          {
            "id": "song_wav",
            "kind": "song",
            "format": "wav",
            "url": null,
            "url_expires_at": null,
            "bytes": 53913668,
            "sha256": "9b1f3f0e4c2d6a8b7e5f1a3c9d0b2e4f6a8c1e3d5b7f9a0c2e4d6f8b1a3c5e7d",
            "duration_seconds": 187.2
          },
          {
            "id": "song_mp3",
            "kind": "song",
            "format": "mp3",
            "url": null,
            "url_expires_at": null,
            "bytes": 7488000,
            "sha256": "1c3e5a7f9b0d2c4e6a8b0d1f3e5c7a9b2d4f6e8a0c1e3d5f7b9a2c4e6d8f0b1a",
            "duration_seconds": 187.2
          }
        ]
      },
      "usage": {
        "metered_on": "output_audio",
        "measured_seconds": 187.2,
        "billed_seconds": 188,
        "minimum_seconds": 60,
        "tracks": null,
        "rate_per_minute": "0.200000",
        "voice_rate_per_minute": null,
        "amount": "0.626667",
        "max_charge": "1.200000",
        "currency": "usd"
      },
      "error": null,
      "metadata": {
        "order_id": "A-1042"
      }
    }
  },
  "deliveries": [
    {
      "id": "whd_2Xc4Vb6Nm8Qw1Er3Ty5Ui7Op",
      "endpoint_id": "we_4Er6Ty8Ui1Op3As5Df7Gh9Jk",
      "state": "succeeded",
      "attempts": 1,
      "next_attempt_at": null,
      "log": [
        {
          "at": "2026-11-06T10:03:13.000Z",
          "status": 200,
          "ms": 182,
          "error": null
        }
      ]
    }
  ]
}

Errors: resource_missing

Try it with a test key

Billing

GET/api/v1/balance

Retrieve the balance

Returns the available, held and soon-expiring live balance in USD. Test mode returns zeros.

curl https://www.omegahumanizer.cloud/api/v1/balance \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "balance",
  "livemode": true,
  "currency": "usd",
  "available": "548.373333",
  "held": "1.200000",
  "expiring": [
    {
      "amount": "548.373333",
      "expires_at": "2027-11-06T10:00:00.000Z"
    }
  ]
}
Try it with a test key
GET/api/v1/usage

List usage records

One record per billed job or voice, with measured and billed seconds, the rate and the amount.

Query parameters

FieldTypeDescription
job_type"song" | "stems" | "mastering" | "voice"
limitinteger 1–100Page size, 1 to 100. Default: 20.
starting_afterstring (0–40 chars)The id of the last object of the previous page.
curl https://www.omegahumanizer.cloud/api/v1/usage \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "job_4f8Qk2Lr0aZp7Ycm1NvS6tWu",
      "object": "usage_record",
      "livemode": true,
      "job_type": "song",
      "metered_on": "output_audio",
      "measured_seconds": 187.2,
      "billed_seconds": 188,
      "tracks": null,
      "rate_per_minute": "0.200000",
      "amount": "0.626667",
      "created_at": "2026-11-06T10:03:12.000Z"
    }
  ],
  "has_more": false,
  "url": "/v1/usage"
}

Errors: parameter_invalid, parameter_unknown, resource_missing

Try it with a test key
GET/api/v1/usage/summary

Summarize usage

Totals per product for a period of at most 366 days (UTC dates).

Query parameters

FieldTypeDescription
start requireddateFirst day, YYYY-MM-DD (UTC).
end requireddateLast day, YYYY-MM-DD (UTC), at most 366 days after start.
curl https://www.omegahumanizer.cloud/api/v1/usage/summary?start=2026-11-01&end=2026-11-30 \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "usage_summary",
  "livemode": true,
  "start": "2026-11-01",
  "end": "2026-11-30",
  "currency": "usd",
  "total_amount": "13.546667",
  "products": {
    "song": {
      "jobs": 41,
      "billed_seconds": 4064,
      "tracks": 0,
      "amount": "13.546667"
    },
    "stems": {
      "jobs": 0,
      "billed_seconds": 0,
      "tracks": 0,
      "amount": "0.000000"
    },
    "mastering": {
      "jobs": 0,
      "billed_seconds": 0,
      "tracks": 0,
      "amount": "0.000000"
    },
    "voice": {
      "jobs": 0,
      "billed_seconds": 0,
      "tracks": 0,
      "amount": "0.000000"
    }
  }
}

Errors: parameter_missing, parameter_invalid, parameter_unknown

Try it with a test key

Availability

GET/api/v1/availability

Check product availability

Reports which products live keys can use right now. Test keys see every product as available.

curl https://www.omegahumanizer.cloud/api/v1/availability \
  -H "Authorization: Bearer $OMEGA_API_KEY"

Response 200

{
  "object": "availability",
  "livemode": true,
  "products": {
    "songs": {
      "available": true,
      "status": "available",
      "doc_url": "https://www.omegahumanizer.cloud/developers/docs/songs"
    },
    "mastering": {
      "available": true,
      "status": "available",
      "doc_url": "https://www.omegahumanizer.cloud/developers/docs/mastering"
    },
    "stems": {
      "available": false,
      "status": "coming_soon",
      "doc_url": "https://www.omegahumanizer.cloud/developers/docs/stems"
    },
    "voices": {
      "available": false,
      "status": "coming_soon",
      "doc_url": "https://www.omegahumanizer.cloud/developers/docs/voices"
    },
    "voiced_songs": {
      "available": false,
      "status": "coming_soon",
      "doc_url": "https://www.omegahumanizer.cloud/developers/docs/songs#custom-voice"
    }
  }
}
Try it with a test key