Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- acceleration(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the acceleration mode.
- acceleration(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the acceleration mode.
- action() - Method in class ai.runapi.wan.types.AnimateParams
-
Returns the RunAPI action key for this request.
- action() - Method in class ai.runapi.wan.types.EditVideoParams
-
Returns the RunAPI action key for this request.
- action() - Method in class ai.runapi.wan.types.ImageToVideoParams
-
Returns the RunAPI action key for this request.
- action() - Method in class ai.runapi.wan.types.SpeechToVideoParams
-
Returns the RunAPI action key for this request.
- action() - Method in class ai.runapi.wan.types.TextToImageParams
-
Returns the RunAPI action key for this request.
- action() - Method in class ai.runapi.wan.types.TextToVideoParams
-
Returns the RunAPI action key for this request.
- ai.runapi.wan - package ai.runapi.wan
- ai.runapi.wan.resources - package ai.runapi.wan.resources
- ai.runapi.wan.types - package ai.runapi.wan.types
- animate() - Method in class ai.runapi.wan.WanClient
-
Animation operations.
- AnimateModel - Class in ai.runapi.wan.types
-
Animate model slug.
- AnimateModel(String) - Constructor for class ai.runapi.wan.types.AnimateModel
-
Creates a model value from a literal model slug.
- AnimateParams - Class in ai.runapi.wan.types
-
Parameters for Wan animation.
- AnimateParams.Builder - Class in ai.runapi.wan.types
-
Builder for
AnimateParams. - AnimateResource - Interface in ai.runapi.wan.resources
-
Animation operations.
- AnimateResponse - Class in ai.runapi.wan.types
-
Task response for animation generation.
- AnimateResponse() - Constructor for class ai.runapi.wan.types.AnimateResponse
- apiKey(String) - Method in class ai.runapi.wan.WanClient.Builder
-
Sets the API key.
- aspectRatio(AspectRatio) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(AspectRatio) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(AspectRatio) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(AspectRatio) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(String) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the output aspect ratio.
- aspectRatio(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the output aspect ratio.
- AspectRatio - Class in ai.runapi.wan.types
-
Aspect ratio value.
- AspectRatio(String) - Constructor for class ai.runapi.wan.types.AspectRatio
-
Creates an aspect ratio value from a literal ratio string.
- audio(boolean) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the audio generation toggle.
- audio(boolean) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the audio generation toggle.
- audioSetting(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the audio setting.
B
- backgroundAudioUrl(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the background audio URL.
- backgroundAudioUrl(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the background audio URL.
- baseUrl(String) - Method in class ai.runapi.wan.WanClient.Builder
-
Sets the base URL.
- baseUrl(URI) - Method in class ai.runapi.wan.WanClient.Builder
-
Sets the base URL from a URI.
- bboxList(List<BoundingBoxGroup>) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the bounding box constraints.
- BoundingBox - Class in ai.runapi.wan.types
-
Bounding box coordinates in [x1, y1, x2, y2] order.
- BoundingBoxGroup - Class in ai.runapi.wan.types
-
Bounding boxes for one source image.
- build() - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Builds immutable animate parameters.
- build() - Method in class ai.runapi.wan.types.ColorPaletteItem.Builder
-
Builds an immutable color palette item.
- build() - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Builds immutable edit-video parameters.
- build() - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Builds immutable image-to-video parameters.
- build() - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Builds immutable speech-to-video parameters.
- build() - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Builds immutable text-to-image parameters.
- build() - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Builds immutable text-to-video parameters.
- build() - Method in class ai.runapi.wan.WanClient.Builder
-
Builds a Wan client.
- builder() - Static method in class ai.runapi.wan.types.AnimateParams
-
Creates a new AnimateParams builder.
- builder() - Static method in class ai.runapi.wan.types.ColorPaletteItem
-
Creates a new color palette item builder.
- builder() - Static method in class ai.runapi.wan.types.EditVideoParams
-
Creates a new EditVideoParams builder.
- builder() - Static method in class ai.runapi.wan.types.ImageToVideoParams
-
Creates a new ImageToVideoParams builder.
- builder() - Static method in class ai.runapi.wan.types.SpeechToVideoParams
-
Creates a new SpeechToVideoParams builder.
- builder() - Static method in class ai.runapi.wan.types.TextToImageParams
-
Creates a new TextToImageParams builder.
- builder() - Static method in class ai.runapi.wan.types.TextToVideoParams
-
Creates a new TextToVideoParams builder.
- builder() - Static method in class ai.runapi.wan.WanClient
-
Creates a new Wan client builder.
C
- callbackUrl(String) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the webhook URL for task completion notifications.
- callbackUrl(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the webhook URL for task completion notifications.
- callbackUrl(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the webhook URL for task completion notifications.
- callbackUrl(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the webhook URL for task completion notifications.
- callbackUrl(String) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the webhook URL for task completion notifications.
- callbackUrl(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the webhook URL for task completion notifications.
- colorPalette(List<ColorPaletteItem>) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the color palette constraints.
- ColorPaletteItem - Class in ai.runapi.wan.types
-
Color palette constraint for text-to-image generation.
- ColorPaletteItem.Builder - Class in ai.runapi.wan.types
-
Builder for
ColorPaletteItem. - CompletedAnimateResponse - Class in ai.runapi.wan.types
-
Completed task response for animation generation.
- CompletedAnimateResponse() - Constructor for class ai.runapi.wan.types.CompletedAnimateResponse
- CompletedEditVideoResponse - Class in ai.runapi.wan.types
-
Completed task response for video editing.
- CompletedEditVideoResponse() - Constructor for class ai.runapi.wan.types.CompletedEditVideoResponse
- CompletedImageToVideoResponse - Class in ai.runapi.wan.types
-
Completed task response for image-to-video generation.
- CompletedImageToVideoResponse() - Constructor for class ai.runapi.wan.types.CompletedImageToVideoResponse
- CompletedSpeechToVideoResponse - Class in ai.runapi.wan.types
-
Completed task response for speech-to-video generation.
- CompletedSpeechToVideoResponse() - Constructor for class ai.runapi.wan.types.CompletedSpeechToVideoResponse
- CompletedTextToImageResponse - Class in ai.runapi.wan.types
-
Completed task response for text-to-image generation.
- CompletedTextToImageResponse() - Constructor for class ai.runapi.wan.types.CompletedTextToImageResponse
- CompletedTextToVideoResponse - Class in ai.runapi.wan.types
-
Completed task response for text-to-video generation.
- CompletedTextToVideoResponse() - Constructor for class ai.runapi.wan.types.CompletedTextToVideoResponse
- create(AnimateParams) - Method in interface ai.runapi.wan.resources.AnimateResource
-
Creates an animation task.
- create(AnimateParams, RequestOptions) - Method in interface ai.runapi.wan.resources.AnimateResource
-
Creates an animation task with per-request options.
- create(EditVideoParams) - Method in interface ai.runapi.wan.resources.EditVideoResource
-
Creates a video editing task.
- create(EditVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.EditVideoResource
-
Creates a video editing task with per-request options.
- create(ImageToVideoParams) - Method in interface ai.runapi.wan.resources.ImageToVideoResource
-
Creates an image-to-video task.
- create(ImageToVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.ImageToVideoResource
-
Creates an image-to-video task with per-request options.
- create(SpeechToVideoParams) - Method in interface ai.runapi.wan.resources.SpeechToVideoResource
-
Creates a speech-to-video task.
- create(SpeechToVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.SpeechToVideoResource
-
Creates a speech-to-video task with per-request options.
- create(TextToImageParams) - Method in interface ai.runapi.wan.resources.TextToImageResource
-
Creates a text-to-image task.
- create(TextToImageParams, RequestOptions) - Method in interface ai.runapi.wan.resources.TextToImageResource
-
Creates a text-to-image task with per-request options.
- create(TextToVideoParams) - Method in interface ai.runapi.wan.resources.TextToVideoResource
-
Creates a text-to-video task.
- create(TextToVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.TextToVideoResource
-
Creates a text-to-video task with per-request options.
D
- drivingAudioUrl(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the driving audio URL.
- durationSeconds(int) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the duration in seconds.
- durationSeconds(int) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the duration in seconds.
- durationSeconds(int) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the duration in seconds.
E
- editVideo() - Method in class ai.runapi.wan.WanClient
-
Video editing operations.
- EditVideoModel - Class in ai.runapi.wan.types
-
Edit-video model slug.
- EditVideoModel(String) - Constructor for class ai.runapi.wan.types.EditVideoModel
-
Creates a model value from a literal model slug.
- EditVideoParams - Class in ai.runapi.wan.types
-
Parameters for Wan video editing.
- EditVideoParams.Builder - Class in ai.runapi.wan.types
-
Builder for
EditVideoParams. - EditVideoResource - Interface in ai.runapi.wan.resources
-
Video editing operations.
- EditVideoResponse - Class in ai.runapi.wan.types
-
Task response for video editing.
- EditVideoResponse() - Constructor for class ai.runapi.wan.types.EditVideoResponse
- EIGHT_ONE - Static variable in class ai.runapi.wan.types.AspectRatio
-
Panoramic 8:1 aspect ratio.
- enablePromptExpansion(boolean) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the prompt expansion toggle.
- enablePromptExpansion(boolean) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the prompt expansion toggle.
- enablePromptExpansion(boolean) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the prompt expansion toggle.
- enableSafetyChecker(boolean) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the content safety checker toggle.
- enableSafetyChecker(boolean) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the content safety checker toggle.
- enableSafetyChecker(boolean) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the content safety checker toggle.
- enableSafetyChecker(boolean) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the content safety checker toggle.
- enableSafetyChecker(boolean) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the content safety checker toggle.
- enableSafetyChecker(boolean) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the content safety checker toggle.
- enableSequential(boolean) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the sequential generation toggle.
- ENDPOINT - Static variable in interface ai.runapi.wan.resources.AnimateResource
-
API endpoint path for animation tasks.
- ENDPOINT - Static variable in interface ai.runapi.wan.resources.EditVideoResource
-
API endpoint path for video editing tasks.
- ENDPOINT - Static variable in interface ai.runapi.wan.resources.ImageToVideoResource
-
API endpoint path for image-to-video tasks.
- ENDPOINT - Static variable in interface ai.runapi.wan.resources.SpeechToVideoResource
-
API endpoint path for speech-to-video tasks.
- ENDPOINT - Static variable in interface ai.runapi.wan.resources.TextToImageResource
-
API endpoint path for text-to-image tasks.
- ENDPOINT - Static variable in interface ai.runapi.wan.resources.TextToVideoResource
-
API endpoint path for text-to-video tasks.
- ensureResultPresent() - Method in class ai.runapi.wan.types.ImageTaskResponse
-
Ensures a completed response contains its expected image results.
- ensureResultPresent() - Method in class ai.runapi.wan.types.VideoTaskResponse
-
Ensures a completed response contains its expected video results.
- extraFields() - Method in class ai.runapi.wan.types.ImageTaskResponse
-
Returns unrecognized response fields preserved from the API response.
- extraFields() - Method in class ai.runapi.wan.types.VideoTaskResponse
-
Returns unrecognized response fields preserved from the API response.
F
- firstFrameImageUrl(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the first frame image URL.
- firstFrameImageUrl(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the first frame image URL.
- FOUR_THREE - Static variable in class ai.runapi.wan.types.AspectRatio
-
Four-by-three aspect ratio.
- framesPerSecond(int) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the frames per second.
G
- get(String) - Method in interface ai.runapi.wan.resources.AnimateResource
-
Retrieves an animation task by ID.
- get(String) - Method in interface ai.runapi.wan.resources.EditVideoResource
-
Retrieves a video editing task by ID.
- get(String) - Method in interface ai.runapi.wan.resources.ImageToVideoResource
-
Retrieves an image-to-video task by ID.
- get(String) - Method in interface ai.runapi.wan.resources.SpeechToVideoResource
-
Retrieves a speech-to-video task by ID.
- get(String) - Method in interface ai.runapi.wan.resources.TextToImageResource
-
Retrieves a text-to-image task by ID.
- get(String) - Method in interface ai.runapi.wan.resources.TextToVideoResource
-
Retrieves a text-to-video task by ID.
- get(String, RequestOptions) - Method in interface ai.runapi.wan.resources.AnimateResource
-
Retrieves an animation task by ID with per-request options.
- get(String, RequestOptions) - Method in interface ai.runapi.wan.resources.EditVideoResource
-
Retrieves a video editing task by ID with per-request options.
- get(String, RequestOptions) - Method in interface ai.runapi.wan.resources.ImageToVideoResource
-
Retrieves an image-to-video task by ID with per-request options.
- get(String, RequestOptions) - Method in interface ai.runapi.wan.resources.SpeechToVideoResource
-
Retrieves a speech-to-video task by ID with per-request options.
- get(String, RequestOptions) - Method in interface ai.runapi.wan.resources.TextToImageResource
-
Retrieves a text-to-image task by ID with per-request options.
- get(String, RequestOptions) - Method in interface ai.runapi.wan.resources.TextToVideoResource
-
Retrieves a text-to-video task by ID with per-request options.
- getBoxes() - Method in class ai.runapi.wan.types.BoundingBoxGroup
-
Returns the bounding boxes in this group.
- getError() - Method in class ai.runapi.wan.types.ImageTaskResponse
-
Returns the task error message, if the task failed.
- getError() - Method in class ai.runapi.wan.types.VideoTaskResponse
-
Returns the task error message, if the task failed.
- getHex() - Method in class ai.runapi.wan.types.ColorPaletteItem
-
Returns the hex color.
- getId() - Method in class ai.runapi.wan.types.ImageTaskResponse
-
Returns the task ID.
- getId() - Method in class ai.runapi.wan.types.VideoTaskResponse
-
Returns the task ID.
- getImages() - Method in class ai.runapi.wan.types.ImageTaskResponse
-
Output images.
- getRatio() - Method in class ai.runapi.wan.types.ColorPaletteItem
-
Returns the optional color ratio.
- getStatus() - Method in class ai.runapi.wan.types.ImageTaskResponse
-
Returns the current task status.
- getStatus() - Method in class ai.runapi.wan.types.VideoTaskResponse
-
Returns the current task status.
- getUrl() - Method in class ai.runapi.wan.types.Image
-
Image URL.
- getUrl() - Method in class ai.runapi.wan.types.Video
-
Video URL.
- getVideos() - Method in class ai.runapi.wan.types.VideoTaskResponse
-
Output videos.
- getX1() - Method in class ai.runapi.wan.types.BoundingBox
-
Returns the left coordinate.
- getX2() - Method in class ai.runapi.wan.types.BoundingBox
-
Returns the right coordinate.
- getY1() - Method in class ai.runapi.wan.types.BoundingBox
-
Returns the top coordinate.
- getY2() - Method in class ai.runapi.wan.types.BoundingBox
-
Returns the bottom coordinate.
- guidanceScale(double) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the guidance scale.
H
- hex(String) - Method in class ai.runapi.wan.types.ColorPaletteItem.Builder
-
Sets the hex color.
I
- Image - Class in ai.runapi.wan.types
-
Generated image result.
- Image() - Constructor for class ai.runapi.wan.types.Image
- ImageTaskResponse - Class in ai.runapi.wan.types
-
Task response for image-producing Wan operations.
- ImageTaskResponse() - Constructor for class ai.runapi.wan.types.ImageTaskResponse
- imageToVideo() - Method in class ai.runapi.wan.WanClient
-
Image-to-video generation operations.
- ImageToVideoModel - Class in ai.runapi.wan.types
-
Image-to-video model slug.
- ImageToVideoModel(String) - Constructor for class ai.runapi.wan.types.ImageToVideoModel
-
Creates a model value from a literal model slug.
- ImageToVideoParams - Class in ai.runapi.wan.types
-
Parameters for Wan image-to-video generation.
- ImageToVideoParams.Builder - Class in ai.runapi.wan.types
-
Builder for
ImageToVideoParams. - ImageToVideoResource - Interface in ai.runapi.wan.resources
-
Image-to-video generation operations.
- ImageToVideoResponse - Class in ai.runapi.wan.types
-
Task response for image-to-video generation.
- ImageToVideoResponse() - Constructor for class ai.runapi.wan.types.ImageToVideoResponse
L
- LANDSCAPE - Static variable in class ai.runapi.wan.types.AspectRatio
-
Landscape 16:9 aspect ratio.
- lastFrameImageUrl(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the last frame image URL.
M
- model(AnimateModel) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the model slug using a typed model value.
- model(EditVideoModel) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the model slug using a typed model value.
- model(ImageToVideoModel) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the model slug using a typed model value.
- model(SpeechToVideoModel) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the model slug using a typed model value.
- model(TextToImageModel) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the model slug using a typed model value.
- model(TextToVideoModel) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the model slug using a typed model value.
- model(String) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the model slug using a string value.
- model(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the model slug using a string value.
- model(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the model slug using a string value.
- model(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the model slug using a string value.
- model(String) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the model slug using a string value.
- model(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the model slug using a string value.
- multiShots(boolean) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the multi-shot mode toggle.
- multiShots(boolean) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the multi-shot mode toggle.
N
- negativePrompt(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the negative prompt describing what to avoid.
- negativePrompt(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the negative prompt describing what to avoid.
- negativePrompt(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the negative prompt describing what to avoid.
- negativePrompt(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the negative prompt describing what to avoid.
- numFrames(int) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the number of output frames.
- numInferenceSteps(int) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the number of inference steps.
O
- of(int, int, int, int) - Static method in class ai.runapi.wan.types.BoundingBox
-
Creates a bounding box from corner coordinates.
- of(BoundingBox...) - Static method in class ai.runapi.wan.types.BoundingBoxGroup
-
Creates a group of bounding boxes.
- ONE_EIGHT - Static variable in class ai.runapi.wan.types.AspectRatio
-
Tall panoramic 1:8 aspect ratio.
- outputCount(int) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the number of generated outputs.
- outputResolution(String) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the output resolution.
- outputResolution(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the output resolution.
- outputResolution(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the output resolution.
- outputResolution(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the output resolution.
- outputResolution(String) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the output resolution.
- outputResolution(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the output resolution.
P
- PORTRAIT - Static variable in class ai.runapi.wan.types.AspectRatio
-
Portrait 9:16 aspect ratio.
- prompt(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the text prompt.
- prompt(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the text prompt.
- prompt(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the text prompt.
- prompt(String) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the text prompt.
- prompt(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the text prompt.
R
- ratio(double) - Method in class ai.runapi.wan.types.ColorPaletteItem.Builder
-
Sets the color ratio.
- ratio(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the alternate aspect ratio value.
- ratio(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the alternate aspect ratio value.
- referenceAudioUrl(String) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the reference audio URL.
- referenceImageUrl(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the reference image URL.
- referenceImageUrls(List<String>) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the reference image URLs.
- referenceVideoUrl(String) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the reference video URL.
- referenceVideoUrls(List<String>) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the reference video URLs.
- run(AnimateParams) - Method in interface ai.runapi.wan.resources.AnimateResource
-
Creates an animation task and polls until it completes.
- run(AnimateParams, RequestOptions) - Method in interface ai.runapi.wan.resources.AnimateResource
-
Creates an animation task with per-request options and polls until it completes.
- run(EditVideoParams) - Method in interface ai.runapi.wan.resources.EditVideoResource
-
Creates a video editing task and polls until it completes.
- run(EditVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.EditVideoResource
-
Creates a video editing task with per-request options and polls until it completes.
- run(ImageToVideoParams) - Method in interface ai.runapi.wan.resources.ImageToVideoResource
-
Creates an image-to-video task and polls until it completes.
- run(ImageToVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.ImageToVideoResource
-
Creates an image-to-video task with per-request options and polls until it completes.
- run(SpeechToVideoParams) - Method in interface ai.runapi.wan.resources.SpeechToVideoResource
-
Creates a speech-to-video task and polls until it completes.
- run(SpeechToVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.SpeechToVideoResource
-
Creates a speech-to-video task with per-request options and polls until it completes.
- run(TextToImageParams) - Method in interface ai.runapi.wan.resources.TextToImageResource
-
Creates a text-to-image task and polls until it completes.
- run(TextToImageParams, RequestOptions) - Method in interface ai.runapi.wan.resources.TextToImageResource
-
Creates a text-to-image task with per-request options and polls until it completes.
- run(TextToVideoParams) - Method in interface ai.runapi.wan.resources.TextToVideoResource
-
Creates a text-to-video task and polls until it completes.
- run(TextToVideoParams, RequestOptions) - Method in interface ai.runapi.wan.resources.TextToVideoResource
-
Creates a text-to-video task with per-request options and polls until it completes.
S
- seed(int) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the random seed.
- seed(int) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the random seed.
- seed(int) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the random seed.
- seed(int) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the random seed.
- seed(int) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the random seed.
- shift(double) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the noise schedule shift.
- sourceAudioUrl(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the source audio URL.
- sourceImageUrl(String) - Method in class ai.runapi.wan.types.AnimateParams.Builder
-
Sets the source image URL.
- sourceImageUrl(String) - Method in class ai.runapi.wan.types.SpeechToVideoParams.Builder
-
Sets the source image URL.
- sourceImageUrls(List<String>) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the source image URLs.
- sourceVideoUrl(String) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the source video URL.
- sourceVideoUrl(String) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the source video URL.
- sourceVideoUrls(List<String>) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the source video URLs.
- speechToVideo() - Method in class ai.runapi.wan.WanClient
-
Speech-to-video generation operations.
- SpeechToVideoModel - Class in ai.runapi.wan.types
-
Speech-to-video model slug.
- SpeechToVideoModel(String) - Constructor for class ai.runapi.wan.types.SpeechToVideoModel
-
Creates a model value from a literal model slug.
- SpeechToVideoParams - Class in ai.runapi.wan.types
-
Parameters for Wan speech-to-video generation.
- SpeechToVideoParams.Builder - Class in ai.runapi.wan.types
-
Builder for
SpeechToVideoParams. - SpeechToVideoResource - Interface in ai.runapi.wan.resources
-
Speech-to-video generation operations.
- SpeechToVideoResponse - Class in ai.runapi.wan.types
-
Task response for speech-to-video generation.
- SpeechToVideoResponse() - Constructor for class ai.runapi.wan.types.SpeechToVideoResponse
- SQUARE - Static variable in class ai.runapi.wan.types.AspectRatio
-
Square 1:1 aspect ratio.
T
- textToImage() - Method in class ai.runapi.wan.WanClient
-
Text-to-image generation operations.
- TextToImageModel - Class in ai.runapi.wan.types
-
Text-to-image model slug.
- TextToImageModel(String) - Constructor for class ai.runapi.wan.types.TextToImageModel
-
Creates a model value from a literal model slug.
- TextToImageParams - Class in ai.runapi.wan.types
-
Parameters for Wan text-to-image generation.
- TextToImageParams.Builder - Class in ai.runapi.wan.types
-
Builder for
TextToImageParams. - TextToImageResource - Interface in ai.runapi.wan.resources
-
Text-to-image generation operations.
- TextToImageResponse - Class in ai.runapi.wan.types
-
Task response for text-to-image generation.
- TextToImageResponse() - Constructor for class ai.runapi.wan.types.TextToImageResponse
- textToVideo() - Method in class ai.runapi.wan.WanClient
-
Text-to-video generation operations.
- TextToVideoModel - Class in ai.runapi.wan.types
-
Text-to-video model slug.
- TextToVideoModel(String) - Constructor for class ai.runapi.wan.types.TextToVideoModel
-
Creates a model value from a literal model slug.
- TextToVideoParams - Class in ai.runapi.wan.types
-
Parameters for Wan text-to-video generation.
- TextToVideoParams.Builder - Class in ai.runapi.wan.types
-
Builder for
TextToVideoParams. - TextToVideoResource - Interface in ai.runapi.wan.resources
-
Text-to-video generation operations.
- TextToVideoResponse - Class in ai.runapi.wan.types
-
Task response for text-to-video generation.
- TextToVideoResponse() - Constructor for class ai.runapi.wan.types.TextToVideoResponse
- thinkingMode(boolean) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the enhanced reasoning toggle.
- THREE_FOUR - Static variable in class ai.runapi.wan.types.AspectRatio
-
Three-by-four aspect ratio.
- toMap() - Method in class ai.runapi.wan.types.AnimateParams
-
Converts these parameters to the JSON request body shape.
- toMap() - Method in class ai.runapi.wan.types.EditVideoParams
-
Converts these parameters to the JSON request body shape.
- toMap() - Method in class ai.runapi.wan.types.ImageToVideoParams
-
Converts these parameters to the JSON request body shape.
- toMap() - Method in class ai.runapi.wan.types.SpeechToVideoParams
-
Converts these parameters to the JSON request body shape.
- toMap() - Method in class ai.runapi.wan.types.TextToImageParams
-
Converts these parameters to the JSON request body shape.
- toMap() - Method in class ai.runapi.wan.types.TextToVideoParams
-
Converts these parameters to the JSON request body shape.
- transport(HttpTransport) - Method in class ai.runapi.wan.WanClient.Builder
-
Sets a custom transport.
- TWENTY_ONE_NINE - Static variable in class ai.runapi.wan.types.AspectRatio
-
Ultrawide 21:9 aspect ratio.
V
- Video - Class in ai.runapi.wan.types
-
Generated video result.
- Video() - Constructor for class ai.runapi.wan.types.Video
- VideoTaskResponse - Class in ai.runapi.wan.types
-
Task response for video-producing Wan operations.
- VideoTaskResponse() - Constructor for class ai.runapi.wan.types.VideoTaskResponse
W
- WAN_2_2_A14B_IMAGE_TO_VIDEO_TURBO - Static variable in class ai.runapi.wan.types.ImageToVideoModel
-
2.2 turbo image-to-video model.
- WAN_2_2_A14B_SPEECH_TO_VIDEO_TURBO - Static variable in class ai.runapi.wan.types.SpeechToVideoModel
-
2.2 turbo speech-to-video model.
- WAN_2_2_A14B_TEXT_TO_VIDEO_TURBO - Static variable in class ai.runapi.wan.types.TextToVideoModel
-
2.2 turbo text-to-video model.
- WAN_2_2_ANIMATE_MOVE - Static variable in class ai.runapi.wan.types.AnimateModel
-
Animation model that preserves the source subject and applies motion.
- WAN_2_2_ANIMATE_REPLACE - Static variable in class ai.runapi.wan.types.AnimateModel
-
Animation model that replaces the source subject using the reference video.
- WAN_2_5_IMAGE_TO_VIDEO - Static variable in class ai.runapi.wan.types.ImageToVideoModel
-
2.5 image-to-video model.
- WAN_2_5_TEXT_TO_VIDEO - Static variable in class ai.runapi.wan.types.TextToVideoModel
-
2.5 text-to-video model.
- WAN_2_6_EDIT_VIDEO - Static variable in class ai.runapi.wan.types.EditVideoModel
-
2.6 video editing model.
- WAN_2_6_FLASH_EDIT_VIDEO - Static variable in class ai.runapi.wan.types.EditVideoModel
-
2.6 flash video editing model.
- WAN_2_6_FLASH_IMAGE_TO_VIDEO - Static variable in class ai.runapi.wan.types.ImageToVideoModel
-
2.6 flash image-to-video model.
- WAN_2_6_IMAGE_TO_VIDEO - Static variable in class ai.runapi.wan.types.ImageToVideoModel
-
2.6 image-to-video model.
- WAN_2_6_TEXT_TO_VIDEO - Static variable in class ai.runapi.wan.types.TextToVideoModel
-
2.6 text-to-video model.
- WAN_2_7_EDIT_VIDEO - Static variable in class ai.runapi.wan.types.EditVideoModel
-
2.7 video editing model.
- WAN_2_7_IMAGE - Static variable in class ai.runapi.wan.types.TextToImageModel
-
Standard 2.7 image generation model.
- WAN_2_7_IMAGE_PRO - Static variable in class ai.runapi.wan.types.TextToImageModel
-
Pro 2.7 image generation model.
- WAN_2_7_IMAGE_TO_VIDEO - Static variable in class ai.runapi.wan.types.ImageToVideoModel
-
2.7 image-to-video model.
- WAN_2_7_R2V - Static variable in class ai.runapi.wan.types.TextToVideoModel
-
2.7 reference-to-video model.
- WAN_2_7_TEXT_TO_VIDEO - Static variable in class ai.runapi.wan.types.TextToVideoModel
-
2.7 text-to-video model.
- WanClient - Class in ai.runapi.wan
-
Wan model-family Java SDK client.
- WanClient.Builder - Class in ai.runapi.wan
-
Builder for
WanClient. - watermark(boolean) - Method in class ai.runapi.wan.types.EditVideoParams.Builder
-
Sets the watermark toggle.
- watermark(boolean) - Method in class ai.runapi.wan.types.ImageToVideoParams.Builder
-
Sets the watermark toggle.
- watermark(boolean) - Method in class ai.runapi.wan.types.TextToImageParams.Builder
-
Sets the watermark toggle.
- watermark(boolean) - Method in class ai.runapi.wan.types.TextToVideoParams.Builder
-
Sets the watermark toggle.
All Classes and Interfaces|All Packages|Constant Field Values