Start an audio generation operation
Start an audio generation operation.
Authorizations
Mint API key sent as a Bearer token.
Headers
Optional stable key for safely retrying an uncertain mutating request. Mint creates an internal key when this header is omitted. Reusing a supplied key with different parameters returns 409.
1 - 255Body
Instructions for creating one Audio asset.
Describe the sound, ambience, or music Mint should create.
1 - 8000Whether to create a short sound effect or general Audio.
sound_effect, general_audio Optional Audio title shown in Mint; Mint derives one from the prompt when omitted.
1 - 120Quality, speed, and cost tier for Audio generation.
fast, standard, production Requested Audio duration in seconds, up to five minutes.
x <= 300Response
An earlier request with the same retry key returned this operation.
A long-running operation acting on one Mint audio.
Stable object discriminator.
"operation"Mint operation ID used for polling.
The work this operation performs.
audio_generation Workflow mode for this operation.
auto, review Current operation lifecycle status.
queued, running, preview_ready, billing_required, succeeded, partially_succeeded, failed, canceled The Mint asset created by this operation, or null before the asset exists.
When the operation was created.
When the operation last changed.
Developer-supplied generation brief or revision feedback.
Public generation preset selected for this operation.
fast, standard, production The billing action required before this operation can continue.
Credit estimate, active reservation, finalized charge, and post-reservation balance for this operation.
Terminal failure details when the operation failed.
When the operation completed.
When the operation was canceled.