Skip to main content
POST
Submit Video Extend Task

Authorizations

Authorization
string
header
required

Authenticate using Bearer token. Get your API Key from the WeryAI Console.

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Body

application/json
video_url
string
required

Source video URL

Example:

"https://example.com/video.mp4"

prompt
string
required

Text prompt describing how to extend the video

Example:

"a calm ocean scene"

style
string

Video style for the extended segment. Supported values: anime, 3d_animation, cyberpunk, comic.

Example:

"anime"

resolution
string
default:720p

Output resolution. Supported values: 360p, 540p, 720p, 1080p.

Example:

"720p"

duration
integer
default:5

Extension duration in seconds. Supported values: 5, 8.

Example:

5

caller_id
integer<int64>

Caller ID (for business association)

Response

Task submitted successfully

status
integer

Business status code (0 indicates success)

Example:

0

desc
string

Status description

Example:

"success"

message
string

Multi-language message

Example:

"success"

data
object