Submit an asynchronous transcription job
Submits a ready upload to a published STT model with async support. The server validates decoded samples before reserving the full duration in the existing STT wallet. Original input is at most five hours and 5 GiB, within the model’s separate limits.
Invalid audio is uncharged. Insufficient credit enters awaiting_credits without recognition work. A submitted job survives client disconnects and ordinary browser session expiry.
Word timing is opt-in acoustic forced alignment in a qualified language; unaligned words have null times. Keep one stable Idempotency-Key per logical job. See file jobs.
inferenceBearerAuthAuthorizationBearer <token>Use an Inference API key. Access and keys.
Idempotency-Key*stringRequired. Reuse the same key to retry this write safely. Retries and idempotency.
^[A-Za-z0-9!#$%&'*+.^_`|~-]+$1 <= length <= 255application/json- body
upload_id*stringuuidmodel*string1 <= length <= 80language?string"ar""ar""en""auto"timestamp_granularity?string"none""none""chunk""word"webhook_config_id?stringuuidSubmit an asynchronous transcription job
application/json- response
id*stringuuidupload_id*stringuuidmodel*stringlanguage*string"ar""en""auto"timestamp_granularity*string"none""chunk""word"status*string"validating""awaiting_credits""queued""processing""finalizing""completed""failed""cancelled"phase*stringCurrent preparation, capacity, recognition, alignment, finalization or terminal phase.
duration_ms*|nullprogress*request_id*|nullerror_code*|nullcreated_at*stringdate-timeupdated_at*stringdate-timedeadline_at*stringdate-timecompleted_at*|nullresult_expires_at*|nullcontent_expired*booleanhas_partial_result*booleancurl -X POST 'https://api.kejue.co/v1/inference/transcription-jobs' \ -H 'Idempotency-Key: string' \ -H 'Content-Type: application/json' \ -d '{ "upload_id": "f2ef591b-135b-46fa-a604-3d4fda5bfbfb", "model": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "upload_id": "f2ef591b-135b-46fa-a604-3d4fda5bfbfb", "model": "string", "language": "ar", "timestamp_granularity": "none", "status": "validating", "phase": "string", "duration_ms": 0, "progress": { "total_chunks": 0, "completed_chunks": 0, "processed_ms": 0 }, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "error_code": "invalid_audio", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "deadline_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z", "result_expires_at": "2019-08-24T14:15:22Z", "content_expired": true, "has_partial_result": true}