620 lines
21 KiB
TypeScript
620 lines
21 KiB
TypeScript
import { z } from 'zod';
|
|
export declare const GenerateMusicSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
vocalGender: z.ZodOptional<z.ZodEnum<["m", "f"]>>;
|
|
styleWeight: z.ZodOptional<z.ZodNumber>;
|
|
weirdnessConstraint: z.ZodOptional<z.ZodNumber>;
|
|
audioWeight: z.ZodOptional<z.ZodNumber>;
|
|
personaId: z.ZodOptional<z.ZodString>;
|
|
personaModel: z.ZodOptional<z.ZodEnum<["style_persona", "voice_persona"]>>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
prompt: z.ZodOptional<z.ZodString>;
|
|
customMode: z.ZodBoolean;
|
|
instrumental: z.ZodBoolean;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const GenerateLyricsSchema: z.ZodObject<{
|
|
prompt: z.ZodString;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
prompt: string;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
prompt: string;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const GenerateSoundsSchema: z.ZodObject<{
|
|
prompt: z.ZodString;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
soundLoop: z.ZodOptional<z.ZodBoolean>;
|
|
soundTempo: z.ZodOptional<z.ZodNumber>;
|
|
soundKey: z.ZodOptional<z.ZodEnum<["Any", "Cm", "C#m", "Dm", "D#m", "Em", "Fm", "F#m", "Gm", "G#m", "Am", "A#m", "Bm", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"]>>;
|
|
grabLyrics: z.ZodOptional<z.ZodBoolean>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
prompt: string;
|
|
model: string;
|
|
callBackUrl?: string | undefined;
|
|
soundLoop?: boolean | undefined;
|
|
soundTempo?: number | undefined;
|
|
soundKey?: "Any" | "Cm" | "C#m" | "Dm" | "D#m" | "Em" | "Fm" | "F#m" | "Gm" | "G#m" | "Am" | "A#m" | "Bm" | "C" | "C#" | "D" | "D#" | "E" | "F" | "F#" | "G" | "G#" | "A" | "A#" | "B" | undefined;
|
|
grabLyrics?: boolean | undefined;
|
|
}, {
|
|
prompt: string;
|
|
model: string;
|
|
callBackUrl?: string | undefined;
|
|
soundLoop?: boolean | undefined;
|
|
soundTempo?: number | undefined;
|
|
soundKey?: "Any" | "Cm" | "C#m" | "Dm" | "D#m" | "Em" | "Fm" | "F#m" | "Gm" | "G#m" | "Am" | "A#m" | "Bm" | "C" | "C#" | "D" | "D#" | "E" | "F" | "F#" | "G" | "G#" | "A" | "A#" | "B" | undefined;
|
|
grabLyrics?: boolean | undefined;
|
|
}>;
|
|
export declare const ExtendMusicSchema: z.ZodObject<{
|
|
audioId: z.ZodString;
|
|
defaultParamFlag: z.ZodBoolean;
|
|
prompt: z.ZodOptional<z.ZodString>;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
continueAt: z.ZodOptional<z.ZodNumber>;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
vocalGender: z.ZodOptional<z.ZodEnum<["m", "f"]>>;
|
|
styleWeight: z.ZodOptional<z.ZodNumber>;
|
|
weirdnessConstraint: z.ZodOptional<z.ZodNumber>;
|
|
audioWeight: z.ZodOptional<z.ZodNumber>;
|
|
personaId: z.ZodOptional<z.ZodString>;
|
|
personaModel: z.ZodOptional<z.ZodEnum<["style_persona", "voice_persona"]>>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
model: string;
|
|
audioId: string;
|
|
defaultParamFlag: boolean;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
continueAt?: number | undefined;
|
|
}, {
|
|
model: string;
|
|
audioId: string;
|
|
defaultParamFlag: boolean;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
continueAt?: number | undefined;
|
|
}>;
|
|
export declare const ReplaceSectionSchema: z.ZodObject<{
|
|
audioId: z.ZodString;
|
|
prompt: z.ZodString;
|
|
replaceAudioUrl: z.ZodOptional<z.ZodString>;
|
|
start: z.ZodNumber;
|
|
end: z.ZodNumber;
|
|
customMode: z.ZodOptional<z.ZodBoolean>;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
end: number;
|
|
prompt: string;
|
|
model: string;
|
|
audioId: string;
|
|
start: number;
|
|
customMode?: boolean | undefined;
|
|
instrumental?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
replaceAudioUrl?: string | undefined;
|
|
}, {
|
|
end: number;
|
|
prompt: string;
|
|
model: string;
|
|
audioId: string;
|
|
start: number;
|
|
customMode?: boolean | undefined;
|
|
instrumental?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
replaceAudioUrl?: string | undefined;
|
|
}>;
|
|
export declare const AddVocalsSchema: z.ZodObject<{
|
|
audioId: z.ZodString;
|
|
prompt: z.ZodOptional<z.ZodString>;
|
|
customMode: z.ZodOptional<z.ZodBoolean>;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
model: string;
|
|
audioId: string;
|
|
prompt?: string | undefined;
|
|
customMode?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
model: string;
|
|
audioId: string;
|
|
prompt?: string | undefined;
|
|
customMode?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const AddInstrumentalSchema: z.ZodObject<{
|
|
audioId: z.ZodString;
|
|
prompt: z.ZodOptional<z.ZodString>;
|
|
customMode: z.ZodOptional<z.ZodBoolean>;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
model: string;
|
|
audioId: string;
|
|
prompt?: string | undefined;
|
|
customMode?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
model: string;
|
|
audioId: string;
|
|
prompt?: string | undefined;
|
|
customMode?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const UploadAndCoverSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
uploadUrl: z.ZodString;
|
|
prompt: z.ZodOptional<z.ZodString>;
|
|
customMode: z.ZodBoolean;
|
|
instrumental: z.ZodBoolean;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
vocalGender: z.ZodOptional<z.ZodEnum<["m", "f"]>>;
|
|
styleWeight: z.ZodOptional<z.ZodNumber>;
|
|
weirdnessConstraint: z.ZodOptional<z.ZodNumber>;
|
|
audioWeight: z.ZodOptional<z.ZodNumber>;
|
|
personaId: z.ZodOptional<z.ZodString>;
|
|
personaModel: z.ZodOptional<z.ZodEnum<["style_persona", "voice_persona"]>>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
customMode: boolean;
|
|
instrumental: boolean;
|
|
model: string;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
personaId?: string | undefined;
|
|
personaModel?: "style_persona" | "voice_persona" | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const UploadAndExtendSchema: z.ZodObject<{
|
|
uploadUrl: z.ZodString;
|
|
defaultParamFlag: z.ZodBoolean;
|
|
prompt: z.ZodOptional<z.ZodString>;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
continueAt: z.ZodOptional<z.ZodNumber>;
|
|
model: z.ZodEnum<[string, ...string[]]>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
model: string;
|
|
defaultParamFlag: boolean;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
continueAt?: number | undefined;
|
|
}, {
|
|
model: string;
|
|
defaultParamFlag: boolean;
|
|
uploadUrl: string;
|
|
prompt?: string | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
callBackUrl?: string | undefined;
|
|
continueAt?: number | undefined;
|
|
}>;
|
|
export declare const SeparateVocalsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const SeparateStemsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const CreateVideoSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
author: z.ZodOptional<z.ZodString>;
|
|
domainName: z.ZodOptional<z.ZodString>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
author?: string | undefined;
|
|
domainName?: string | undefined;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
author?: string | undefined;
|
|
domainName?: string | undefined;
|
|
}>;
|
|
export declare const CreateCoverSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const ConvertToWavSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const BoostStyleSchema: z.ZodObject<{
|
|
content: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
content: string;
|
|
}, {
|
|
content: string;
|
|
}>;
|
|
export declare const GeneratePersonaSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
}>;
|
|
export declare const GenerateMashupSchema: z.ZodObject<{
|
|
uploadUrlList: z.ZodArray<z.ZodString, "many">;
|
|
customMode: z.ZodBoolean;
|
|
instrumental: z.ZodOptional<z.ZodBoolean>;
|
|
prompt: z.ZodString;
|
|
style: z.ZodOptional<z.ZodString>;
|
|
title: z.ZodOptional<z.ZodString>;
|
|
model: z.ZodEnum<["V4", "V4_5", "V4_5PLUS", "V4_5ALL", "V5"]>;
|
|
negativeTags: z.ZodOptional<z.ZodString>;
|
|
vocalGender: z.ZodOptional<z.ZodEnum<["m", "f"]>>;
|
|
styleWeight: z.ZodOptional<z.ZodNumber>;
|
|
weirdnessConstraint: z.ZodOptional<z.ZodNumber>;
|
|
audioWeight: z.ZodOptional<z.ZodNumber>;
|
|
callBackUrl: z.ZodOptional<z.ZodString>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
prompt: string;
|
|
customMode: boolean;
|
|
model: "V4" | "V4_5" | "V4_5PLUS" | "V4_5ALL" | "V5";
|
|
uploadUrlList: string[];
|
|
instrumental?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}, {
|
|
prompt: string;
|
|
customMode: boolean;
|
|
model: "V4" | "V4_5" | "V4_5PLUS" | "V4_5ALL" | "V5";
|
|
uploadUrlList: string[];
|
|
instrumental?: boolean | undefined;
|
|
style?: string | undefined;
|
|
title?: string | undefined;
|
|
negativeTags?: string | undefined;
|
|
vocalGender?: "m" | "f" | undefined;
|
|
styleWeight?: number | undefined;
|
|
weirdnessConstraint?: number | undefined;
|
|
audioWeight?: number | undefined;
|
|
callBackUrl?: string | undefined;
|
|
}>;
|
|
export declare const GetTaskStatusSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
taskId: string;
|
|
}, {
|
|
taskId: string;
|
|
}>;
|
|
export declare const GetTimestampedLyricsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
audioId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
audioId: string;
|
|
taskId: string;
|
|
}, {
|
|
audioId: string;
|
|
taskId: string;
|
|
}>;
|
|
export declare const GetLyricsDetailsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
taskId: string;
|
|
}, {
|
|
taskId: string;
|
|
}>;
|
|
export declare const GetWavDetailsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
taskId: string;
|
|
}, {
|
|
taskId: string;
|
|
}>;
|
|
export declare const GetVocalSeparationDetailsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
taskId: string;
|
|
}, {
|
|
taskId: string;
|
|
}>;
|
|
export declare const GetVideoDetailsSchema: z.ZodObject<{
|
|
taskId: z.ZodString;
|
|
}, "strict", z.ZodTypeAny, {
|
|
taskId: string;
|
|
}, {
|
|
taskId: string;
|
|
}>;
|
|
export declare const GetCreditsSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
export type GenerateMusicInput = z.infer<typeof GenerateMusicSchema>;
|
|
export type GenerateLyricsInput = z.infer<typeof GenerateLyricsSchema>;
|
|
export type GenerateSoundsInput = z.infer<typeof GenerateSoundsSchema>;
|
|
export type ExtendMusicInput = z.infer<typeof ExtendMusicSchema>;
|
|
export type ReplaceSectionInput = z.infer<typeof ReplaceSectionSchema>;
|
|
export type AddVocalsInput = z.infer<typeof AddVocalsSchema>;
|
|
export type AddInstrumentalInput = z.infer<typeof AddInstrumentalSchema>;
|
|
export type UploadAndCoverInput = z.infer<typeof UploadAndCoverSchema>;
|
|
export type UploadAndExtendInput = z.infer<typeof UploadAndExtendSchema>;
|
|
export type SeparateVocalsInput = z.infer<typeof SeparateVocalsSchema>;
|
|
export type SeparateStemsInput = z.infer<typeof SeparateStemsSchema>;
|
|
export type CreateVideoInput = z.infer<typeof CreateVideoSchema>;
|
|
export type CreateCoverInput = z.infer<typeof CreateCoverSchema>;
|
|
export type ConvertToWavInput = z.infer<typeof ConvertToWavSchema>;
|
|
export type BoostStyleInput = z.infer<typeof BoostStyleSchema>;
|
|
export type GeneratePersonaInput = z.infer<typeof GeneratePersonaSchema>;
|
|
export type GenerateMashupInput = z.infer<typeof GenerateMashupSchema>;
|
|
export type GetTaskStatusInput = z.infer<typeof GetTaskStatusSchema>;
|
|
export type GetTimestampedLyricsInput = z.infer<typeof GetTimestampedLyricsSchema>;
|
|
export type GetLyricsDetailsInput = z.infer<typeof GetLyricsDetailsSchema>;
|
|
export type GetWavDetailsInput = z.infer<typeof GetWavDetailsSchema>;
|
|
export type GetVocalSeparationDetailsInput = z.infer<typeof GetVocalSeparationDetailsSchema>;
|
|
export type GetVideoDetailsInput = z.infer<typeof GetVideoDetailsSchema>;
|
|
//# sourceMappingURL=schemas.d.ts.map
|