codai-sdk 0.70.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +62 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13799,6 +13799,8 @@ type components$1 = {
|
|
|
13799
13799
|
readonly id: string;
|
|
13800
13800
|
/** @enum {string} */
|
|
13801
13801
|
readonly language: 'ro' | 'en';
|
|
13802
|
+
/** @description What the critic heard on the master of the latest round (MR-11): measured listening features of codai-studio-media (spectral, dynamics, stereo width, a 16-point loudness timeline) with Meta Audiobox Aesthetics (CE content enjoyment, CU content usefulness, PC production complexity, PQ production quality, about 1-10), and a Gemini listener's verdict (0-10 impressions, timestamped notes, audible AI tells). null before the critic ran. Either half is null when that listener was unavailable; when both are, the song carries the `critic_text_only` warning. */
|
|
13803
|
+
readonly listening: components$1['schemas']['MusicRoomListening'] | null;
|
|
13802
13804
|
/** @enum {string} */
|
|
13803
13805
|
readonly object: 'studio.music_room';
|
|
13804
13806
|
/**
|
|
@@ -13831,7 +13833,7 @@ type components$1 = {
|
|
|
13831
13833
|
readonly track_id?: string | null;
|
|
13832
13834
|
}[];
|
|
13833
13835
|
readonly title: string | null;
|
|
13834
|
-
/** @description Non-fatal notes. Voice passport values: `voice_passport_beta` (sung with your voice, beta: approximates your timbre), `voice_passport_needs_singing_consent` (the voice has no active singing consent, or it was revoked during the song), `voice_passport_not_found` (not one of your active voices), `voice_passport_unavailable` (voice cloning is not enabled for your account, or the voice is paused), `voice_passport_lyrics_refused` (the lyrics failed the voice-safety text check, so the passport was not used). Others: `artist_reference_removed: N`, `vocal_asr_check_unavailable`, `critic_text_only
|
|
13836
|
+
/** @description Non-fatal notes. Voice passport values: `voice_passport_beta` (sung with your voice, beta: approximates your timbre), `voice_passport_needs_singing_consent` (the voice has no active singing consent, or it was revoked during the song), `voice_passport_not_found` (not one of your active voices), `voice_passport_unavailable` (voice cloning is not enabled for your account, or the voice is paused), `voice_passport_lyrics_refused` (the lyrics failed the voice-safety text check, so the passport was not used). Others: `artist_reference_removed: N`, `vocal_asr_check_unavailable`, `critic_text_only` (the critic could not listen to the master and judged from the score), `<step>_skipped: <reason>`. */
|
|
13835
13837
|
readonly warnings: readonly string[];
|
|
13836
13838
|
};
|
|
13837
13839
|
/**
|
|
@@ -13864,8 +13866,8 @@ type components$1 = {
|
|
|
13864
13866
|
/** @description What the song is for and how it should feel: occasion, mood, story, audience (10–2,000 characters; no artist names). */
|
|
13865
13867
|
readonly brief: string;
|
|
13866
13868
|
/**
|
|
13867
|
-
* @description Spending cap for one song beyond the plan quota, in micro-USD (default
|
|
13868
|
-
* @default
|
|
13869
|
+
* @description Spending cap for one song beyond the plan quota, in micro-USD (default 10,000,000 = $10, max 20,000,000).
|
|
13870
|
+
* @default 10000000
|
|
13869
13871
|
*/
|
|
13870
13872
|
readonly budget_micro_usd?: number;
|
|
13871
13873
|
/** @description Target length in seconds (max 4 minutes). */
|
|
@@ -13910,6 +13912,63 @@ type components$1 = {
|
|
|
13910
13912
|
/** @enum {string} */
|
|
13911
13913
|
readonly object: 'list';
|
|
13912
13914
|
};
|
|
13915
|
+
/** Music Room listening */
|
|
13916
|
+
readonly MusicRoomListening: {
|
|
13917
|
+
/** @description Measured listening features of the master (codai-studio-media). `null` when the measurement was unavailable. */
|
|
13918
|
+
readonly features: {
|
|
13919
|
+
/** @description Meta Audiobox Aesthetics, about 1-10: CE content enjoyment, CU content usefulness, PC production complexity, PQ production quality. `null` when unavailable. */
|
|
13920
|
+
readonly aesthetics?: {
|
|
13921
|
+
readonly CE: number;
|
|
13922
|
+
readonly CU: number;
|
|
13923
|
+
readonly PC: number;
|
|
13924
|
+
readonly PQ: number;
|
|
13925
|
+
} | null;
|
|
13926
|
+
/** @description Crest factor in dB (peak to RMS; low means heavily compressed). */
|
|
13927
|
+
readonly crest_factor_db?: number | null;
|
|
13928
|
+
/** @description Length of the master in seconds. */
|
|
13929
|
+
readonly duration_seconds?: number | null;
|
|
13930
|
+
/** @description Loudness range in LU. */
|
|
13931
|
+
readonly loudness_range_lu?: number | null;
|
|
13932
|
+
/** @description Integrated loudness in LUFS for each 1/16 of the song (16 points; `null` for a silent slice). */
|
|
13933
|
+
readonly loudness_timeline_lufs?: readonly (number | null)[];
|
|
13934
|
+
/** @description Coefficient of variation of the onset rate (how much the rhythmic density changes). */
|
|
13935
|
+
readonly onset_rate_cv?: number | null;
|
|
13936
|
+
/** @description Note onsets per second. */
|
|
13937
|
+
readonly onset_rate_per_s?: number | null;
|
|
13938
|
+
/** @description Mean spectral centroid (brightness) in Hz. */
|
|
13939
|
+
readonly spectral_centroid_hz?: number | null;
|
|
13940
|
+
/** @description Standard deviation of the spectral centroid in Hz. */
|
|
13941
|
+
readonly spectral_centroid_std_hz?: number | null;
|
|
13942
|
+
/** @description Mean spectral flatness (0 tonal, 1 noise-like). */
|
|
13943
|
+
readonly spectral_flatness?: number | null;
|
|
13944
|
+
/** @description Stereo width (0 mono, higher is wider). */
|
|
13945
|
+
readonly stereo_width?: number | null;
|
|
13946
|
+
} | null;
|
|
13947
|
+
/** @description The listener model. */
|
|
13948
|
+
readonly model: string | null;
|
|
13949
|
+
/** @description The Gemini listener's verdict. `null` when the listener was unavailable. */
|
|
13950
|
+
readonly verdict: {
|
|
13951
|
+
/** @description Up to 6 audible signs of AI or MIDI generation (empty if none). */
|
|
13952
|
+
readonly ai_tells: readonly string[];
|
|
13953
|
+
/** @description Impressions from 0 to 10 per aspect; `vocals` is `null` for an instrumental. */
|
|
13954
|
+
readonly impressions: {
|
|
13955
|
+
readonly genre_fit: number;
|
|
13956
|
+
readonly groove: number;
|
|
13957
|
+
readonly humanness: number;
|
|
13958
|
+
readonly melody: number;
|
|
13959
|
+
readonly mix: number;
|
|
13960
|
+
readonly vocals: number | null;
|
|
13961
|
+
};
|
|
13962
|
+
/** @description Up to 8 timestamped notes. */
|
|
13963
|
+
readonly notes: readonly {
|
|
13964
|
+
/** @description Position in the master, in seconds. */
|
|
13965
|
+
readonly at_seconds: number;
|
|
13966
|
+
readonly note: string;
|
|
13967
|
+
}[];
|
|
13968
|
+
/** @description One-paragraph summary of what the listener heard. */
|
|
13969
|
+
readonly summary: string;
|
|
13970
|
+
} | null;
|
|
13971
|
+
};
|
|
13913
13972
|
/** Music Room plan variant */
|
|
13914
13973
|
readonly MusicRoomPlanVariant: {
|
|
13915
13974
|
readonly bpm: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codai-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.71.0",
|
|
4
4
|
"description": "Official TypeScript SDK for the codai AI gateway - chat, messages, responses, streaming, agents, tasks, sessions, devices, hosts, orgs, account.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|