Skip to main content
POST
/
v1
/
generation
/
video-extend
Submit Video Extend Task
curl --request POST \
  --url https://api.weryai.com/v1/generation/video-extend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "video_url": "https://example.com/video.mp4",
  "prompt": "a calm ocean scene",
  "style": "anime",
  "resolution": "720p",
  "duration": 5
}
'
{
  "status": 0,
  "desc": "success",
  "message": "success",
  "data": {
    "task_id": "task_abc123",
    "task_status": "waiting"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.weryai.com/llms.txt

Use this file to discover all available pages before exploring further.

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