Package ai.runapi.wan.types
Class EditVideoParams.Builder
java.lang.Object
ai.runapi.wan.types.EditVideoParams.Builder
- Enclosing class:
- EditVideoParams
Builder for
EditVideoParams.-
Method Summary
Modifier and TypeMethodDescriptionaspectRatio(AspectRatio value) Sets the output aspect ratio.aspectRatio(String value) Sets the output aspect ratio.audio(boolean value) Sets the audio generation toggle.audioSetting(String value) Sets the audio setting.build()Builds immutable edit-video parameters.callbackUrl(String value) Sets the webhook URL for task completion notifications.durationSeconds(int value) Sets the duration in seconds.enablePromptExpansion(boolean value) Sets the prompt expansion toggle.enableSafetyChecker(boolean value) Sets the content safety checker toggle.model(EditVideoModel value) Sets the model slug using a typed model value.Sets the model slug using a string value.multiShots(boolean value) Sets the multi-shot mode toggle.negativePrompt(String value) Sets the negative prompt describing what to avoid.outputResolution(String value) Sets the output resolution.Sets the text prompt.referenceImageUrl(String value) Sets the reference image URL.seed(int value) Sets the random seed.sourceVideoUrl(String value) Sets the source video URL.sourceVideoUrls(List<String> values) Sets the source video URLs.watermark(boolean value) Sets the watermark toggle.
-
Method Details
-
model
Sets the model slug using a typed model value. -
model
Sets the model slug using a string value. -
sourceVideoUrl
Sets the source video URL. -
sourceVideoUrls
Sets the source video URLs. -
prompt
Sets the text prompt. -
callbackUrl
Sets the webhook URL for task completion notifications. -
negativePrompt
Sets the negative prompt describing what to avoid. -
referenceImageUrl
Sets the reference image URL. -
outputResolution
Sets the output resolution. -
aspectRatio
Sets the output aspect ratio. -
aspectRatio
Sets the output aspect ratio. -
durationSeconds
Sets the duration in seconds. -
audioSetting
Sets the audio setting. -
enablePromptExpansion
Sets the prompt expansion toggle. -
watermark
Sets the watermark toggle. -
seed
Sets the random seed. -
enableSafetyChecker
Sets the content safety checker toggle. -
audio
Sets the audio generation toggle. -
multiShots
Sets the multi-shot mode toggle. -
build
Builds immutable edit-video parameters.
-