kasaframe 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/NOTICE +146 -0
- package/README.md +77 -2
- package/app/package.json +12 -0
- package/app/server/engine.ts +415 -0
- package/app/server/main.ts +205 -0
- package/app/web/env.d.ts +2 -0
- package/app/web/icons.ts +31 -0
- package/app/web/index.html +21 -0
- package/app/web/main.ts +1013 -0
- package/app/web/style.css +430 -0
- package/bin/hooks.mjs +51 -0
- package/bin/kf.mjs +14 -0
- package/docs/AGENTS.md +238 -0
- package/music/README.md +13 -0
- package/package.json +44 -4
- package/packages/adapters/package.json +36 -0
- package/packages/adapters/src/css.ts +11 -0
- package/packages/adapters/src/gsap.ts +26 -0
- package/packages/adapters/src/index.ts +9 -0
- package/packages/adapters/src/lottie.ts +22 -0
- package/packages/adapters/src/media.ts +59 -0
- package/packages/adapters/src/page.ts +229 -0
- package/packages/adapters/src/project.ts +214 -0
- package/packages/adapters/src/react.ts +36 -0
- package/packages/adapters/src/svelte.ts +22 -0
- package/packages/adapters/src/three.ts +18 -0
- package/packages/adapters/src/vue.ts +27 -0
- package/packages/check/package.json +19 -0
- package/packages/check/src/check.ts +273 -0
- package/packages/check/src/cli.ts +70 -0
- package/packages/check/src/image.ts +146 -0
- package/packages/check/src/index.ts +9 -0
- package/packages/check/src/ocr.swift +37 -0
- package/packages/check/src/probe.ts +328 -0
- package/packages/check/src/report.ts +44 -0
- package/packages/check/src/rules/assets.ts +42 -0
- package/packages/check/src/rules/beats.ts +212 -0
- package/packages/check/src/rules/camera.ts +217 -0
- package/packages/check/src/rules/captions.ts +49 -0
- package/packages/check/src/rules/flash.ts +235 -0
- package/packages/check/src/rules/frames.ts +135 -0
- package/packages/check/src/rules/layout.ts +257 -0
- package/packages/check/src/rules/page.ts +87 -0
- package/packages/check/src/rules/runs.ts +20 -0
- package/packages/check/src/rules/text.ts +326 -0
- package/packages/check/src/scan.ts +240 -0
- package/packages/check/src/serve.ts +67 -0
- package/packages/check/src/types.ts +80 -0
- package/packages/check/src/video.ts +137 -0
- package/packages/cli/package.json +29 -0
- package/packages/cli/src/blur.ts +68 -0
- package/packages/cli/src/browser.ts +203 -0
- package/packages/cli/src/command.ts +44 -0
- package/packages/cli/src/commands/app.ts +25 -0
- package/packages/cli/src/commands/beats.ts +36 -0
- package/packages/cli/src/commands/blender.ts +270 -0
- package/packages/cli/src/commands/check.ts +25 -0
- package/packages/cli/src/commands/doctor.ts +22 -0
- package/packages/cli/src/commands/gen.ts +173 -0
- package/packages/cli/src/commands/look.ts +39 -0
- package/packages/cli/src/commands/lyrics.ts +111 -0
- package/packages/cli/src/commands/make.ts +542 -0
- package/packages/cli/src/commands/new.ts +176 -0
- package/packages/cli/src/commands/preview.ts +43 -0
- package/packages/cli/src/commands/render.ts +216 -0
- package/packages/cli/src/commands/setup.ts +63 -0
- package/packages/cli/src/commands/sheet.ts +114 -0
- package/packages/cli/src/commands/skill.ts +43 -0
- package/packages/cli/src/commands/still.ts +40 -0
- package/packages/cli/src/commands/theme.ts +85 -0
- package/packages/cli/src/commands/transitions.ts +40 -0
- package/packages/cli/src/deps.ts +122 -0
- package/packages/cli/src/ffmpeg.ts +81 -0
- package/packages/cli/src/index.ts +8 -0
- package/packages/cli/src/kf.ts +53 -0
- package/packages/cli/src/lock.ts +72 -0
- package/packages/cli/src/out.ts +13 -0
- package/packages/cli/src/serve.ts +124 -0
- package/packages/clock/package.json +14 -0
- package/packages/clock/src/index.ts +25 -0
- package/packages/clock/src/install.ts +351 -0
- package/packages/clock/src/types.ts +45 -0
- package/packages/core/package.json +9 -0
- package/packages/core/src/beats.ts +283 -0
- package/packages/core/src/ease.ts +87 -0
- package/packages/core/src/frame.ts +99 -0
- package/packages/core/src/index.ts +27 -0
- package/packages/core/src/project.ts +146 -0
- package/packages/core/src/rand.ts +56 -0
- package/packages/core/src/spring.ts +52 -0
- package/packages/core/src/style.ts +100 -0
- package/packages/core/src/time.ts +88 -0
- package/packages/gen/PROVIDERS.md +55 -0
- package/packages/gen/package.json +9 -0
- package/packages/gen/src/generate.ts +204 -0
- package/packages/gen/src/image/og.ts +133 -0
- package/packages/gen/src/index.ts +18 -0
- package/packages/gen/src/keys.ts +60 -0
- package/packages/gen/src/media.ts +150 -0
- package/packages/gen/src/plan.ts +106 -0
- package/packages/gen/src/registry.ts +51 -0
- package/packages/gen/src/seam.ts +103 -0
- package/packages/gen/src/types.ts +86 -0
- package/packages/gen/src/video/fal.ts +140 -0
- package/packages/gen/src/video/h3.ts +107 -0
- package/packages/gen/src/video/http.ts +44 -0
- package/packages/gen/src/video/ltx.ts +60 -0
- package/packages/gen/src/video/minimax.ts +55 -0
- package/packages/gen/src/video/veo.ts +71 -0
- package/packages/jizura/package.json +16 -0
- package/packages/jizura/src/deny.ts +73 -0
- package/packages/jizura/src/index.ts +7 -0
- package/packages/jizura/src/install.ts +226 -0
- package/packages/jizura/src/layer.ts +282 -0
- package/packages/jizura/src/lyrics.ts +81 -0
- package/packages/jizura/src/pin.ts +5 -0
- package/packages/jizura/src/vite.ts +36 -0
- package/packages/motion/README.md +142 -0
- package/packages/motion/package.json +29 -0
- package/packages/motion/src/camera.ts +97 -0
- package/packages/motion/src/captions.ts +479 -0
- package/packages/motion/src/enter.ts +128 -0
- package/packages/motion/src/hangul.ts +129 -0
- package/packages/motion/src/impact.ts +100 -0
- package/packages/motion/src/index.ts +17 -0
- package/packages/motion/src/moves/brushWipe.ts +90 -0
- package/packages/motion/src/moves/cloneArray.ts +111 -0
- package/packages/motion/src/moves/curtains.ts +81 -0
- package/packages/motion/src/moves/echoStack.ts +70 -0
- package/packages/motion/src/moves/fit.ts +34 -0
- package/packages/motion/src/moves/flood.ts +61 -0
- package/packages/motion/src/moves/ghostStack.ts +79 -0
- package/packages/motion/src/moves/gridFloor.ts +100 -0
- package/packages/motion/src/moves/imageSwarm.ts +109 -0
- package/packages/motion/src/moves/index.ts +19 -0
- package/packages/motion/src/moves/irisBlades.ts +113 -0
- package/packages/motion/src/moves/karaokeLine.ts +94 -0
- package/packages/motion/src/moves/ledBoard.ts +94 -0
- package/packages/motion/src/moves/liquidTab.ts +72 -0
- package/packages/motion/src/moves/markerWrite.ts +63 -0
- package/packages/motion/src/moves/morphBox.ts +96 -0
- package/packages/motion/src/moves/neonSign.ts +77 -0
- package/packages/motion/src/moves/panelPop.ts +78 -0
- package/packages/motion/src/moves/paperTear.ts +75 -0
- package/packages/motion/src/moves/path.ts +64 -0
- package/packages/motion/src/moves/pathText.ts +107 -0
- package/packages/motion/src/moves/pointSphere.ts +109 -0
- package/packages/motion/src/moves/ransomLetters.ts +73 -0
- package/packages/motion/src/moves/shapeMorph.ts +143 -0
- package/packages/motion/src/moves/slamWords.ts +89 -0
- package/packages/motion/src/moves/sparkTrail.ts +114 -0
- package/packages/motion/src/moves/speedLines.ts +91 -0
- package/packages/motion/src/moves/splitFlap.ts +147 -0
- package/packages/motion/src/moves/stepWords.ts +117 -0
- package/packages/motion/src/moves/strikeOut.ts +98 -0
- package/packages/motion/src/moves/sunburst.ts +58 -0
- package/packages/motion/src/moves/tickerRows.ts +87 -0
- package/packages/motion/src/moves/tokenPicker.ts +114 -0
- package/packages/motion/src/moves/truchet.ts +85 -0
- package/packages/motion/src/moves/wordWall.ts +76 -0
- package/packages/motion/src/moves/worldRoll.ts +31 -0
- package/packages/motion/src/particles.ts +102 -0
- package/packages/motion/src/react/index.tsx +21 -0
- package/packages/motion/src/react/parts.tsx +431 -0
- package/packages/motion/src/react/time.tsx +97 -0
- package/packages/motion/src/text.ts +103 -0
- package/packages/motion/src/transition.ts +82 -0
- package/packages/motion/src/transition3d/cards.ts +65 -0
- package/packages/motion/src/transition3d/chain.ts +84 -0
- package/packages/motion/src/transition3d/dive.ts +181 -0
- package/packages/motion/src/transition3d/fold.ts +110 -0
- package/packages/motion/src/transition3d/gl.ts +219 -0
- package/packages/motion/src/transition3d/index.ts +228 -0
- package/packages/motion/src/transition3d/live.ts +70 -0
- package/packages/motion/src/transition3d/portal.ts +115 -0
- package/packages/motion/src/transition3d/react.tsx +29 -0
- package/packages/motion/src/transition3d/rig.ts +502 -0
- package/packages/motion/src/transition3d/shatter.ts +101 -0
- package/packages/motion/src/transition3d/whip.ts +65 -0
- package/packages/motion/src/transition3d/world.ts +683 -0
- package/packages/motion/src/transition3d/zoomOut.ts +114 -0
- package/packages/motion/src/transitions2d/catalog.ts +127 -0
- package/packages/motion/src/transitions2d/css.d.ts +2 -0
- package/packages/motion/src/transitions2d/cult-ui/LICENSE.md +9 -0
- package/packages/motion/src/transitions2d/cult-ui/RollingNumber.tsx +43 -0
- package/packages/motion/src/transitions2d/gl-transitions/LICENSE +25 -0
- package/packages/motion/src/transitions2d/gl-transitions/shaders.ts +1931 -0
- package/packages/motion/src/transitions2d/index.ts +2 -0
- package/packages/motion/src/transitions2d/kokonutui/LICENSE +21 -0
- package/packages/motion/src/transitions2d/kokonutui/MatrixText.css +16 -0
- package/packages/motion/src/transitions2d/kokonutui/MatrixText.tsx +94 -0
- package/packages/motion/src/transitions2d/magicui/HyperText.css +15 -0
- package/packages/motion/src/transitions2d/magicui/HyperText.tsx +115 -0
- package/packages/motion/src/transitions2d/magicui/LICENSE.md +21 -0
- package/packages/motion/src/transitions2d/magicui/MorphingText.css +25 -0
- package/packages/motion/src/transitions2d/magicui/MorphingText.tsx +130 -0
- package/packages/motion/src/transitions2d/magicui/WordRotate.tsx +42 -0
- package/packages/motion/src/transitions2d/react.ts +13 -0
- package/packages/motion/src/transitions2d/skiper-ui/ClipDiv.css +39 -0
- package/packages/motion/src/transitions2d/skiper-ui/ClipDiv.tsx +32 -0
- package/packages/motion/src/transitions2d/smoothui/LICENSE +21 -0
- package/packages/motion/src/transitions2d/smoothui/SharedAxisY.tsx +50 -0
- package/packages/motion/src/transitions2d/smoothui/TextMorph.tsx +90 -0
- package/packages/motion/src/transitions2d/smoothui/shaders.ts +223 -0
- package/packages/motion/src/transitions2d/unlumen/LICENSE +21 -0
- package/packages/motion/src/transitions2d/unlumen/ScrambleText.tsx +114 -0
- package/packages/motion/src/transitions2d/vengeance-ui/LICENSE +21 -0
- package/packages/motion/src/transitions2d/vengeance-ui/MorphText.css +69 -0
- package/packages/motion/src/transitions2d/vengeance-ui/MorphText.tsx +45 -0
- package/packages/motion/src/type.ts +131 -0
- package/packages/motion/src/ui.ts +172 -0
- package/packages/plan/package.json +15 -0
- package/packages/plan/src/brief.ts +254 -0
- package/packages/plan/src/captions.ts +75 -0
- package/packages/plan/src/detect.ts +93 -0
- package/packages/plan/src/index.ts +23 -0
- package/packages/plan/src/layout.ts +176 -0
- package/packages/plan/src/llm.ts +110 -0
- package/packages/plan/src/look.ts +220 -0
- package/packages/plan/src/plan.ts +125 -0
- package/packages/plan/src/request.ts +55 -0
- package/packages/plan/src/studio.ts +53 -0
- package/packages/plan/src/templates.ts +42 -0
- package/packages/plan/src/themes.ts +48 -0
- package/packages/plan/src/types.ts +106 -0
- package/packages/studio/package.json +12 -0
- package/packages/studio/src/index.ts +1 -0
- package/packages/studio/src/plugin.ts +236 -0
- package/packages/studio/src/ui/main.ts +503 -0
- package/packages/studio/src/ui/studio.css +165 -0
- package/packages/studio/src/ui/timeline.ts +317 -0
- package/packages/themes/kit/THEME-MAKE.md +68 -0
- package/packages/themes/kit/THEME.md +30 -0
- package/packages/themes/kit/briefs/og-intro-15s/brief.json +16 -0
- package/packages/themes/kit/briefs/og-intro-15s/facts.ts +29 -0
- package/packages/themes/kit/briefs/og-intro-15s/logo.svg +12 -0
- package/packages/themes/kit/effects.ts +5 -0
- package/packages/themes/kit/sample/index.html +11 -0
- package/packages/themes/kit/sample/main.ts +9 -0
- package/packages/themes/kit/sample/scenes/scene.ts +15 -0
- package/packages/themes/package.json +16 -0
- package/packages/themes/src/factory.ts +296 -0
- package/packages/themes/src/fx.ts +14 -0
- package/packages/themes/src/index.ts +105 -0
- package/packages/themes/src/stage3d.ts +177 -0
- package/packages/themes/src/types.ts +58 -0
- package/presets/kawaii-pastel.json +94 -0
- package/presets/neutral-dark.json +82 -0
- package/presets/og.json +98 -0
- package/skills/kasaframe/SKILL.md +32 -0
- package/templates/_shared/project/index.html +11 -0
- package/templates/_shared/project/lib/react.ts +22 -0
- package/templates/_shared/project/lib/stage.ts +272 -0
- package/templates/_shared/project/main.ts +9 -0
- package/templates/_shared/scenes/default.ts +18 -0
- package/templates/_shared/scenes/drop.ts +30 -0
- package/templates/_shared/scenes/end.ts +23 -0
- package/templates/_shared/scenes/hook.ts +16 -0
- package/templates/_shared/scenes/seam.ts +41 -0
- package/templates/_shared/scenes/step.ts +40 -0
- package/templates/ad/preview.png +0 -0
- package/templates/ad/template.json +132 -0
- package/templates/demo/preview.png +0 -0
- package/templates/demo/template.json +130 -0
- package/templates/explainer/preview.png +0 -0
- package/templates/explainer/template.json +142 -0
- package/templates/launch/preview.png +0 -0
- package/templates/launch/template.json +130 -0
- package/templates/mv/preview.png +0 -0
- package/templates/mv/scenes/default.ts +95 -0
- package/templates/mv/template.json +176 -0
- package/templates/promo/preview.png +0 -0
- package/templates/promo/template.json +144 -0
- package/templates/shorts/preview.png +0 -0
- package/templates/shorts/scenes/hook.ts +34 -0
- package/templates/shorts/template.json +127 -0
- package/templates/square/preview.png +0 -0
- package/templates/square/template.json +113 -0
- package/themes/debug-hud/THEME.md +39 -0
- package/themes/debug-hud/effects.ts +389 -0
- package/themes/debug-hud/sample/assets/og/logo.svg +12 -0
- package/themes/debug-hud/sample/beats.json +1 -0
- package/themes/debug-hud/sample/index.html +11 -0
- package/themes/debug-hud/sample/kf.json +59 -0
- package/themes/debug-hud/sample/lib/hudkit.ts +49 -0
- package/themes/debug-hud/sample/lib/og.ts +29 -0
- package/themes/debug-hud/sample/main.ts +9 -0
- package/themes/debug-hud/sample/scenes/end.ts +62 -0
- package/themes/debug-hud/sample/scenes/gather.ts +67 -0
- package/themes/debug-hud/sample/scenes/models.ts +70 -0
- package/themes/debug-hud/sample/scenes/price.ts +79 -0
- package/themes/debug-hud/sample/style.json +91 -0
- package/themes/debug-hud/still.png +0 -0
- package/themes/debug-hud/style.json +91 -0
- package/themes/debug-hud/theme.json +68 -0
- package/themes/og-measure/THEME.md +47 -0
- package/themes/og-measure/effects.ts +432 -0
- package/themes/og-measure/sample/assets/brand/og-logo-full.svg +12 -0
- package/themes/og-measure/sample/assets/brand/og-logo.svg +12 -0
- package/themes/og-measure/sample/assets/data/measure.json +353 -0
- package/themes/og-measure/sample/beats.json +1 -0
- package/themes/og-measure/sample/index.html +11 -0
- package/themes/og-measure/sample/kf.json +66 -0
- package/themes/og-measure/sample/lib/data.ts +62 -0
- package/themes/og-measure/sample/main.ts +9 -0
- package/themes/og-measure/sample/measure.ts +78 -0
- package/themes/og-measure/sample/scenes/end.ts +47 -0
- package/themes/og-measure/sample/scenes/gather.ts +51 -0
- package/themes/og-measure/sample/scenes/models.ts +34 -0
- package/themes/og-measure/sample/scenes/one.ts +39 -0
- package/themes/og-measure/sample/scenes/price.ts +56 -0
- package/themes/og-measure/sample/style.json +97 -0
- package/themes/og-measure/still.png +0 -0
- package/themes/og-measure/style.json +97 -0
- package/themes/og-measure/theme.json +79 -0
- package/themes/riso-zine/THEME.md +43 -0
- package/themes/riso-zine/effects.ts +321 -0
- package/themes/riso-zine/sample/assets/og/logo.svg +12 -0
- package/themes/riso-zine/sample/beats.json +1 -0
- package/themes/riso-zine/sample/index.html +11 -0
- package/themes/riso-zine/sample/kf.json +59 -0
- package/themes/riso-zine/sample/lib/og.ts +29 -0
- package/themes/riso-zine/sample/lib/shot.ts +86 -0
- package/themes/riso-zine/sample/lib/zine.ts +42 -0
- package/themes/riso-zine/sample/main.ts +9 -0
- package/themes/riso-zine/sample/scenes/end.ts +61 -0
- package/themes/riso-zine/sample/scenes/gather.ts +62 -0
- package/themes/riso-zine/sample/scenes/models.ts +52 -0
- package/themes/riso-zine/sample/scenes/price.ts +82 -0
- package/themes/riso-zine/sample/style.json +99 -0
- package/themes/riso-zine/still.png +0 -0
- package/themes/riso-zine/style.json +99 -0
- package/themes/riso-zine/theme.json +75 -0
- package/tools/beats/beats.py +372 -0
- package/tools/beats/requirements.txt +3 -0
- package/tools/lyrics/align.py +164 -0
- package/tools/lyrics/requirements.txt +9 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
{
|
|
2
|
+
"measured_at_kst": "2026-10-08 16:17",
|
|
3
|
+
"endpoint": "https://apis.opengateway.ai/v1/chat/completions",
|
|
4
|
+
"prompt": "1부터 5까지 숫자만 쉼표로 써.",
|
|
5
|
+
"stream": true,
|
|
6
|
+
"rounds": 6,
|
|
7
|
+
"models": [
|
|
8
|
+
"openai/gpt-5.4-nano",
|
|
9
|
+
"google/gemini-3.5-flash-lite",
|
|
10
|
+
"anthropic/claude-haiku-5-5"
|
|
11
|
+
],
|
|
12
|
+
"prices": {
|
|
13
|
+
"openai/gpt-5.4-nano": {
|
|
14
|
+
"input": 2e-7,
|
|
15
|
+
"output": 0.00000125
|
|
16
|
+
},
|
|
17
|
+
"google/gemini-3.5-flash-lite": {
|
|
18
|
+
"input": 3e-7,
|
|
19
|
+
"output": 0.0000025
|
|
20
|
+
},
|
|
21
|
+
"anthropic/claude-haiku-5-5": {
|
|
22
|
+
"input": 1e-7,
|
|
23
|
+
"output": 5e-7
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"cost_usd": 0.00038399999999999996,
|
|
27
|
+
"calls": [
|
|
28
|
+
{
|
|
29
|
+
"round": 0,
|
|
30
|
+
"model": "openai/gpt-5.4-nano",
|
|
31
|
+
"status": 200,
|
|
32
|
+
"ttft_ms": 746,
|
|
33
|
+
"total_ms": 832,
|
|
34
|
+
"text": "1,2,3,4,5",
|
|
35
|
+
"usage": {
|
|
36
|
+
"prompt_tokens": 21,
|
|
37
|
+
"completion_tokens": 12,
|
|
38
|
+
"total_tokens": 33,
|
|
39
|
+
"prompt_tokens_details": {
|
|
40
|
+
"cached_tokens": 0,
|
|
41
|
+
"audio_tokens": 0
|
|
42
|
+
},
|
|
43
|
+
"completion_tokens_details": {
|
|
44
|
+
"reasoning_tokens": 0,
|
|
45
|
+
"audio_tokens": 0,
|
|
46
|
+
"accepted_prediction_tokens": 0,
|
|
47
|
+
"rejected_prediction_tokens": 0
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"round": 0,
|
|
53
|
+
"model": "google/gemini-3.5-flash-lite",
|
|
54
|
+
"status": 200,
|
|
55
|
+
"ttft_ms": 621,
|
|
56
|
+
"total_ms": 668,
|
|
57
|
+
"text": "1, 2, 3, 4, 5",
|
|
58
|
+
"usage": {
|
|
59
|
+
"prompt_tokens": 13,
|
|
60
|
+
"completion_tokens": 13,
|
|
61
|
+
"total_tokens": 26
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"round": 0,
|
|
66
|
+
"model": "anthropic/claude-haiku-5-5",
|
|
67
|
+
"status": 200,
|
|
68
|
+
"ttft_ms": 870,
|
|
69
|
+
"total_ms": 1055,
|
|
70
|
+
"text": "1,2,3,4,5",
|
|
71
|
+
"usage": {
|
|
72
|
+
"prompt_tokens": 29,
|
|
73
|
+
"completion_tokens": 11,
|
|
74
|
+
"total_tokens": 40,
|
|
75
|
+
"prompt_tokens_details": {
|
|
76
|
+
"cached_tokens": 0,
|
|
77
|
+
"cache_creation_tokens": 0,
|
|
78
|
+
"cache_creation1h_tokens": 0
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"round": 1,
|
|
84
|
+
"model": "openai/gpt-5.4-nano",
|
|
85
|
+
"status": 200,
|
|
86
|
+
"ttft_ms": 652,
|
|
87
|
+
"total_ms": 723,
|
|
88
|
+
"text": "1,2,3,4,5",
|
|
89
|
+
"usage": {
|
|
90
|
+
"prompt_tokens": 21,
|
|
91
|
+
"completion_tokens": 12,
|
|
92
|
+
"total_tokens": 33,
|
|
93
|
+
"prompt_tokens_details": {
|
|
94
|
+
"cached_tokens": 0,
|
|
95
|
+
"audio_tokens": 0
|
|
96
|
+
},
|
|
97
|
+
"completion_tokens_details": {
|
|
98
|
+
"reasoning_tokens": 0,
|
|
99
|
+
"audio_tokens": 0,
|
|
100
|
+
"accepted_prediction_tokens": 0,
|
|
101
|
+
"rejected_prediction_tokens": 0
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"round": 1,
|
|
107
|
+
"model": "google/gemini-3.5-flash-lite",
|
|
108
|
+
"status": 200,
|
|
109
|
+
"ttft_ms": 745,
|
|
110
|
+
"total_ms": 847,
|
|
111
|
+
"text": "1, 2, 3, 4, 5",
|
|
112
|
+
"usage": {
|
|
113
|
+
"prompt_tokens": 13,
|
|
114
|
+
"completion_tokens": 13,
|
|
115
|
+
"total_tokens": 26
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"round": 1,
|
|
120
|
+
"model": "anthropic/claude-haiku-5-5",
|
|
121
|
+
"status": 200,
|
|
122
|
+
"ttft_ms": 974,
|
|
123
|
+
"total_ms": 1157,
|
|
124
|
+
"text": "1,2,3,4,5",
|
|
125
|
+
"usage": {
|
|
126
|
+
"prompt_tokens": 29,
|
|
127
|
+
"completion_tokens": 11,
|
|
128
|
+
"total_tokens": 40,
|
|
129
|
+
"prompt_tokens_details": {
|
|
130
|
+
"cached_tokens": 0,
|
|
131
|
+
"cache_creation_tokens": 0,
|
|
132
|
+
"cache_creation1h_tokens": 0
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"round": 2,
|
|
138
|
+
"model": "openai/gpt-5.4-nano",
|
|
139
|
+
"status": 200,
|
|
140
|
+
"ttft_ms": 519,
|
|
141
|
+
"total_ms": 609,
|
|
142
|
+
"text": "1,2,3,4,5",
|
|
143
|
+
"usage": {
|
|
144
|
+
"prompt_tokens": 21,
|
|
145
|
+
"completion_tokens": 12,
|
|
146
|
+
"total_tokens": 33,
|
|
147
|
+
"prompt_tokens_details": {
|
|
148
|
+
"cached_tokens": 0,
|
|
149
|
+
"audio_tokens": 0
|
|
150
|
+
},
|
|
151
|
+
"completion_tokens_details": {
|
|
152
|
+
"reasoning_tokens": 0,
|
|
153
|
+
"audio_tokens": 0,
|
|
154
|
+
"accepted_prediction_tokens": 0,
|
|
155
|
+
"rejected_prediction_tokens": 0
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"round": 2,
|
|
161
|
+
"model": "google/gemini-3.5-flash-lite",
|
|
162
|
+
"status": 200,
|
|
163
|
+
"ttft_ms": 677,
|
|
164
|
+
"total_ms": 775,
|
|
165
|
+
"text": "1, 2, 3, 4, 5",
|
|
166
|
+
"usage": {
|
|
167
|
+
"prompt_tokens": 13,
|
|
168
|
+
"completion_tokens": 13,
|
|
169
|
+
"total_tokens": 26
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"round": 2,
|
|
174
|
+
"model": "anthropic/claude-haiku-5-5",
|
|
175
|
+
"status": 200,
|
|
176
|
+
"ttft_ms": 602,
|
|
177
|
+
"total_ms": 807,
|
|
178
|
+
"text": "1,2,3,4,5",
|
|
179
|
+
"usage": {
|
|
180
|
+
"prompt_tokens": 29,
|
|
181
|
+
"completion_tokens": 11,
|
|
182
|
+
"total_tokens": 40,
|
|
183
|
+
"prompt_tokens_details": {
|
|
184
|
+
"cached_tokens": 0,
|
|
185
|
+
"cache_creation_tokens": 0,
|
|
186
|
+
"cache_creation1h_tokens": 0
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"round": 3,
|
|
192
|
+
"model": "openai/gpt-5.4-nano",
|
|
193
|
+
"status": 200,
|
|
194
|
+
"ttft_ms": 638,
|
|
195
|
+
"total_ms": 715,
|
|
196
|
+
"text": "1,2,3,4,5",
|
|
197
|
+
"usage": {
|
|
198
|
+
"prompt_tokens": 21,
|
|
199
|
+
"completion_tokens": 12,
|
|
200
|
+
"total_tokens": 33,
|
|
201
|
+
"prompt_tokens_details": {
|
|
202
|
+
"cached_tokens": 0,
|
|
203
|
+
"audio_tokens": 0
|
|
204
|
+
},
|
|
205
|
+
"completion_tokens_details": {
|
|
206
|
+
"reasoning_tokens": 0,
|
|
207
|
+
"audio_tokens": 0,
|
|
208
|
+
"accepted_prediction_tokens": 0,
|
|
209
|
+
"rejected_prediction_tokens": 0
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"round": 3,
|
|
215
|
+
"model": "google/gemini-3.5-flash-lite",
|
|
216
|
+
"status": 200,
|
|
217
|
+
"ttft_ms": 820,
|
|
218
|
+
"total_ms": 967,
|
|
219
|
+
"text": "1, 2, 3, 4, 5",
|
|
220
|
+
"usage": {
|
|
221
|
+
"prompt_tokens": 13,
|
|
222
|
+
"completion_tokens": 13,
|
|
223
|
+
"total_tokens": 26
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"round": 3,
|
|
228
|
+
"model": "anthropic/claude-haiku-5-5",
|
|
229
|
+
"status": 200,
|
|
230
|
+
"ttft_ms": 787,
|
|
231
|
+
"total_ms": 988,
|
|
232
|
+
"text": "1,2,3,4,5",
|
|
233
|
+
"usage": {
|
|
234
|
+
"prompt_tokens": 29,
|
|
235
|
+
"completion_tokens": 11,
|
|
236
|
+
"total_tokens": 40,
|
|
237
|
+
"prompt_tokens_details": {
|
|
238
|
+
"cached_tokens": 0,
|
|
239
|
+
"cache_creation_tokens": 0,
|
|
240
|
+
"cache_creation1h_tokens": 0
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"round": 4,
|
|
246
|
+
"model": "openai/gpt-5.4-nano",
|
|
247
|
+
"status": 200,
|
|
248
|
+
"ttft_ms": 527,
|
|
249
|
+
"total_ms": 609,
|
|
250
|
+
"text": "1,2,3,4,5",
|
|
251
|
+
"usage": {
|
|
252
|
+
"prompt_tokens": 21,
|
|
253
|
+
"completion_tokens": 12,
|
|
254
|
+
"total_tokens": 33,
|
|
255
|
+
"prompt_tokens_details": {
|
|
256
|
+
"cached_tokens": 0,
|
|
257
|
+
"audio_tokens": 0
|
|
258
|
+
},
|
|
259
|
+
"completion_tokens_details": {
|
|
260
|
+
"reasoning_tokens": 0,
|
|
261
|
+
"audio_tokens": 0,
|
|
262
|
+
"accepted_prediction_tokens": 0,
|
|
263
|
+
"rejected_prediction_tokens": 0
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"round": 4,
|
|
269
|
+
"model": "google/gemini-3.5-flash-lite",
|
|
270
|
+
"status": 200,
|
|
271
|
+
"ttft_ms": 604,
|
|
272
|
+
"total_ms": 857,
|
|
273
|
+
"text": "1, 2, 3, 4, 5",
|
|
274
|
+
"usage": {
|
|
275
|
+
"prompt_tokens": 13,
|
|
276
|
+
"completion_tokens": 13,
|
|
277
|
+
"total_tokens": 26
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"round": 4,
|
|
282
|
+
"model": "anthropic/claude-haiku-5-5",
|
|
283
|
+
"status": 200,
|
|
284
|
+
"ttft_ms": 734,
|
|
285
|
+
"total_ms": 932,
|
|
286
|
+
"text": "1,2,3,4,5",
|
|
287
|
+
"usage": {
|
|
288
|
+
"prompt_tokens": 29,
|
|
289
|
+
"completion_tokens": 11,
|
|
290
|
+
"total_tokens": 40,
|
|
291
|
+
"prompt_tokens_details": {
|
|
292
|
+
"cached_tokens": 0,
|
|
293
|
+
"cache_creation_tokens": 0,
|
|
294
|
+
"cache_creation1h_tokens": 0
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"round": 5,
|
|
300
|
+
"model": "openai/gpt-5.4-nano",
|
|
301
|
+
"status": 200,
|
|
302
|
+
"ttft_ms": 587,
|
|
303
|
+
"total_ms": 689,
|
|
304
|
+
"text": "1,2,3,4,5",
|
|
305
|
+
"usage": {
|
|
306
|
+
"prompt_tokens": 21,
|
|
307
|
+
"completion_tokens": 12,
|
|
308
|
+
"total_tokens": 33,
|
|
309
|
+
"prompt_tokens_details": {
|
|
310
|
+
"cached_tokens": 0,
|
|
311
|
+
"audio_tokens": 0
|
|
312
|
+
},
|
|
313
|
+
"completion_tokens_details": {
|
|
314
|
+
"reasoning_tokens": 0,
|
|
315
|
+
"audio_tokens": 0,
|
|
316
|
+
"accepted_prediction_tokens": 0,
|
|
317
|
+
"rejected_prediction_tokens": 0
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"round": 5,
|
|
323
|
+
"model": "google/gemini-3.5-flash-lite",
|
|
324
|
+
"status": 200,
|
|
325
|
+
"ttft_ms": 709,
|
|
326
|
+
"total_ms": 827,
|
|
327
|
+
"text": "1, 2, 3, 4, 5",
|
|
328
|
+
"usage": {
|
|
329
|
+
"prompt_tokens": 13,
|
|
330
|
+
"completion_tokens": 13,
|
|
331
|
+
"total_tokens": 26
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"round": 5,
|
|
336
|
+
"model": "anthropic/claude-haiku-5-5",
|
|
337
|
+
"status": 200,
|
|
338
|
+
"ttft_ms": 702,
|
|
339
|
+
"total_ms": 904,
|
|
340
|
+
"text": "1,2,3,4,5",
|
|
341
|
+
"usage": {
|
|
342
|
+
"prompt_tokens": 29,
|
|
343
|
+
"completion_tokens": 11,
|
|
344
|
+
"total_tokens": 40,
|
|
345
|
+
"prompt_tokens_details": {
|
|
346
|
+
"cached_tokens": 0,
|
|
347
|
+
"cache_creation_tokens": 0,
|
|
348
|
+
"cache_creation1h_tokens": 0
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"source": "assets/music/kawaii-friends-og.mp3", "from": 0, "duration": 15.0, "bpm": 170.0, "beats": [0.2899, 0.6382, 0.9923, 1.3464, 1.6947, 2.0546, 2.4029, 2.757, 3.1169, 3.4652, 3.8251, 4.1734, 4.5275, 4.8758, 5.2299, 5.584, 5.9381, 6.2922, 6.6463, 6.9946, 7.336, 7.6971, 8.0628, 8.4053, 8.7478, 9.1135, 9.4676, 9.8159, 10.1816, 10.5241, 10.8782, 11.2265, 11.5748, 11.9405, 12.3004, 12.6487, 12.997, 13.3453, 13.7052, 14.0477, 14.396, 14.7617], "downbeats": [0.2899, 1.6947, 3.1169, 4.5275, 5.9381, 7.336, 8.7478, 10.1816, 11.5748, 12.997, 14.396], "bars": [0.2899, 1.6947, 3.1169, 4.5275, 5.9381, 7.336, 8.7478, 10.1816, 11.5748, 12.997, 14.396], "phrases": [0.0, 1.6947, 7.336, 12.997], "sections": [{"t": 0.0, "kind": "intro"}, {"t": 7.336, "kind": "drop", "strength": 0.99}], "drops": [7.336], "energy": {"hz": 20, "low": [0.0, 0.144, 0.183, 0.0, 0.0, 0.001, 0.0, 0.0, 0.208, 0.21, 0.0, 0.0, 0.0, 0.0, 0.0, 0.226, 0.241, 0.0, 0.0, 0.394, 0.25, 0.0, 0.131, 0.19, 0.033, 0.024, 0.245, 0.101, 0.009, 0.0, 0.0, 0.016, 0.134, 0.285, 0.097, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.371, 0.335, 0.0, 0.0, 0.148, 0.0, 0.0, 0.265, 0.171, 0.0, 0.0, 0.184, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.249, 0.015, 0.0, 0.0, 0.0, 0.0, 0.072, 0.297, 0.092, 0.009, 0.312, 0.389, 0.096, 0.031, 0.133, 0.021, 0.112, 0.0, 0.0, 0.074, 0.0, 0.227, 0.089, 0.018, 0.0, 0.091, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.022, 0.0, 0.0, 0.026, 0.02, 0.006, 0.184, 0.411, 0.068, 0.0, 0.156, 0.083, 0.0, 0.055, 0.182, 0.074, 0.0, 0.288, 0.232, 0.072, 0.022, 0.0, 0.0, 0.0, 0.0, 0.0, 0.015, 0.018, 0.053, 0.0, 0.03, 0.0, 0.0, 0.004, 0.094, 0.461, 0.453, 0.505, 0.55, 0.588, 0.627, 0.672, 0.72, 0.752, 0.759, 0.767, 0.772, 0.761, 0.724, 0.896, 0.998, 0.973, 0.838, 0.624, 0.667, 0.733, 0.796, 0.819, 0.8, 0.747, 0.833, 0.811, 0.816, 0.733, 0.507, 0.341, 0.066, 0.062, 0.0, 0.0, 0.798, 0.981, 1.0, 0.943, 0.813, 0.803, 0.799, 0.747, 0.606, 0.6, 0.606, 0.622, 0.649, 0.684, 0.812, 0.992, 0.986, 0.92, 0.668, 0.628, 0.572, 0.479, 0.365, 0.0, 0.0, 0.075, 0.0, 0.0, 0.758, 1.0, 1.0, 0.979, 0.876, 0.899, 0.9, 0.844, 0.772, 0.805, 0.811, 0.83, 0.858, 0.897, 0.945, 1.0, 0.961, 0.898, 0.862, 0.911, 0.902, 0.822, 0.611, 0.352, 0.0, 0.083, 0.0, 0.0, 0.682, 0.999, 0.985, 0.983, 0.897, 0.871, 0.869, 0.855, 0.74, 0.678, 0.686, 0.705, 0.733, 0.771, 0.793, 0.956, 0.999, 0.955, 0.815, 0.738, 0.75, 0.757, 0.672, 0.597, 0.618, 0.761, 0.977, 0.994, 0.935, 0.8, 0.8, 0.792, 0.782, 0.743, 0.643, 0.522, 0.898, 0.996, 0.975, 0.829, 0.577, 0.615, 0.683, 0.739, 0.765, 0.748, 0.703, 0.763, 0.752, 0.757, 0.68, 0.478, 0.287, 0.03, 0.055, 0.0, 0.022, 0.832, 0.99, 0.967, 0.886, 0.739, 0.749, 0.76, 0.719, 0.607, 0.613, 0.628, 0.645, 0.669, 0.713, 0.823, 1.0, 0.989, 0.916, 0.754, 0.736], "mid": [0.625, 0.806, 0.843, 0.738, 0.642, 0.71, 0.726, 0.582, 0.708, 0.759, 0.668, 0.544, 0.611, 0.572, 0.451, 0.785, 0.835, 0.629, 0.607, 0.911, 0.834, 0.737, 0.856, 0.806, 0.755, 0.566, 0.739, 0.759, 0.685, 0.742, 0.708, 0.66, 0.649, 0.834, 0.819, 0.654, 0.626, 0.747, 0.713, 0.526, 0.65, 0.711, 0.616, 0.518, 0.679, 0.644, 0.437, 0.861, 0.792, 0.499, 0.6, 0.773, 0.665, 0.541, 0.865, 0.918, 0.817, 0.666, 0.852, 0.772, 0.629, 0.697, 0.756, 0.683, 0.585, 0.767, 0.706, 0.55, 0.633, 0.706, 0.632, 0.595, 0.805, 0.726, 0.689, 0.822, 0.841, 0.661, 0.738, 0.746, 0.585, 0.553, 0.588, 0.601, 0.599, 0.566, 0.831, 0.755, 0.6, 0.698, 0.863, 0.782, 0.543, 0.66, 0.617, 0.593, 0.647, 0.707, 0.746, 0.728, 0.746, 0.741, 0.665, 0.748, 0.881, 0.656, 0.472, 0.682, 0.66, 0.618, 0.719, 0.915, 0.852, 0.797, 0.899, 0.862, 0.789, 0.769, 0.7, 0.637, 0.575, 0.608, 0.638, 0.653, 0.664, 0.714, 0.763, 0.732, 0.705, 0.722, 0.722, 0.794, 0.908, 0.714, 0.575, 0.602, 0.584, 0.615, 0.628, 0.732, 0.814, 0.826, 0.779, 0.756, 0.718, 0.641, 0.947, 0.785, 0.711, 0.7, 0.742, 0.817, 0.844, 0.879, 0.896, 0.888, 0.878, 0.878, 0.864, 0.82, 0.876, 0.775, 0.496, 0.503, 0.591, 0.607, 0.65, 0.945, 0.901, 0.821, 0.799, 0.845, 0.875, 0.891, 0.863, 0.757, 0.747, 0.77, 0.796, 0.821, 0.837, 0.935, 0.898, 0.746, 0.732, 0.823, 0.791, 0.805, 0.854, 0.843, 0.515, 0.434, 0.63, 0.711, 0.701, 0.893, 0.92, 0.775, 0.78, 0.834, 0.793, 0.723, 0.708, 0.777, 0.773, 0.82, 0.845, 0.876, 0.918, 0.993, 1.0, 1.0, 0.9, 0.954, 0.887, 0.84, 0.841, 0.888, 0.601, 0.394, 0.659, 0.815, 0.862, 0.939, 1.0, 0.974, 0.953, 0.891, 0.902, 0.903, 0.91, 0.818, 0.778, 0.724, 0.712, 0.78, 0.789, 0.831, 0.966, 0.839, 0.816, 0.822, 0.822, 0.823, 0.843, 0.891, 0.736, 0.674, 0.871, 0.882, 0.8, 0.831, 0.886, 0.902, 0.898, 0.884, 0.909, 0.859, 0.787, 0.949, 0.796, 0.732, 0.753, 0.82, 0.825, 0.862, 0.904, 0.887, 0.883, 0.891, 0.89, 0.876, 0.789, 0.877, 0.733, 0.36, 0.504, 0.736, 0.773, 0.788, 0.977, 0.945, 0.924, 0.905, 0.866, 0.864, 0.867, 0.828, 0.737, 0.731, 0.776, 0.775, 0.75, 0.804, 0.959, 0.923, 0.796, 0.789, 0.85, 0.849], "high": [0.498, 0.853, 0.762, 0.559, 0.557, 0.552, 0.53, 0.517, 0.82, 0.775, 0.541, 0.543, 0.521, 0.483, 0.506, 0.845, 0.835, 0.601, 0.653, 0.952, 0.836, 0.629, 0.85, 0.779, 0.549, 0.583, 0.814, 0.62, 0.566, 0.76, 0.644, 0.544, 0.692, 0.884, 0.66, 0.547, 0.555, 0.615, 0.504, 0.5, 0.528, 0.522, 0.522, 0.513, 0.482, 0.507, 0.549, 0.923, 0.885, 0.563, 0.615, 0.731, 0.497, 0.47, 0.745, 0.681, 0.508, 0.594, 0.784, 0.576, 0.546, 0.547, 0.52, 0.543, 0.638, 0.806, 0.585, 0.587, 0.633, 0.633, 0.643, 0.713, 0.881, 0.809, 0.828, 0.905, 0.936, 0.696, 0.726, 0.85, 0.646, 0.663, 0.682, 0.705, 0.706, 0.728, 0.892, 0.764, 0.738, 0.731, 0.693, 0.645, 0.625, 0.653, 0.654, 0.695, 0.751, 0.773, 0.773, 0.782, 0.837, 0.836, 0.832, 0.884, 0.96, 0.761, 0.678, 0.85, 0.793, 0.786, 0.871, 0.962, 0.906, 0.882, 0.903, 0.888, 0.891, 0.864, 0.758, 0.674, 0.697, 0.712, 0.726, 0.752, 0.807, 0.838, 0.836, 0.848, 0.85, 0.868, 0.897, 0.907, 0.977, 0.839, 0.709, 0.726, 0.751, 0.78, 0.825, 0.863, 0.856, 0.857, 0.864, 0.875, 0.874, 1.0, 1.0, 0.811, 0.806, 0.793, 0.789, 0.826, 0.86, 0.895, 0.892, 0.888, 0.883, 0.879, 0.87, 0.847, 0.948, 0.885, 0.649, 0.574, 0.654, 0.671, 0.696, 0.831, 0.804, 0.843, 0.812, 0.839, 0.899, 0.906, 0.845, 0.707, 0.727, 0.774, 0.771, 0.783, 0.813, 0.877, 0.77, 0.659, 0.672, 0.81, 0.843, 0.864, 0.932, 0.928, 0.637, 0.439, 0.61, 0.671, 0.644, 0.802, 0.77, 0.736, 0.728, 0.714, 0.616, 0.503, 0.548, 0.683, 0.71, 0.714, 0.705, 0.758, 0.831, 0.872, 0.872, 0.875, 0.885, 0.89, 0.854, 0.82, 0.892, 0.961, 0.726, 0.496, 0.603, 0.74, 0.744, 0.828, 0.847, 0.846, 0.831, 0.786, 0.846, 0.859, 0.837, 0.747, 0.713, 0.673, 0.715, 0.84, 0.868, 0.829, 0.848, 0.796, 0.803, 0.838, 0.921, 0.944, 0.927, 0.968, 0.831, 0.699, 0.812, 0.798, 0.799, 0.863, 0.888, 0.847, 0.839, 0.861, 0.884, 0.834, 0.78, 0.832, 0.689, 0.707, 0.686, 0.702, 0.801, 0.858, 0.88, 0.871, 0.862, 0.852, 0.882, 0.867, 0.806, 0.946, 0.851, 0.52, 0.458, 0.679, 0.739, 0.75, 0.862, 0.857, 0.873, 0.821, 0.899, 0.924, 0.921, 0.846, 0.77, 0.781, 0.774, 0.783, 0.81, 0.867, 0.948, 0.824, 0.734, 0.722, 0.894, 0.935]}}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "OG 측정 화면 — OpenGateway 소개 15초",
|
|
3
|
+
"theme": "og-measure",
|
|
4
|
+
"fps": 60,
|
|
5
|
+
"width": 1920,
|
|
6
|
+
"height": 1080,
|
|
7
|
+
"duration": 15.0,
|
|
8
|
+
"mode": "seek",
|
|
9
|
+
"style": "style.json",
|
|
10
|
+
"music": "assets/music/kawaii-friends-og.mp3",
|
|
11
|
+
"beats": "beats.json",
|
|
12
|
+
"captions": "none",
|
|
13
|
+
"safeArea": {
|
|
14
|
+
"top": 0,
|
|
15
|
+
"bottom": 0,
|
|
16
|
+
"left": 0,
|
|
17
|
+
"right": 0
|
|
18
|
+
},
|
|
19
|
+
"text": {
|
|
20
|
+
"policy": "terms-only",
|
|
21
|
+
"maxOnScreen": 30,
|
|
22
|
+
"minPx": 24
|
|
23
|
+
},
|
|
24
|
+
"scenes": [
|
|
25
|
+
{
|
|
26
|
+
"id": "gather",
|
|
27
|
+
"from": 0,
|
|
28
|
+
"dur": 3.117,
|
|
29
|
+
"file": "scenes/gather.ts",
|
|
30
|
+
"role": "hook",
|
|
31
|
+
"idea": "회사 접두가 박마다 흩어져 뜨고 한 주소로 날아가 모인다"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "models",
|
|
35
|
+
"from": 3.117,
|
|
36
|
+
"dur": 4.219,
|
|
37
|
+
"file": "scenes/models.ts",
|
|
38
|
+
"role": "explain",
|
|
39
|
+
"idea": "같은 주소로 가는 요청 줄이 박마다(마지막 마디는 반 박마다) 모델 ID 를 바꾸며 쌓인다"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "one",
|
|
43
|
+
"from": 7.336,
|
|
44
|
+
"dur": 1.412,
|
|
45
|
+
"file": "scenes/one.ts",
|
|
46
|
+
"role": "drop",
|
|
47
|
+
"idea": "드롭 — 102 · 한 주소 · 두 형식"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "price",
|
|
51
|
+
"from": 8.748,
|
|
52
|
+
"dur": 4.249,
|
|
53
|
+
"file": "scenes/price.ts",
|
|
54
|
+
"role": "explain",
|
|
55
|
+
"idea": "시간대 가격 — 00–10시 창에서 −90%"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "end",
|
|
59
|
+
"from": 12.997,
|
|
60
|
+
"dur": 2.003,
|
|
61
|
+
"file": "scenes/end.ts",
|
|
62
|
+
"role": "end",
|
|
63
|
+
"idea": "실측 숫자 하나 + 도장 + 로고·주소"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import data from "../assets/data/measure.json";
|
|
2
|
+
|
|
3
|
+
// 화면의 숫자는 전부 여기서 — measure.ts 가 OG 를 실제로 불러 남긴 원자료다.
|
|
4
|
+
export { data };
|
|
5
|
+
|
|
6
|
+
export const medianOf = (xs: number[]) => {
|
|
7
|
+
const s = [...xs].sort((a, b) => a - b);
|
|
8
|
+
const m = s.length >> 1;
|
|
9
|
+
return s.length % 2 ? s[m] : (s[m - 1] + s[m]) / 2;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const medians = data.models.map((m) => medianOf(data.calls.filter((c) => c.model === m).map((c) => c.ttft_ms ?? 0)));
|
|
13
|
+
|
|
14
|
+
export const best = medians.indexOf(Math.min(...medians));
|
|
15
|
+
|
|
16
|
+
/** 장면 시작 이후의 박 시각(장면 안 초) */
|
|
17
|
+
export const beatsOf = (beats: { beats: number[] }) => beats.beats.filter((b) => b > -0.01);
|
|
18
|
+
|
|
19
|
+
/** 카메라가 잡는 무대 — 왼쪽 위를 축으로 trackCam 을 붙인다 */
|
|
20
|
+
export function stageOf(root: HTMLElement): HTMLElement {
|
|
21
|
+
const stage = document.createElement("div");
|
|
22
|
+
stage.style.cssText = "position:absolute;left:0;top:0;width:1920px;height:1080px;transform-origin:0 0";
|
|
23
|
+
root.append(stage);
|
|
24
|
+
return stage;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// 브리프(docs/briefs/og-intro-15s.md)에 적힌 OG 사실 — 2026-10-08 /v1/models 기준. 여기 없는 숫자는 화면에 쓰지 않는다.
|
|
28
|
+
export const OG = {
|
|
29
|
+
host: "apis.opengateway.ai",
|
|
30
|
+
models: 102,
|
|
31
|
+
owners: [
|
|
32
|
+
["openai/", 41],
|
|
33
|
+
["anthropic/", 15],
|
|
34
|
+
["google/", 15],
|
|
35
|
+
["z-ai/", 7],
|
|
36
|
+
["x-ai/", 6],
|
|
37
|
+
["qwen/", 5],
|
|
38
|
+
["moonshotai/", 4],
|
|
39
|
+
["deepseek/", 4],
|
|
40
|
+
["minimax/", 3],
|
|
41
|
+
] as [string, number][],
|
|
42
|
+
// 요청 줄엔 결과(상태·지연)를 붙이지 않는다 — 실제로 부르지 않은 호출이라 보낸 요청 모양만 보인다
|
|
43
|
+
requests: [
|
|
44
|
+
["/v1/chat/completions", "openai/gpt-6.1-sol"],
|
|
45
|
+
["/v1/messages", "anthropic/claude-opus-5-5"],
|
|
46
|
+
["/v1/chat/completions", "google/gemini-3.5-flash-lite"],
|
|
47
|
+
["/v1/chat/completions", "deepseek/deepseek-v4.1-flash-ultrafast"],
|
|
48
|
+
["/v1/chat/completions", "z-ai/glm-5.3-flash-ultrafast"],
|
|
49
|
+
["/v1/responses", "openai/gpt-5.4-nano"],
|
|
50
|
+
["/v1/chat/completions", "x-ai/grok-4.7"],
|
|
51
|
+
["/v1/chat/completions", "moonshotai/kimi-k3"],
|
|
52
|
+
["/v1/messages", "anthropic/claude-haiku-5-5"],
|
|
53
|
+
["/v1/chat/completions", "minimax/MiniMax-M3"],
|
|
54
|
+
["/v1/images/generations", "openai/gpt-image-2.5-sunburst"],
|
|
55
|
+
["/v1/chat/completions", "google/gemini-3.5-flash"],
|
|
56
|
+
["/v1/messages", "anthropic/claude-sonnet-5-5"],
|
|
57
|
+
["/v1/chat/completions", "deepseek/deepseek-v4-pro"],
|
|
58
|
+
["/v1/responses", "openai/o3"],
|
|
59
|
+
["/v1/chat/completions", "google/gemini-3.1-pro-preview"],
|
|
60
|
+
] as [string, string][],
|
|
61
|
+
price: { model: "deepseek/deepseek-v4.1-flash-ultrafast", input: [0.3, 0.03], output: [1.2, 0.12], glm: "z-ai/glm-5.3-flash-ultrafast" },
|
|
62
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { mountProject } from "@kasaframe/adapters";
|
|
2
|
+
import kf from "./kf.json";
|
|
3
|
+
import style from "./style.json";
|
|
4
|
+
|
|
5
|
+
// 장면 파일을 늘리거나 빼도 이 파일은 그대로 — 시간표는 kf.json 한 곳. 글꼴·색 변수는 mountProject 가 건다
|
|
6
|
+
const scenes = import.meta.glob("./scenes/*.ts", { eager: true });
|
|
7
|
+
const beats = Object.values(import.meta.glob("./beats.json", { eager: true, import: "default" }))[0] ?? null;
|
|
8
|
+
|
|
9
|
+
mountProject({ kf, scenes, beats, style, stage: document.getElementById("stage")! });
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// 견본 화면의 숫자는 지어내지 않는다 — 이 스크립트로 OG 를 실제로 불러 잰 값만 쓴다.
|
|
2
|
+
// node themes/og-measure/sample/measure.ts → assets/data/measure.json
|
|
3
|
+
import { readFileSync, writeFileSync } from "node:fs";
|
|
4
|
+
import { homedir } from "node:os";
|
|
5
|
+
import { join } from "node:path";
|
|
6
|
+
|
|
7
|
+
const HOST = "https://apis.opengateway.ai";
|
|
8
|
+
const MODELS = ["openai/gpt-5.4-nano", "google/gemini-3.5-flash-lite", "anthropic/claude-haiku-5-5"];
|
|
9
|
+
const PRICE_KEYS: Record<string, string> = {
|
|
10
|
+
"openai/gpt-5.4-nano": "openai/gpt-5.4-nano",
|
|
11
|
+
"google/gemini-3.5-flash-lite": "google-vertex/gemini-3.5-flash-lite",
|
|
12
|
+
"anthropic/claude-haiku-5-5": "anthropic/claude-haiku-5-5",
|
|
13
|
+
};
|
|
14
|
+
const ROUNDS = 6;
|
|
15
|
+
const PROMPT = "1부터 5까지 숫자만 쉼표로 써.";
|
|
16
|
+
const key = readFileSync(join(homedir(), ".config/opengateway.key"), "utf8").trim();
|
|
17
|
+
|
|
18
|
+
async function once(model: string) {
|
|
19
|
+
const t0 = performance.now();
|
|
20
|
+
const r = await fetch(`${HOST}/v1/chat/completions`, {
|
|
21
|
+
method: "POST",
|
|
22
|
+
headers: { Authorization: `Bearer ${key}`, "Content-Type": "application/json" },
|
|
23
|
+
body: JSON.stringify({ model, stream: true, stream_options: { include_usage: true }, max_tokens: 64, messages: [{ role: "user", content: PROMPT }] }),
|
|
24
|
+
});
|
|
25
|
+
let ttft: number | null = null;
|
|
26
|
+
let usage: unknown = null;
|
|
27
|
+
let text = "";
|
|
28
|
+
const reader = r.body!.getReader();
|
|
29
|
+
const dec = new TextDecoder();
|
|
30
|
+
let buf = "";
|
|
31
|
+
for (;;) {
|
|
32
|
+
const { done, value } = await reader.read();
|
|
33
|
+
if (done) break;
|
|
34
|
+
buf += dec.decode(value, { stream: true });
|
|
35
|
+
let i: number;
|
|
36
|
+
while ((i = buf.indexOf("\n")) >= 0) {
|
|
37
|
+
const line = buf.slice(0, i).trim();
|
|
38
|
+
buf = buf.slice(i + 1);
|
|
39
|
+
if (!line.startsWith("data:")) continue;
|
|
40
|
+
const data = line.slice(5).trim();
|
|
41
|
+
if (data === "[DONE]") continue;
|
|
42
|
+
const j = JSON.parse(data);
|
|
43
|
+
const delta = j.choices?.[0]?.delta?.content;
|
|
44
|
+
if (delta) {
|
|
45
|
+
if (ttft === null) ttft = performance.now() - t0;
|
|
46
|
+
text += delta;
|
|
47
|
+
}
|
|
48
|
+
if (j.usage) usage = j.usage;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return { model, status: r.status, ttft_ms: ttft === null ? null : Math.round(ttft), total_ms: Math.round(performance.now() - t0), text: text.trim(), usage };
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const prices = JSON.parse(await (await fetch("https://opengateway.ai/api/model-prices")).text());
|
|
55
|
+
const calls = [];
|
|
56
|
+
for (let round = 0; round < ROUNDS; round++) {
|
|
57
|
+
for (const m of MODELS) {
|
|
58
|
+
const c = await once(m);
|
|
59
|
+
calls.push({ round, ...c });
|
|
60
|
+
console.error(`${round} ${m} ${c.status} ttft ${c.ttft_ms}ms total ${c.total_ms}ms`);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
let cost = 0;
|
|
64
|
+
const priceOut: Record<string, { input: number; output: number }> = {};
|
|
65
|
+
for (const m of MODELS) {
|
|
66
|
+
const p = prices[PRICE_KEYS[m]];
|
|
67
|
+
priceOut[m] = { input: p.inputCostPerToken, output: p.outputCostPerToken };
|
|
68
|
+
}
|
|
69
|
+
for (const c of calls) {
|
|
70
|
+
const u = c.usage as { prompt_tokens?: number; completion_tokens?: number } | null;
|
|
71
|
+
if (u) cost += (u.prompt_tokens ?? 0) * priceOut[c.model].input + (u.completion_tokens ?? 0) * priceOut[c.model].output;
|
|
72
|
+
}
|
|
73
|
+
const kst = new Date(Date.now() + 9 * 3600_000).toISOString().replace("T", " ").slice(0, 16);
|
|
74
|
+
writeFileSync(
|
|
75
|
+
new URL("./assets/data/measure.json", import.meta.url),
|
|
76
|
+
JSON.stringify({ measured_at_kst: kst, endpoint: `${HOST}/v1/chat/completions`, prompt: PROMPT, stream: true, rounds: ROUNDS, models: MODELS, prices: priceOut, cost_usd: cost, calls }, null, 2) + "\n",
|
|
77
|
+
);
|
|
78
|
+
console.error(`calls ${calls.length} · cost $${cost.toFixed(6)}`);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { applyStyle, ease, progress, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { fx } from "@kasaframe/themes/fx";
|
|
3
|
+
import { beatsOf, best, data, medians, stageOf } from "../lib/data.ts";
|
|
4
|
+
|
|
5
|
+
const { graphPaper, meter, stamp, flag, trackCam } = fx("og-measure");
|
|
6
|
+
|
|
7
|
+
// 실측 숫자 하나(직접 잰 첫 토큰 가운데값) → 끝 도장 → OG 로고 · 주소. 마지막 박까지 카메라가 툭 친다.
|
|
8
|
+
export default {
|
|
9
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
10
|
+
const bg = graphPaper(root, { phase: ctx.from });
|
|
11
|
+
const stage = stageOf(root);
|
|
12
|
+
const b = beatsOf(ctx.beats);
|
|
13
|
+
const B = (i: number) => b[i] ?? i * 0.353;
|
|
14
|
+
const who = flag(stage, { x: 100, y: 90, text: `${data.models[best]} · 첫 토큰 가운데값`, at: 0, tone: "soft", size: 40 });
|
|
15
|
+
const big = document.createElement("div");
|
|
16
|
+
big.style.cssText = "position:absolute;left:100px;top:150px;font-family:var(--kf-font-display);font-weight:800;font-size:230px;line-height:1;letter-spacing:-0.03em;color:var(--kf-ink);font-variant-numeric:tabular-nums";
|
|
17
|
+
const num = document.createElement("span");
|
|
18
|
+
const unit = document.createElement("span");
|
|
19
|
+
unit.textContent = "ms";
|
|
20
|
+
unit.style.cssText = "font-size:110px;color:var(--kf-dim);margin-left:12px";
|
|
21
|
+
big.append(num, unit);
|
|
22
|
+
stage.append(big);
|
|
23
|
+
const seal = stamp(stage, { x: 960, y: 430, at: B(1), date: data.measured_at_kst, calls: data.calls.length, cost: data.cost_usd, size: 30 });
|
|
24
|
+
const logo = document.createElement("img");
|
|
25
|
+
logo.src = ctx.asset("brand/og-logo-full.svg");
|
|
26
|
+
logo.style.cssText = "position:absolute;left:960px;top:560px;height:220px;width:auto;transform-origin:50% 50%";
|
|
27
|
+
stage.append(logo);
|
|
28
|
+
const site = flag(stage, { x: 600, y: 830, text: "opengateway.ai", at: B(3), tone: "plain", size: 80, mono: true });
|
|
29
|
+
const shots = [
|
|
30
|
+
{ at: 0, x: 960, y: 540, kick: 0.08 },
|
|
31
|
+
{ at: B(2), x: 960, y: 560, zoom: 1.02, kick: 0.05 },
|
|
32
|
+
{ at: B(4), x: 960, y: 560, zoom: 1.03, kick: 0.04 },
|
|
33
|
+
{ at: B(5), x: 960, y: 560, zoom: 1.03, kick: 0.04 },
|
|
34
|
+
];
|
|
35
|
+
return (t: number) => {
|
|
36
|
+
bg(t);
|
|
37
|
+
who(t);
|
|
38
|
+
num.textContent = meter(t, { to: medians[best], at: 0, dur: 0.6, decimals: 1 });
|
|
39
|
+
seal(t);
|
|
40
|
+
const p = ease.snappy(progress(t, B(2), 0.22));
|
|
41
|
+
applyStyle(logo, { opacity: p, y: 30 * (1 - p), scale: 1.3 - 0.3 * p });
|
|
42
|
+
logo.style.translate = "-50% 0";
|
|
43
|
+
site(t);
|
|
44
|
+
applyStyle(stage, trackCam(t, { shots, scene: ctx.id }));
|
|
45
|
+
};
|
|
46
|
+
},
|
|
47
|
+
};
|