Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use your APIPod API key as a Bearer token in the Authorization header.

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "wan2.7-videoedit"
prompt
string
required
Maximum string length: 5000
video_url
string
default:""
required

Video file to be edited, 2-10s

prompt_extend
boolean
default:""

Describe the content you do not wish to see in the video frame, which can be used to restrict the video frame.

negative_prompt
string
default:low resolution, errors, worst quality, poor quality, incomplete, extra fingers, poor aspect ratio.

Describe the content you do not wish to see in the video frame, which can be used to restrict the video frame.

Maximum string length: 500
image_urls
string[]

The first frame or reference image.

resolution
enum<string>
default:1080P

Describe the content you do not wish to see in the video frame, which can be used to restrict the video frame.

Available options:
720P,
1080P
duration
enum<integer>
default:0

This parameter only needs to be configured when video truncation is required. If you want the output video to have the same duration as the input video, no setting is needed (or pass the default value 0).

Available options:
0,
2,
3,
4,
5,
6,
7,
8,
9,
10
audio_setting
enum<string>
default:auto

Video audio settings. auto (default): The model makes an intelligent judgment based on the prompt content. If the prompt involves audio descriptions, it may regenerate the audio; otherwise, it may retain the original audio of the input material. origin: Forcefully retain the original audio of the input video without regeneration.

Available options:
auto,
origin
watermark
boolean
default:false

Whether to add a watermark logo, with the watermark positioned at the bottom right corner of the video.

Response

200 - application/json

Task accepted

Standard response for task submission

code
integer
required
data
Task Submit Data · object
required

Data content for task submission

message
string
required