zsxkib/wan-2.2-with-sound

wan-video/wan-2.2 (all variants) + topazlabs/video-upscale + zsxkib/smart-thinksound

Public
29 runs

Run zsxkib/wan-2.2-with-sound with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt for video generation
image
string
Input image for image-to-video generation (automatically switches to I2V model)
quality
None
fast
Quality setting: 'fast' (PrunaAI optimized, fastest) or 'standard' (higher quality, slower)
resolution
None
16:9
Video resolution: aspect ratio (16:9/9:16) or direct resolution (480p/720p)
num_frames
integer
81

Min: 81

Max: 100

Number of video frames (81 recommended for optimal results)
frames_per_second
integer
16

Min: 5

Max: 24

Video frame rate (16fps optimal for Wan 2.2 models)
seed
integer
Random seed for reproducible generation
go_fast
boolean
True
Enable faster processing (PrunaAI optimized models only)
sample_shift
number
12

Min: 1

Max: 20

Sample shift factor (auto-optimized per model)
sample_steps
integer
30

Min: 1

Max: 50

Generation steps (standard quality models only)
enable_sound
boolean
False
Add AI-generated sound effects and ambient audio
context_hint
string
Context hint for better audio generation (e.g., 'ocean waves', 'city traffic')
enable_upscaling
boolean
False
Upscale video to higher resolution and frame rate
target_resolution
None
4k
Target resolution for upscaling
target_fps
integer
60

Min: 15

Max: 120

Target frame rate for upscaling

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}
Example API response
View prediction
'https://replicate.delivery/xezq/bIA7nTHWIUJ7NFl0dU3QY0fz09eBRAladfpCKR56wu0a71MqA/tmp3iwlibn_.mp4'