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.

Keyframe animation: a row on the GPU board and an eval suite (workflow timing, true time, today's Frames chain)

Clauded30c0625c6fa
diff --git a/scripts/eval/cases/animation.json b/scripts/eval/cases/animation.json
new file mode 100644
index 00000000..f8454701
--- /dev/null
+++ b/scripts/eval/cases/animation.json
@@ -0,0 +1,242 @@
+{
+ "$schema": "./case.schema.json",
+ "suite": "animation",
+ "title": "Fuobe Animation · keyframes in, the in-betweens drawn, one animation",
+ "description": "Keyframe in-betweening (package inbetweening): your keyframes of one drawn character in local/animation/ (key1.png … key5.png: the same character in five poses, one shape, a plain background). On your GPU Fuobe Animation runs every gap in one graph on one set of Wan 2.2 I2V 14B fp8 loaders: AniSora 3.2 on the high-noise expert, the lightx2v 4-step LoRA on the low-noise expert, 4 steps at CFG 1, shift 5, each gap's own length (4n + 1, 17-81 frames) and every-Nth selection, played at 24 fps (or 16 fps, true time). In the cloud each gap is one fal Wan 2.2 A14B image-to-video clip with an end frame and AniSora on the high-noise expert, every frame kept at 16 fps, joined. Hardware: Wan 2.2 14B fp8 with two experts needs about 24 GB of VRAM at 720p (the manifest's vramGb); each pass holds its own frames, and system RAM for the decoded frames grows with the total length (the workflow's 116 made frames at 1280x720 are about 1 GB of float frames). Demo mode returns the demo provider's clip. Metrics: temporal steadiness, identity of the drawn character against key1 (expected lower than for photos), CLIP against the words. The words are Fuobe's own.",
+ "original": "fuobe-animation",
+ "kind": "video",
+ "targets": {
+ "open": {
+ "models": [
+ "fuobe-animation"
+ ]
+ },
+ "cloud": {
+ "models": [
+ "fuobe-animation"
+ ]
+ },
+ "demo": {
+ "models": [
+ "fuobe-animation"
+ ]
+ }
+ },
+ "defaults": {
+ "seeds": [
+ 42
+ ],
+ "metrics": [
+ "temporal",
+ "clip"
+ ],
+ "timeoutSeconds": 5400,
+ "candidate": "recipe"
+ },
+ "variants": {
+ "recipe": {
+ "description": "Fuobe Animation with the case's timing, mouth still",
+ "extra": {
+ "stillMouth": true
+ }
+ },
+ "plain-chain": {
+ "description": "Today's Frames mode on your GPU: Wan 2.2 14B start/end-frame clips per pair, no AniSora, joined (the same keyframe times)",
+ "engines": [
+ "open"
+ ],
+ "models": {
+ "open": [
+ "oss-wan22-14b"
+ ]
+ }
+ }
+ },
+ "cases": [
+ {
+ "id": "animation/five-poses",
+ "title": "Five poses of one drawn character, the workflow's own timing",
+ "op": "keyframes",
+ "inputs": {
+ "images": [
+ "local/animation/key1.png",
+ "local/animation/key2.png",
+ "local/animation/key3.png",
+ "local/animation/key4.png",
+ "local/animation/key5.png"
+ ]
+ },
+ "demoInputs": {
+ "images": [
+ "fixtures/character/drawn-face-1.png",
+ "fixtures/character/drawn-face-2.png",
+ "fixtures/character/drawn-face-3.png",
+ "fixtures/character/drawn-face-1.png",
+ "fixtures/character/drawn-face-2.png"
+ ]
+ },
+ "prompts": [
+ {
+ "id": "poses",
+ "text": "An anime character moves smoothly from pose to pose, clean line art, flat colours"
+ }
+ ],
+ "params": {
+ "aspectRatio": "16:9",
+ "resolution": "720p",
+ "keyframeTimes": [
+ 0,
+ 1.5,
+ 1.75,
+ 1.917,
+ 3.75
+ ]
+ },
+ "references": [
+ "local/animation/key1.png"
+ ],
+ "metrics": [
+ "temporal",
+ "identity",
+ "clip"
+ ],
+ "engines": [
+ "open",
+ "demo"
+ ],
+ "extra": {
+ "inbetween": {
+ "gaps": [
+ {
+ "frames": 37,
+ "speed": 1
+ },
+ {
+ "frames": 17,
+ "speed": 3
+ },
+ {
+ "frames": 17,
+ "speed": 4
+ },
+ {
+ "frames": 45,
+ "speed": 1
+ }
+ ],
+ "fps": 24
+ }
+ },
+ "note": "The GPU's speeds and 24 fps: the cloud runs the true-time case."
+ },
+ {
+ "id": "animation/five-poses-true-time",
+ "title": "Five poses, every frame kept at 16 fps (both engines)",
+ "op": "keyframes",
+ "inputs": {
+ "images": [
+ "local/animation/key1.png",
+ "local/animation/key2.png",
+ "local/animation/key3.png",
+ "local/animation/key4.png",
+ "local/animation/key5.png"
+ ]
+ },
+ "demoInputs": {
+ "images": [
+ "fixtures/character/drawn-face-1.png",
+ "fixtures/character/drawn-face-2.png",
+ "fixtures/character/drawn-face-3.png",
+ "fixtures/character/drawn-face-1.png",
+ "fixtures/character/drawn-face-2.png"
+ ]
+ },
+ "prompts": [
+ {
+ "id": "poses",
+ "text": "An anime character moves smoothly from pose to pose, clean line art, flat colours"
+ }
+ ],
+ "params": {
+ "aspectRatio": "16:9",
+ "resolution": "720p",
+ "keyframeTimes": [
+ 0,
+ 2.25,
+ 3.25,
+ 4.25,
+ 7
+ ]
+ },
+ "references": [
+ "local/animation/key1.png"
+ ],
+ "metrics": [
+ "temporal",
+ "identity",
+ "clip"
+ ],
+ "extra": {
+ "inbetween": {
+ "gaps": [
+ {
+ "frames": 37,
+ "speed": 1
+ },
+ {
+ "frames": 17,
+ "speed": 1
+ },
+ {
+ "frames": 17,
+ "speed": 1
+ },
+ {
+ "frames": 45,
+ "speed": 1
+ }
+ ],
+ "fps": 16
+ }
+ }
+ },
+ {
+ "id": "animation/two-poses",
+ "title": "Two poses, one gap: the shortest animation",
+ "op": "keyframes",
+ "inputs": {
+ "images": [
+ "local/animation/key1.png",
+ "local/animation/key2.png"
+ ]
+ },
+ "demoInputs": {
+ "images": [
+ "fixtures/character/drawn-face-1.png",
+ "fixtures/character/drawn-face-2.png"
+ ]
+ },
+ "prompts": [
+ {
+ "id": "turn",
+ "text": "The character turns her head and smiles, clean line art"
+ }
+ ],
+ "params": {
+ "aspectRatio": "16:9",
+ "resolution": "720p"
+ },
+ "extra": {
+ "inbetween": {
+ "gaps": [
+ {
+ "frames": 33,
+ "speed": 1
+ }
+ ]
+ }
+ },
+ "note": "No playback rate: each engine plays at its own (24 fps on your GPU, 16 in the cloud)."
+ }
+ ]
+}
diff --git a/src/server/gpu/tools.ts b/src/server/gpu/tools.ts
index b4f9e5a1..da630f4e 100644
--- a/src/server/gpu/tools.ts
+++ b/src/server/gpu/tools.ts
@@ -177,6 +177,8 @@ export const STUDIO_ROWS: StudioRowDef[] = [
},
{ href: "/upscale", label: "Upscale", group: "Images", config: S.UPSCALE_STUDIO },
{ href: "/video", label: "Video", group: "Video", config: S.VIDEO_STUDIO },
+ // Keyframe animation (Fuobe Animation): Frames mode's Animation style, every gap in one graph on Wan 2.2 with AniSora.
+ { href: "/video?model=fuobe-animation", label: "Keyframe animation", group: "Video", steps: [{ modelId: "fuobe-animation", op: "keyframes" }] },
{ href: "/motion-control", label: "Motion control", group: "Video", config: S.MOTION_CONTROL_STUDIO },
{ href: "/video-edit", label: "Edit video", group: "Video", config: S.VIDEO_EDIT_STUDIO },
{ href: "/extend", label: "Extend", group: "Video", config: S.EXTEND_STUDIO },