enhance-replicate/cog-wanrepe2
Public
7.6K
runs
Run enhance-replicate/cog-wanrepe2 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
|
Prompt for video generation, i.e. a video of a cat playing with a ball
|
|
negative_prompt |
string
|
blurry, low quality, low resolution, low fps, low frame rate, low bitrate, low quality, low resolution, low fps, low frame rate, low bitrate
|
Negative prompt
|
height |
integer
|
480
|
None
|
width |
integer
|
832
|
None
|
num_frames |
integer
|
16
|
None
|
guidance_scale |
number
|
5
|
None
|
ken_burns_effect |
None
|
slow_motion
|
Ken Burns effect to apply
|
target_duration |
number
|
3
Min: 1 Max: 30 |
Target video duration in seconds
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"width": {
"type": "integer",
"title": "Width",
"default": 832,
"x-order": 3
},
"height": {
"type": "integer",
"title": "Height",
"default": 480,
"x-order": 2
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt for video generation, i.e. a video of a cat playing with a ball"
},
"num_frames": {
"type": "integer",
"title": "Num Frames",
"default": 16,
"x-order": 4
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 5,
"x-order": 5
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "blurry, low quality, low resolution, low fps, low frame rate, low bitrate, low quality, low resolution, low fps, low frame rate, low bitrate",
"x-order": 1,
"description": "Negative prompt"
},
"target_duration": {
"type": "number",
"title": "Target Duration",
"default": 3,
"maximum": 30,
"minimum": 1,
"x-order": 7,
"description": "Target video duration in seconds"
},
"ken_burns_effect": {
"enum": [
"none",
"zoom_pan",
"zoom_in",
"zoom_out",
"pan_left",
"pan_right",
"slow_motion",
"loop"
],
"type": "string",
"title": "ken_burns_effect",
"description": "Ken Burns effect to apply",
"default": "slow_motion",
"x-order": 6
}
}
}
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"
}