Idempotency-Keyheader · OptionalUnique key for one logical write. Retrying the same body with the same key replays the original result; reusing it with a different body returns 409.
Maximum characters: 255./api/v1/audio/rendersAuthentication · x-api-key
Crop, reorder, repeat and apply linear fades to segments of one public MP3/WAV source. Segments play in array order; repeat is the total play count and each copy includes its fades. Times use [startSeconds,endSeconds), rounded to the nearest output sample (half up). Defaults: WAV PCM16, 48 kHz, stereo; MP3 uses 192 kbps. Limits: 200 MiB, 15-minute source, mono/stereo at 44.1/48 kHz, 64 expanded segments, 30-minute output. Billed once per started output minute; maxCredits caps the quote. Accepted tasks use the shared Task lifecycle; final failures without delivery refund credits. Outputs are retained for 14 days; query the task to refresh download URLs (at most one hour). Idempotency-Key is recommended for safe retries.
Idempotency-Keyheader · OptionalUnique key for one logical write. Retrying the same body with the same key replays the original result; reusing it with a different body returns 409.
Maximum characters: 255.Unknown fields are not accepted.
segmentsRequiredSegments in playback order; at most 64 copies after repetition and 30 minutes total output.
Minimum items: 1. Maximum items: 64.
segments[]Each itemUnknown fields are not accepted.
segments[].endSecondsRequiredExclusive end in source seconds; must exceed the start and fit the decoded source.
Maximum: 900. Exclusive lower bound: 0.
segments[].startSecondsRequiredInclusive start in source seconds, rounded to the nearest output sample (half up).
Minimum: 0. Maximum: 900.
segments[].fadeInSecondsOptionalLinear fade-in duration. A positive fade must span at least two output samples.
Minimum: 0. Maximum: 900. Default: 0.
segments[].fadeOutSecondsOptionalLinear fade-out duration. Both fades combined must fit the segment.
Minimum: 0. Maximum: 900. Default: 0.
segments[].repeatOptionalTotal copies of this segment; fades apply to every copy.
Minimum: 1. Maximum: 64. Default: 1. Must match at least one alternative.
segments[].repeat · anyOf 1AlternativeFormat: integer. Default: 0.
segments[].repeat · anyOf 2AlternativeTotal copies of this segment; fades apply to every copy.
Minimum: 1. Maximum: 64. Default: 1.
sourceUrlRequiredPublic HTTP(S) URL of one MP3 or uncompressed PCM WAV source.
Maximum characters: 8192. Format: uri.
maxCreditsOptionalMaximum authorized credit charge; a higher quote rejects creation before debit.
Minimum: 0.
outputOptionalOutput settings; defaults to WAV PCM16, 48 kHz, stereo.
Unknown fields are not accepted.
output.channelsOptionalOutput channels: 1 for mono or 2 for stereo.
Default: 2.
output.formatOptionalOutput encoding: WAV PCM16 or MP3 at 192 kbps.
Default: "wav".
output.sampleRateOptionalOutput sample rate in Hz.
Default: 48000.
webhookUrlOptionalOptional HTTPS destination for standard Task completion notifications.
Maximum characters: 2048. Format: uri.
application/json
creditsRequiredRequiredAccepted credit charge for this edit.
pollUrlRequiredRelative Task read URL, resolved against the API base URL.
statusRequiredTask status at acceptance.
taskIdRequiredAccepted Task identifier.
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
Response for status 403 Forbidden: API-key scope/IP restrictions or billing hold. A positive balance does not bypass payment review. Check GET /api/v1/account/credits billingStatus before further paid requests.
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
Request allowance or task admission capacity exceeded. Follow Retry-After when present; otherwise wait for active tasks and use bounded backoff. Limits do not guarantee throughput. For SSE, this is the HTTP connection response, not an event.
application/json
errorRequirederror.codeRequiredRATE_LIMITED for request and task admission rejections.
error.messageRequirederror.detailsOptionalOptional and scope-dependent. Request limits supply scope/policy/type/limit/current/retryAfterSec. Task admission supplies inFlight/limit/tier, plus scope=apiKey for a key cap. IP rejection can omit details. In-flight rejection does not promise Retry-After.
error.details.currentOptionalMinimum: 0.
error.details.inFlightOptionalMinimum: 0.
error.details.limitOptionalMinimum: 0.
error.details.policyOptionalerror.details.retryAfterSecOptionalMinimum: 1.
error.details.scopeOptionalerror.details.tierOptionalerror.details.typeOptionalsuccessRequiredDefault: false.
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses
application/json
errorRequirederror.codeRequiredApplication-specific error code (see error catalog)
error.messageRequiredHuman readable error message
error.detailsOptionalAdditional error details (optional)
successRequiredAlways false for error responses