Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Upscale: a Video upscale example ready to run, and a detail loupe for its card

Adarsh9d6e1f971459
diff --git a/public/examples/upscale-video/1/in-video.384.webp b/public/examples/upscale-video/1/in-video.384.webp
new file mode 100644
index 00000000..37088ce2
Binary files /dev/null and b/public/examples/upscale-video/1/in-video.384.webp differ
diff --git a/public/examples/upscale-video/1/in-video.mp4 b/public/examples/upscale-video/1/in-video.mp4
new file mode 100644
index 00000000..b754e91c
Binary files /dev/null and b/public/examples/upscale-video/1/in-video.mp4 differ
diff --git a/public/examples/upscale-video/1/show.mp4 b/public/examples/upscale-video/1/show.mp4
new file mode 100644
index 00000000..053a9dd4
Binary files /dev/null and b/public/examples/upscale-video/1/show.mp4 differ
diff --git a/public/examples/upscale-video/1/show.peak.webp b/public/examples/upscale-video/1/show.peak.webp
new file mode 100644
index 00000000..7c7231a0
Binary files /dev/null and b/public/examples/upscale-video/1/show.peak.webp differ
diff --git a/public/examples/upscale-video/1/show.poster.webp b/public/examples/upscale-video/1/show.poster.webp
new file mode 100644
index 00000000..973efc28
Binary files /dev/null and b/public/examples/upscale-video/1/show.poster.webp differ
diff --git a/public/previews/fx/upscale-video/after.480.avif b/public/previews/fx/upscale-video/after.480.avif
new file mode 100644
index 00000000..11a8b713
Binary files /dev/null and b/public/previews/fx/upscale-video/after.480.avif differ
diff --git a/public/previews/fx/upscale-video/after.480.webp b/public/previews/fx/upscale-video/after.480.webp
new file mode 100644
index 00000000..5aeb1812
Binary files /dev/null and b/public/previews/fx/upscale-video/after.480.webp differ
diff --git a/public/previews/fx/upscale-video/after.960.avif b/public/previews/fx/upscale-video/after.960.avif
new file mode 100644
index 00000000..1b450998
Binary files /dev/null and b/public/previews/fx/upscale-video/after.960.avif differ
diff --git a/public/previews/fx/upscale-video/after.960.webp b/public/previews/fx/upscale-video/after.960.webp
new file mode 100644
index 00000000..ceb76e5b
Binary files /dev/null and b/public/previews/fx/upscale-video/after.960.webp differ
diff --git a/public/previews/fx/upscale-video/after.loupe.webp b/public/previews/fx/upscale-video/after.loupe.webp
new file mode 100644
index 00000000..5f1d4fdf
Binary files /dev/null and b/public/previews/fx/upscale-video/after.loupe.webp differ
diff --git a/public/previews/fx/upscale-video/after.loupe2x.webp b/public/previews/fx/upscale-video/after.loupe2x.webp
new file mode 100644
index 00000000..b501021b
Binary files /dev/null and b/public/previews/fx/upscale-video/after.loupe2x.webp differ
diff --git a/public/previews/fx/upscale-video/before.480.avif b/public/previews/fx/upscale-video/before.480.avif
new file mode 100644
index 00000000..0828be0a
Binary files /dev/null and b/public/previews/fx/upscale-video/before.480.avif differ
diff --git a/public/previews/fx/upscale-video/before.480.webp b/public/previews/fx/upscale-video/before.480.webp
new file mode 100644
index 00000000..0515b2c9
Binary files /dev/null and b/public/previews/fx/upscale-video/before.480.webp differ
diff --git a/public/previews/fx/upscale-video/before.960.avif b/public/previews/fx/upscale-video/before.960.avif
new file mode 100644
index 00000000..e919946c
Binary files /dev/null and b/public/previews/fx/upscale-video/before.960.avif differ
diff --git a/public/previews/fx/upscale-video/before.960.webp b/public/previews/fx/upscale-video/before.960.webp
new file mode 100644
index 00000000..284fafa4
Binary files /dev/null and b/public/previews/fx/upscale-video/before.960.webp differ
diff --git a/public/previews/fx/upscale-video/before.loupe.webp b/public/previews/fx/upscale-video/before.loupe.webp
new file mode 100644
index 00000000..04a475ef
Binary files /dev/null and b/public/previews/fx/upscale-video/before.loupe.webp differ
diff --git a/public/previews/fx/upscale-video/before.loupe2x.webp b/public/previews/fx/upscale-video/before.loupe2x.webp
new file mode 100644
index 00000000..31ab5309
Binary files /dev/null and b/public/previews/fx/upscale-video/before.loupe2x.webp differ
diff --git a/src/lib/examples/media.generated.ts b/src/lib/examples/media.generated.ts
index 5269367b..43f45299 100644
--- a/src/lib/examples/media.generated.ts
+++ b/src/lib/examples/media.generated.ts
@@ -8958,6 +8958,49 @@ export const EXAMPLE_MEDIA: Record<string, ExampleMediaFile> = {
"w": 512,
"h": 384
},
+ "/examples/upscale-video/1/in-video.384.webp": {
+ "role": "show",
+ "type": "image/webp",
+ "bytes": 25508,
+ "sha256": "9cab632ec470cc98db0fb9d77b9c4312880f21fc54caadc9885818463b8d703a",
+ "v": "9cab632e",
+ "w": 384,
+ "h": 288
+ },
+ "/examples/upscale-video/1/in-video.mp4": {
+ "role": "in",
+ "type": "video/mp4",
+ "bytes": 1241342,
+ "sha256": "c182d46b277804539626df43c1a3c075a5dc3f1ed851b74d18386c970968d904",
+ "v": "c182d46b",
+ "thumb": "/examples/upscale-video/1/in-video.384.webp?v=9cab632e"
+ },
+ "/examples/upscale-video/1/show.mp4": {
+ "role": "show",
+ "type": "video/mp4",
+ "bytes": 1013785,
+ "sha256": "2cad149938815558d81317eb7d27d6a210a39d5399389ac42da6f8916f51b7b5",
+ "v": "2cad1499",
+ "poster": "/examples/upscale-video/1/show.poster.webp?v=6f5a0f9f"
+ },
+ "/examples/upscale-video/1/show.peak.webp": {
+ "role": "show",
+ "type": "image/webp",
+ "bytes": 14994,
+ "sha256": "bb3dcbd279906082d76b8516905c69db1de65c085427ad0c0d220761a8527ba2",
+ "v": "bb3dcbd2",
+ "w": 512,
+ "h": 384
+ },
+ "/examples/upscale-video/1/show.poster.webp": {
+ "role": "show",
+ "type": "image/webp",
+ "bytes": 89972,
+ "sha256": "6f5a0f9f1282554062736c993a0ebe191f62489435d4d47583699b3e5bd2aec5",
+ "v": "6f5a0f9f",
+ "w": 1024,
+ "h": 768
+ },
"/examples/video-tools-colors/1/in-image.384.webp": {
"role": "show",
"type": "image/webp",
diff --git a/src/lib/examples/plan.json b/src/lib/examples/plan.json
index fe2c725c..5fdd0513 100644
--- a/src/lib/examples/plan.json
+++ b/src/lib/examples/plan.json
@@ -4936,5 +4936,24 @@
"at": 4.717,
"from": 0
}
+ },
+ {
+ "id": "upscale-video.1",
+ "surface": "hub:upscale/video",
+ "rank": 1,
+ "caption": "Gold sequins, sharp at 1080p",
+ "modelId": "oss-upscale-video-esrgan",
+ "params": {
+ "resolution": "1080p"
+ },
+ "inputs": {
+ "video": "/examples/upscale-video/1/in-video.mp4"
+ },
+ "output": "/examples/upscale-video/1/show.mp4",
+ "rest": {
+ "src": "/examples/upscale-video/1/show.peak.webp",
+ "at": 4.717,
+ "from": 0
+ }
}
]
diff --git a/src/lib/fx-pairs.generated.ts b/src/lib/fx-pairs.generated.ts
index 9d327b21..237cb2f1 100644
--- a/src/lib/fx-pairs.generated.ts
+++ b/src/lib/fx-pairs.generated.ts
@@ -73,6 +73,16 @@ export const FX_PAIRS: Record<string, FxPair> = {
0.25
]
},
+ "upscale-video": {
+ "v": "ff95b494",
+ "kind": "loupe",
+ "loupe": [
+ 0.4361,
+ 0.2046,
+ 0.1875,
+ 0.25
+ ]
+ },
"video-tools": {
"v": "5a5c1320",
"kind": "matte"