Jobs, polling and downloads

Every render is an asynchronous job. Statuses, polling, cancel, outputs with signed URLs, usage and failure codes.

StatusMeaning
queuedAdmitted and funded; waiting for a renderer. Cancelable.
processingRendering.
in_reviewWaiting for operator review (stems and custom-voice songs).
completedoutput.files has signed download URLs. Charged the metered amount.
failederror.code says why. Nothing charged.
canceledCanceled while queued. Nothing charged.
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

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

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

Polling

Poll GET /v1/jobs/{id} every 3 to 5 seconds; a webhook is cheaper. Every admitted job has an absolute deadline (3 hours; 30 hours for custom-voice songs), after which it fails with render_timeout at no charge.

Outputs

Download URLs are signed and last at most 1 hour (5 minutes for custom-voice songs). Webhook payloads carry no URLs; fetch the job for fresh ones. Outputs are deleted 48 hours after completion; after that output.expired is true and files is empty.

Failure codes

error.codeMeaning
render_failedThe render failed. Nothing was charged.
render_timeoutThe render did not finish in time. Nothing was charged.
queue_timeoutThe job waited too long to start. Nothing was charged.
capacity_unavailableWe could not start the render. Nothing was charged.
postprocess_failedThe loudness step failed. Nothing was charged.
input_unreadableWe could not read the input audio. Nothing was charged.
cover_melody_unreadableWe could not read a melody from the cover source. Nothing was charged.
cover_source_too_fragmentedThe cover source is too fragmented to follow. Nothing was charged.
cover_lyrics_too_denseThe lyrics do not fit the source melody. Nothing was charged.
cover_quality_failedThe cover did not pass quality checks. Nothing was charged.
review_rejectedThe output was not approved in review. Nothing was charged.
review_expiredThe output was not reviewed in time. Nothing was charged.
voice_unavailableThe voice is no longer available. Nothing was charged.
recording_rejectedA recording was rejected. Nothing was charged.
enrollment_failedThe voice could not be created. Nothing was charged.
canceledThe job was canceled before it started. Nothing was charged.
account_suspendedThe organization was suspended before the job started. Nothing was charged.
unsupported_mediaThe input is not a supported audio format. Nothing was charged.
upload_too_largeThe input is larger than the size limit. Nothing was charged.
upload_incompleteThe input upload did not complete. Nothing was charged.
url_fetch_failedWe could not fetch the input URL. Nothing was charged.
audio_too_longThe input is longer than this product accepts. Nothing was charged.
audio_too_shortThe input is shorter than this product accepts. Nothing was charged.
unsupported_media_for_productThe input format is not supported for this product. Nothing was charged.
processing_failedWe could not process the input. Nothing was charged.