Audio modelsAPI referenceResume an audio composition

Resume an audio composition

Resume a failed or stopped audio composition: completed segments are kept, and only unfinished segments are generated or the mix is redone. If any segment is still processing, wait for it to finish before resuming.

Authentication

API Key: X-API-Key: <API Key> or Authorization: Bearer <API Key>.

Credentials in the examples are placeholders. Replace them and run the examples on your server.

Code examples

curl -X POST 'https://shixux.com/api/v1/audio/compositions/job_id_example/retry' \  -H 'X-API-Key: yb_xxx_yyy'
{  "id": "job_xxx",  "type": "tts",  "status": "queued",  "reserved_credits": 1,  "estimate_detail": {}}

Path Parameters

job_id*string

Response Body

Request succeeded

application/json
  1. response
estimate_detail*
id*Id
reserved_credits*Reserved Credits
status*JobStatus
Value in"queued""processing""succeeded""failed""cancelled"
type*JobType
Value in"tts""avatar""video""video_analysis""image""voice_design""audio_composition"

On this page