Skip to content

Wan 2.1 VACE Long Reframe

Integrate

Model id wan-vace-apps/long-reframe
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/wan-vace-apps/long-reframe?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Files like the example: $0.40 400 API credits your files are measured before the run Run it on this page

Get API key
Alibaba Video to Video up to 720p

Reframes long videos scene by scene using VACE 2.1, with scene detection and paste-back

Made on Doitong

Public works made with Wan VACE Apps by the Doitong community. Reuse a prompt in one click.

Public works shown: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... Video

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... Video

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

default

Text instructions guiding video generation; optional when reframing.

•required video_url
Drop a file, or

Reframing reference supplied as a URL pointing to the source video file.

resolution default auto

Resolution for the output video.

aspect_ratio default auto

Aspect ratio for the resulting video.

Advanced negative_prompt · sampler · acceleration · video_quality · video_write_mode · interpolator_model · transparency_mode · num_inference_steps · guidance_scale · shift · auto_downsample_min_fps · zoom_factor · scene_threshold · seed · enable_safety_checker · enable_auto_downsample · return_frames_zip · trim_borders · paste_back
default letterboxing, borders...

Negative prompt applied when generating a video.

sampler default unipc

Sampler used when generating video.

acceleration default regular

Inference acceleration setting, with a choice of 'none' or 'regular': accelerated processing offers a substantial speed improvement at the expense of a very small output change.

video_quality default high

Quality level for the resulting video.

video_write_mode default balanced

Write mode for the resulting video.

interpolator_model default film

Frame interpolation model selection: either 'rife' or 'film'.

transparency_mode default content_aware

Transparency handling for the starting and ending frames, determining how their transparent regions are filled.

default 30

Sampling step count, trading longer processing time for better quality as the count increases.

default 5

Prompt-alignment strength controlled through classifier-free guidance; increasing the scale encourages generated images to follow the text more closely.

default 5

Shift setting applied when generating video.

default 6

Minimum frame rate in FPS for automatic downsampling.

default 0

Set the video zoom to 0 to leave it unchanged. A positive factor enlarges the video relative to the canvas by that amount, cropping away the outer edges.

default 30

Scene-detection threshold: decreasing it increases the number of detected scenes. Accepts values from 0 to 100.

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

POST /run/wan-vace-apps/long-reframe?wait=20 quote → $0.40
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/wan-vace-apps/long-reframe?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Wan 2.1 VACE Long Reframe

Built for longer clips: it detects scenes, reframes each one, and can paste the result back into the original video with `paste_back`. `scene_threshold` (0 to 100) sets detection sensitivity, where lower values find more scenes. Auto downsampling is on by default. Also offers `zoom_factor`, `trim_borders`, aspect ratio and `resolution` from 240p to 720p.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptoptional
Typestring
Default
Text instructions guiding video generation; optional when reframing.
negative_promptoptional
Typestring
Defaultletterboxing, borders, black bars, bright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
Negative prompt applied when generating a video.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
resolutionoptional
Typeenum
Defaultauto
auto240p360p480p580p720p
Resolution for the output video.
aspect_ratiooptional
Typeenum
Defaultauto
auto16:91:19:16
Aspect ratio for the resulting video.
num_inference_stepsoptional
Typeinteger
Default30
2 – 50
Sampling step count, trading longer processing time for better quality as the count increases.
guidance_scaleoptional
Typenumber
Default5
1 – 10
Prompt-alignment strength controlled through classifier-free guidance; increasing the scale encourages generated images to follow the text more closely.
sampleroptional
Typeenum
Defaultunipc
unipcdpm++euler
Sampler used when generating video.
shiftoptional
Typenumber
Default5
1 – 15
Shift setting applied when generating video.
video_urlrequired video
Typeurl · video
Reframing reference supplied as a URL pointing to the source video file.
enable_safety_checkeroptional
Typeboolean
Defaultfalse
Safety-checking switch whose off setting requires account authorization. Without that authorization, every request is checked regardless of the setting; true enables the checker.
accelerationoptional
Typeenum
Defaultregular
nonelowregular
Inference acceleration setting, with a choice of 'none' or 'regular': accelerated processing offers a substantial speed improvement at the expense of a very small output change.
video_qualityoptional
Typeenum
Defaulthigh
lowmediumhighmaximum
Quality level for the resulting video.
video_write_modeoptional
Typeenum
Defaultbalanced
fastbalancedsmall
Write mode for the resulting video.
enable_auto_downsampleoptional
Typeboolean
Defaulttrue
Automatic downsampling toggle.
auto_downsample_min_fpsoptional
Typenumber
Default6
1 – 60
Minimum frame rate in FPS for automatic downsampling.
interpolator_modeloptional
Typeenum
Defaultfilm
rifefilm
Frame interpolation model selection: either 'rife' or 'film'.
transparency_modeoptional
Typeenum
Defaultcontent_aware
content_awarewhiteblack
Transparency handling for the starting and ending frames, determining how their transparent regions are filled.
return_frames_zipoptional
Typeboolean
Defaultfalse
Controls whether a ZIP archive containing every generated frame is also returned; enabled when true.
zoom_factoroptional
Typenumber
Default0
0 – 0.9
Set the video zoom to 0 to leave it unchanged. A positive factor enlarges the video relative to the canvas by that amount, cropping away the outer edges.
trim_bordersoptional
Typeboolean
Defaulttrue
Controls whether video borders are trimmed.
scene_thresholdoptional
Typenumber
Default30
0 – 100
Scene-detection threshold: decreasing it increases the number of detected scenes. Accepts values from 0 to 100.
paste_backoptional
Typeboolean
Defaulttrue
Controls whether the reframed scene is pasted back into the original video.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-vace-apps/long-reframe",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 400,
    "usd": "0.40",
    "charged": 400,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Resulting video file.

More models: Video to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/wan-vace-apps/long-reframe.md. All models and guides: https://doitong.com/developers/llms.txt