Video Generation Models

Wan 2.6 Video Generation

Generate a Wan 2.6 video from a required primary image with optional camera control. The model is fixed by this API, so videoType must not be supplied in the request.

post/api/skill-api/v1/skills/wan-2-6-video-generation/run

Request

  • Base URL: https://api.nexscope.ai
  • URL: https://api.nexscope.ai/api/skill-api/v1/skills/wan-2-6-video-generation/run
  • Auth: HTTP bearer

Headers

X-Nexscope-Http-Status'legacy' | 'semantic'

Use semantic for HTTP error statuses on run and task-result requests. Without this header v1 retains legacy status behavior. The JSON envelope is unchanged; code 0 means success or acceptance, not asynchronous completion.

Request body

videoTimeinteger required

Video duration in seconds. Supported values: 5, 10, 15.

promptstring required

Video generation prompt describing motion, subject consistency, camera movement, and the ecommerce scene. Maximum 2000 characters.

promptOptimizerboolean

Whether Nexscope should optimize the video prompt before generation. Defaults to false.

isProboolean

Whether to use the model's professional generation mode when supported. Defaults to false.

resolutionstring

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

imageUrlstring required

Public URL of the required first-frame or primary reference image.

camerastring

Camera mode. Supported values: single or multi.

Example request

{
  "videoTime": 10,
  "prompt": "Keep the product consistent while the camera slowly orbits and highlights material details.",
  "imageUrl": "https://example.com/source-image.jpg",
  "resolution": "1080p"
}

Response

Successful response.

codeinteger required

0 means accepted or successful; nonzero is a platform error.

msgstring nullable required
tsstring required

Epoch milliseconds.

timestring required

Server local time: yyyy-MM-dd HH:mm:ss.

coststring required

Elapsed milliseconds, never credits; -1 outside web requests.

traceIdstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.