Package ai.runapi.wan.types
Class SpeechToVideoParams.Builder
java.lang.Object
ai.runapi.wan.types.SpeechToVideoParams.Builder
- Enclosing class:
SpeechToVideoParams
Builder for
SpeechToVideoParams.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds immutable speech-to-video parameters.callbackUrl(String value) Sets the webhook URL for task completion notifications.enableSafetyChecker(boolean value) Sets the content safety checker toggle.framesPerSecond(int value) Sets the frames per second.guidanceScale(double value) Sets the guidance scale.model(SpeechToVideoModel value) Sets the model slug using a typed model value.Sets the model slug using a string value.negativePrompt(String value) Sets the negative prompt describing what to avoid.numFrames(int value) Sets the number of output frames.numInferenceSteps(int value) Sets the number of inference steps.outputResolution(String value) Sets the output resolution.Sets the text prompt.seed(int value) Sets the random seed.shift(double value) Sets the noise schedule shift.sourceAudioUrl(String value) Sets the source audio URL.sourceImageUrl(String value) Sets the source image URL.
-
Method Details
-
model
Sets the model slug using a typed model value. -
model
Sets the model slug using a string value. -
sourceImageUrl
Sets the source image URL. -
sourceAudioUrl
Sets the source audio URL. -
prompt
Sets the text prompt. -
callbackUrl
Sets the webhook URL for task completion notifications. -
numFrames
Sets the number of output frames. -
framesPerSecond
Sets the frames per second. -
outputResolution
Sets the output resolution. -
negativePrompt
Sets the negative prompt describing what to avoid. -
seed
Sets the random seed. -
numInferenceSteps
Sets the number of inference steps. -
guidanceScale
Sets the guidance scale. -
shift
Sets the noise schedule shift. -
enableSafetyChecker
Sets the content safety checker toggle. -
build
Builds immutable speech-to-video parameters.
-