forked from Cynthiazxy123/SAMA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1141 lines (1132 loc) · 60.5 KB
/
index.html
File metadata and controls
1141 lines (1132 loc) · 60.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SAMA: Factorized Semantic Anchoring and Motion Alignment for Instruction-Guided Video Editing</title>
<meta name="description" content="Project page for SAMA, a factorized framework for instruction-guided video editing with semantic anchoring and motion alignment.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&family=Manrope:wght@400;500;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<header class="hero">
<nav class="topbar">
<a class="brand" href="#top">SAMA</a>
<div class="nav-links">
<a href="#overview">Overview</a>
<a href="#method">Method</a>
<a href="#results">Results</a>
<a href="#bibtex">BibTeX</a>
</div>
</nav>
<div class="hero-shell">
<div class="hero-copy">
<p class="eyebrow">arXiv 2026</p>
<h1>SAMA</h1>
<p class="hero-subtitle">Factorized Semantic Anchoring and Motion Alignment for Instruction-Guided Video Editing</p>
<p class="authors">
<a href="https://scholar.google.com/citations?hl=zh-TW&user=3nRkR1wAAAAJ" target="_blank" rel="noreferrer">Xinyao Zhang</a><sup>1,2,*</sup>,
<a href="https://openreview.net/profile?id=~Wenkai_Dong1" target="_blank" rel="noreferrer">Wenkai Dong</a><sup>1,*</sup>,
<a href="https://scholar.google.com/citations?hl=zh-TW&user=1uL_9HAAAAAJ" target="_blank" rel="noreferrer">Yuxin Song</a><sup>1,*,†</sup>,
<a href="https://scholar.google.com.hk/citations?hl=zh-CN&user=sphnU4UAAAAJ" target="_blank" rel="noreferrer">Bo Fang</a><sup>1,3</sup>,
<a href="https://openreview.net/profile?id=~Qi_Zhang40" target="_blank" rel="noreferrer">Qi Zhang</a><sup>1</sup>,
<a href="https://openreview.net/profile?id=~Jing_Wang68" target="_blank" rel="noreferrer">Jing Wang</a><sup>1,2</sup>,
<a href="https://openreview.net/profile?id=~Fan_Chen14" target="_blank" rel="noreferrer">Fan Chen</a><sup>1</sup>,
<a href="https://openreview.net/profile?id=~Hui_Zhang28" target="_blank" rel="noreferrer">Hui Zhang</a><sup>1</sup>,
<a href="https://scholar.google.com.hk/citations?user=pnuQ5UsAAAAJ&hl=zh-CN&oi=ao" target="_blank" rel="noreferrer">Haocheng Feng</a><sup>1</sup>,
<a href="https://yulu.net.cn/" target="_blank" rel="noreferrer">Yu Lu</a><sup>4,‡</sup>,
<a href="https://hangz-nju-cuhk.github.io/" target="_blank" rel="noreferrer">Hang Zhou</a><sup>1</sup>,
<a href="https://scholar.google.com/citations?user=fYdxi2sAAAAJ&hl=zh-TW" target="_blank" rel="noreferrer">Chun Yuan</a><sup>2</sup>,
<a href="https://jingdongwang2017.github.io/" target="_blank" rel="noreferrer">Jingdong Wang</a><sup>1</sup>
</p>
<p class="affiliations">
<span><sup>1</sup> Baidu Inc</span>
<span><sup>2</sup> Tsinghua University</span>
<span><sup>3</sup> City University of Hong Kong</span>
<span><sup>4</sup> Zhejiang University</span>
</p>
<p class="meta-note"><span>* Equal Contribution</span><span>† Project leader</span><span>‡ Corresponding Author</span></p>
<div class="cta-row">
<a class="button" href="https://arxiv.org/abs/2603.19228" target="_blank" rel="noreferrer">
<span class="button-icon" aria-hidden="true">
<img src="https://arxiv.org/static/browse/0.3.4/images/icons/favicon-32x32.png" alt="">
</span>
<span>Paper</span>
</a>
<a class="button" href="https://github.com/Cynthiazxy123/SAMA" target="_blank" rel="noreferrer">
<span class="button-icon" aria-hidden="true">
<img src="https://github.githubassets.com/favicons/favicon.svg" alt="">
</span>
<span>Code</span>
</a>
<a class="button" href="https://huggingface.co/syxbb/SAMA-14B" target="_blank" rel="noreferrer">
<span class="button-icon" aria-hidden="true">
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="">
</span>
<span>Model</span>
</a>
<a class="button" href="https://huggingface.co/datasets/syxbb/SAMA-edit-filtered-1M" target="_blank" rel="noreferrer">
<span class="button-icon" aria-hidden="true">
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="">
</span>
<span>Dataset (Under review)</span>
</a>
</div>
</div>
</div>
</header>
<main>
<section class="section page-section" id="overview">
<div class="section-head">
<p class="section-tag">Overview</p>
<h2>Balancing semantic edits and motion fidelity</h2>
</div>
<div class="overview-single">
<div class="text-card">
<p>
Current instruction-guided video editing systems often face a tradeoff between strong
semantic modification and faithful motion preservation. SAMA addresses this by separating
the problem into sparse semantic planning and motion modeling, avoiding heavy reliance on
brittle external priors such as VLM features or structural control signals.
</p>
<ul class="feature-list">
<li>Semantic Anchoring jointly predicts semantic tokens and video latents at sparse anchor frames.</li>
<li>Motion Alignment learns temporal dynamics from raw videos through motion-centric pretext tasks.</li>
<li>A two-stage training pipeline produces strong zero-shot editing and competitive benchmark performance.</li>
</ul>
</div>
<div class="image-card overview-figure">
<p class="hero-badge">Teaser Figure</p>
<img class="figure-image teaser-paper-image" src="assets/images/fig1-teaser-paper.jpg" alt="Figure 1 teaser from the SAMA paper">
</div>
</div>
</section>
<section class="section page-section" id="method">
<div class="section-head">
<p class="section-tag">Method</p>
<h2>Factorized semantic anchoring and motion alignment</h2>
</div>
<div class="pipeline-card">
<img class="figure-image wide-figure" src="assets/images/fig2-pipeline.png" alt="Figure 2 overall pipeline of SAMA">
<div class="pipeline-notes">
<div>
<h3>Semantic Anchoring</h3>
<p>SAMA predicts semantic tokens together with target latents at sparse anchor frames, providing instruction-aware structure planning in semantic space while retaining high-fidelity rendering in latent space.</p>
</div>
<div>
<h3>Motion Alignment</h3>
<p>The same backbone is pre-trained with cube inpainting, speed perturbation, and tube shuffle tasks so it can internalize temporal coherence directly from raw videos.</p>
</div>
<div>
<h3>Two-Stage Training</h3>
<p>Stage 0 performs factorized pre-training on perturbed videos and captions, then Stage 1 fine-tunes on paired editing data to resolve remaining semantic-motion conflicts and improve fidelity.</p>
</div>
</div>
</div>
</section>
<section class="section section-wide page-section page-section-compact" id="results">
<div class="section-head">
<p class="section-tag">Results</p>
</div>
<div class="benchmark-panel-head">
<h2 class="benchmark-title">Comparison with other methods</h2>
</div>
<div class="benchmark-panel">
<div class="benchmark-list">
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-10">
<source src="assets/videos/highlight/highlight-10-source.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-10">
<source src="assets/videos/highlight/highlight-10-sama.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-10">
<source src="assets/videos/highlight/highlight-10-kling.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-10">
<source src="assets/videos/highlight/highlight-10-univideo.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Replace the blackswan with a white cat.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-11">
<source src="assets/videos/highlight/highlight-11-source-v3.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-11">
<source src="assets/videos/highlight/highlight-11-sama-v3.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-11">
<source src="assets/videos/highlight/highlight-11-kling-v3.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-11">
<source src="assets/videos/highlight/highlight-11-univideo-v3.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Add a white cartoon cat in the right of the boy.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-06">
<source src="assets/videos/highlight/highlight-06-source.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-06">
<source src="assets/videos/highlight/highlight-06-sama.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-06">
<source src="assets/videos/highlight/highlight-06-kling.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-06">
<source src="assets/videos/highlight/highlight-06-univideo.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Turn into watercolor style.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-07">
<source src="assets/videos/highlight/highlight-07-source.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-07">
<source src="assets/videos/highlight/highlight-07-sama.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-07">
<source src="assets/videos/highlight/highlight-07-kling.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-07">
<source src="assets/videos/highlight/highlight-07-univideo.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Change all person's clothes color into black.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-08">
<source src="assets/videos/highlight/highlight-08-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-08">
<source src="assets/videos/highlight/highlight-08-sama-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-08">
<source src="assets/videos/highlight/highlight-08-kling-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-08">
<source src="assets/videos/highlight/highlight-08-univideo-v2.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Remove the football.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-09">
<source src="assets/videos/highlight/highlight-09-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-09">
<source src="assets/videos/highlight/highlight-09-sama-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-09">
<source src="assets/videos/highlight/highlight-09-kling-v3.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-09">
<source src="assets/videos/highlight/highlight-09-univideo-v3.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Add a brown hat on the man's head.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-01">
<source src="assets/videos/highlight/highlight-01-source.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-01">
<source src="assets/videos/highlight/highlight-01-sama.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-01">
<source src="assets/videos/highlight/highlight-01-kling.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-01">
<source src="assets/videos/highlight/highlight-01-univideo.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Replace the background with a dynamic desert highway scene. Heat waves should shimmer above the asphalt, dust occasionally drifts across the road, and distant birds fly across the sky. The lighting should be bright and natural, with subtle shadows moving as if from a passing cloud. The man and SUV remain perfectly still.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-02">
<source src="assets/videos/highlight/highlight-02-source.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-02">
<source src="assets/videos/highlight/highlight-02-sama.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-02">
<source src="assets/videos/highlight/highlight-02-kling.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-02">
<source src="assets/videos/highlight/highlight-02-univideo.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Replace the subtitles "What's locked in these frames could rewrite her story." at the bottom of the video with "Her fingers trace fragile film - soft light, a life unspooling." in white text without border style.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-03">
<source src="assets/videos/highlight/highlight-03-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-03">
<source src="assets/videos/highlight/highlight-03-sama-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-03">
<source src="assets/videos/highlight/highlight-03-kling-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-03">
<source src="assets/videos/highlight/highlight-03-univideo-v2.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Add a gorilla on the left, standing and trying to copy the dance moves.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-04">
<source src="assets/videos/highlight/highlight-04-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-04">
<source src="assets/videos/highlight/highlight-04-sama-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-04">
<source src="assets/videos/highlight/highlight-04-kling-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-04">
<source src="assets/videos/highlight/highlight-04-univideo-v2.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Remove the young boy standing at the chalkboard.</p>
</article>
<article class="benchmark-row">
<div class="benchmark-scroll">
<div class="benchmark-videos">
<div class="benchmark-video">
<div class="video-label">Source</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-05">
<source src="assets/videos/highlight/highlight-05-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-05">
<source src="assets/videos/highlight/highlight-05-sama-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">Kling-o1</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-05">
<source src="assets/videos/highlight/highlight-05-kling-v2.mp4" type="video/mp4">
</video>
</div>
<div class="benchmark-video">
<div class="video-label">UniVideo</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="highlight-05">
<source src="assets/videos/highlight/highlight-05-univideo-v2.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
<p class="benchmark-prompt">Remove the wolf-like dog on the right.</p>
</article>
</div>
</div>
<div class="benchmark-panel-head">
<h2 class="benchmark-title">Benchmark highlights</h2>
</div>
<div class="demo-grid benchmark-highlights-grid">
<article class="demo-card benchmark-highlights-card">
<div class="table-stack table-stack-three">
<img class="table-preview" src="assets/images/table2-vie-bench.png" alt="Table 2 comparison results on VIE-Bench">
<img class="table-preview" src="assets/images/table3-openve-bench.png" alt="Table 3 comparison results on OpenVE-Bench">
<img class="table-preview" src="assets/images/table4-reco-bench.png" alt="Table 4 comparison results on ReCo-Bench">
</div>
<h3>Open-source SOTA</h3>
<p>SAMA achieves state-of-the-art performance among open-source instruction-guided video editing models and remains competitive with leading commercial systems.</p>
</article>
</div>
</section>
<section class="section section-wide page-section page-section-compact task-section">
<div class="task-panel-head">
<p class="section-tag">More visualizations</p>
</div>
<div class="task-panel">
<div class="section-head">
<h2>Add task</h2>
</div>
<div class="example-grid">
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-01" data-sync-role="source">
<source src="assets/videos/add/add-01-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-01" data-sync-role="cosmo">
<source src="assets/videos/add/add-01-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a tiny red fez hat on the monkey's head.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-02" data-sync-role="source">
<source src="assets/videos/add/add-02-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-02" data-sync-role="cosmo">
<source src="assets/videos/add/add-02-cosmo-v2.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a third, smaller Shiba Inu puppy sitting between the two dogs.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-03" data-sync-role="source">
<source src="assets/videos/add/add-03-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-03" data-sync-role="cosmo">
<source src="assets/videos/add/add-03-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a woman with short black hair and big gold earrings Sitting in front of the beige L-shaped sofa.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-04" data-sync-role="source">
<source src="assets/videos/add/add-04-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-04" data-sync-role="cosmo">
<source src="assets/videos/add/add-04-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a woman with alternating light and dark hair sitting in the box.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-05" data-sync-role="source">
<source src="assets/videos/add/add-05-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-05" data-sync-role="cosmo">
<source src="assets/videos/add/add-05-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a small pink paper boat floating on the water to the left of the duck.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-06" data-sync-role="source">
<source src="assets/videos/add/add-06-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-06" data-sync-role="cosmo">
<source src="assets/videos/add/add-06-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a small, orange octopus sitting on the seal's head.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-07" data-sync-role="source">
<source src="assets/videos/add/add-07-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-07" data-sync-role="cosmo">
<source src="assets/videos/add/add-07-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a desk lamp on the desk to the left of the laptop.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-08" data-sync-role="source">
<source src="assets/videos/add/add-08-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="add-08" data-sync-role="cosmo">
<source src="assets/videos/add/add-08-cosmo.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Add a golden crown hat on the head of the chipmunk on the left.</p>
</article>
</div>
</div>
</section>
<section class="section section-wide page-section page-section-compact task-section">
<div class="task-panel">
<div class="section-head">
<h2>Replace task</h2>
</div>
<div class="example-grid">
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-01" data-sync-role="source">
<source src="assets/videos/replace/replace-01-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-01" data-sync-role="sama">
<source src="assets/videos/replace/replace-01-sama-v2.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the man in the green hoodie with a fluffy St. Bernard dog sitting in the chair, paws on the desk.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-02" data-sync-role="source">
<source src="assets/videos/replace/replace-02-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-02" data-sync-role="sama">
<source src="assets/videos/replace/replace-02-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the cows with a wolf.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-03" data-sync-role="source">
<source src="assets/videos/replace/replace-03-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-03" data-sync-role="sama">
<source src="assets/videos/replace/replace-03-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Change the color of women's trousers to pink.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-04" data-sync-role="source">
<source src="assets/videos/replace/replace-04-source-v2.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-04" data-sync-role="sama">
<source src="assets/videos/replace/replace-04-sama-v2.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the man's light gray hoodie with a sharp dark navy blue business suit, white shirt, and black tie, maintaining the same position and pose within the scene.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-05" data-sync-role="source">
<source src="assets/videos/replace/replace-05-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-05" data-sync-role="sama">
<source src="assets/videos/replace/replace-05-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the blue sports car with an electric green eco-friendly car, ensuring it maintains the same position and pose within the video scene.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-06" data-sync-role="source">
<source src="assets/videos/replace/replace-06-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-06" data-sync-role="sama">
<source src="assets/videos/replace/replace-06-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the gray squirrel with a small pigeon pecking food from the hand.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-07" data-sync-role="source">
<source src="assets/videos/replace/replace-07-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-07" data-sync-role="sama">
<source src="assets/videos/replace/replace-07-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the spotted baby seal on the sand with a red crab.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-08" data-sync-role="source">
<source src="assets/videos/replace/replace-08-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="replace-08" data-sync-role="sama">
<source src="assets/videos/replace/replace-08-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Replace the pigeon on the right with a squirrel.</p>
</article>
</div>
</div>
</section>
<section class="section section-wide page-section page-section-compact task-section">
<div class="task-panel">
<div class="section-head">
<h2>Remove task</h2>
</div>
<div class="example-grid">
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-01" data-sync-role="source">
<source src="assets/videos/remove/remove-01-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-01" data-sync-role="sama">
<source src="assets/videos/remove/remove-01-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the subtitles at the top of the video.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-02" data-sync-role="source">
<source src="assets/videos/remove/remove-02-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-02" data-sync-role="sama">
<source src="assets/videos/remove/remove-02-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the boy.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-03" data-sync-role="source">
<source src="assets/videos/remove/remove-03-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-03" data-sync-role="sama">
<source src="assets/videos/remove/remove-03-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the woman.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-04" data-sync-role="source">
<source src="assets/videos/remove/remove-04-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-04" data-sync-role="sama">
<source src="assets/videos/remove/remove-04-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the bowl in the middle.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-05" data-sync-role="source">
<source src="assets/videos/remove/remove-05-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-05" data-sync-role="sama">
<source src="assets/videos/remove/remove-05-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the black hat on the man's head.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-06" data-sync-role="source">
<source src="assets/videos/remove/remove-06-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-06" data-sync-role="sama">
<source src="assets/videos/remove/remove-06-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the young woman with long, wavy brown hair and a serene expression from the entire video sequence. She is wearing a textured, off-white knit sweater with wide, ruffled sleeves, gazing upwards with her lips slightly parted and eyes softly closed, her head tilting slightly to the side while maintaining a relaxed posture with shoulders subtly leaning back. The background must be reconstructed with temporal consistency, and all other video content must remain unchanged.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-07" data-sync-role="source">
<source src="assets/videos/remove/remove-07-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-07" data-sync-role="sama">
<source src="assets/videos/remove/remove-07-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the woman on the left.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-08" data-sync-role="source">
<source src="assets/videos/remove/remove-08-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="remove-08" data-sync-role="sama">
<source src="assets/videos/remove/remove-08-sama.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Remove the man in the green hoodie.</p>
</article>
</div>
</div>
</section>
<section class="section section-wide page-section page-section-compact task-section">
<div class="task-panel style-task-panel">
<div class="section-head">
<h2>Style task</h2>
</div>
<div class="example-grid">
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="style-01" data-sync-role="source">
<source src="assets/videos/style/style-01-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="style-01" data-sync-role="output">
<source src="assets/videos/style/style-01-output.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Convert the video into a Ghibli style.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="style-02" data-sync-role="source">
<source src="assets/videos/style/style-02-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="style-02" data-sync-role="output">
<source src="assets/videos/style/style-02-output.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Make it snowy.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">
<div class="video-label">Source Video</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="style-03" data-sync-role="source">
<source src="assets/videos/style/style-03-source.mp4" type="video/mp4">
</video>
</div>
<div class="video-slot">
<div class="video-label">SAMA</div>
<video controls muted loop playsinline preload="metadata" data-sync-group="style-03" data-sync-role="output">
<source src="assets/videos/style/style-03-output.mp4" type="video/mp4">
</video>
</div>
</div>
<p class="example-prompt">Transform the entire scene into pixel art style.</p>
</article>
<article class="example-card">
<div class="example-stack">
<div class="video-slot">