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": {}}job_id*stringRequest succeeded
application/json- response
estimate_detail*id*Idreserved_credits*Reserved Creditsstatus*JobStatusValue in
"queued""processing""succeeded""failed""cancelled"type*JobTypeValue in
"tts""avatar""video""video_analysis""image""voice_design""audio_composition"