Skip to main content

NativeMusicResult

One correlated completed result whose bytes remain in the private worker.

request_idRequest Id (string)required

Exactly the accepted native request identity.

Possible values: Value must match regular expression ^[A-Za-z0-9][A-Za-z0-9_.:-]{0,159}$

model_identityModel Identity (string)required

Actual loaded immutable model selection.

Possible values: Value must match regular expression ^[0-9a-f]{64}$

payload_sha256Payload Sha256 (string)required

Actual sealed native runtime payload.

Possible values: Value must match regular expression ^[0-9a-f]{64}$

operationOperation (string)required

Operation that produced the result.

Possible values: [generate, add_part, repaint, continue]

seedSeed (integer)required

Actual resolved seed used for this request.

Possible values: >= 0 and <= 4294967295

source_sha256 object

Original context identity; absent only for generation.

anyOf
string

Possible values: Value must match regular expression ^[0-9a-f]{64}$

conditioning_sha256 object

Actual canonical/resampled and, for Continue, padded context WAV consumed by the model.

anyOf
string

Possible values: Value must match regular expression ^[0-9a-f]{64}$

conditioning_gain object

Explicit shared context attenuation, when needed to avoid upstream input clipping; original bytes remain unchanged.

anyOf
number

Possible values: > 0 and <= 1

conditioning_padding_framesConditioning Padding Frames (integer)

Zero samples appended beyond the requested edit extent solely for codec alignment; excludes Continue's requested extension.

Possible values: >= 0 and <= 1919

Default value: 0
padding_frames_removedPadding Frames Removed (integer)

Only the pinned decoder minimum or explicitly aligned conditioning tail removed from an edit; never an arbitrary length repair.

Possible values: >= 0 and <= 197760

Default value: 0
execution objectrequired

Observed loaded component placement/precision after this request.

deviceDevice (string)required

Observed diffusion transformer compute lane.

Possible values: [cpu, mps, cuda, rocm]

precisionPrecision (string)required

Observed diffusion transformer tensor precision.

Possible values: [float32, bfloat16, float16]

text_encoder_deviceText Encoder Device (string)required

Observed text encoder placement.

Possible values: [cpu, mps, cuda, rocm]

text_encoder_precisionText Encoder Precision (string)required

Observed text encoder tensor precision.

Possible values: [float32, bfloat16, float16]

autoencoder_deviceAutoencoder Device (string)required

Observed audio autoencoder placement.

Possible values: [cpu, mps, cuda, rocm]

autoencoder_precisionAutoencoder Precision (string)required

Observed audio autoencoder precision, independently of the diffusion transformer.

Possible values: [float32, bfloat16, float16]

output objectrequired

Measured WAV facts, verified again by Core before transport.

content_typeContent Type (string)

PCM WAV result encoding.

Constant value: audio/wav
Default value: audio/wav
sha256Sha256 (string)required

SHA-256 of every encoded output byte.

Possible values: Value must match regular expression ^[0-9a-f]{64}$

size_bytesSize Bytes (integer)required

Complete encoded result, capped at 64 MiB.

Possible values: >= 44 and <= 67108864

framesFrames (integer)required

Actual aligned native output frames.

Possible values: >= 48000 and <= 5760000

sample_rateSample Rate (integer)

Preserved native ACE output sampling rate.

Constant value: 48000
Default value: 48000
channelsChannels (integer)

Native stereo output.

Constant value: 2
Default value: 2
bit_depthBit Depth (integer)

Signed integer PCM production export.

Constant value: 24
Default value: 24
peakPeak (number)required

Measured encoded absolute sample peak.

Possible values: >= 0 and <= 1

gainGain (number)required

Only attenuation needed to avoid integer PCM clipping; no loudness normalization.

Possible values: > 0 and <= 1

generation_secondsGeneration Seconds (number)required

Measured model execution time.

Possible values: > 0

NativeMusicResult
{
"request_id": "string",
"model_identity": "string",
"payload_sha256": "string",
"operation": "generate",
"seed": 0,
"source_sha256": "string",
"conditioning_sha256": "string",
"conditioning_gain": 0,
"conditioning_padding_frames": 0,
"padding_frames_removed": 0,
"execution": {
"device": "cpu",
"precision": "float32",
"text_encoder_device": "cpu",
"text_encoder_precision": "float32",
"autoencoder_device": "cpu",
"autoencoder_precision": "float32"
},
"output": {
"content_type": "audio/wav",
"sha256": "string",
"size_bytes": 0,
"frames": 0,
"sample_rate": 48000,
"channels": 2,
"bit_depth": 24,
"peak": 0,
"gain": 0
},
"generation_seconds": 0
}