ai21.net
言語

<inputs>

<inputs> — 1

プロンプト

<inputs>
Ask me for: my product's name (one lowercase word), a 4-word tagline, the 3-step story of what it does, a launch date and domain, a royalty-free song with a clear drop, 4 vertical talking-to-camera clips and 12 portrait photos. If I skip any, use the defaults: "castr", "ugc ads, cast by ai", write a brief → scan 1,000 creators → cast 4, Mixkit "Cat Walk" (129.6 BPM, drop at 29.7s), free Pexels clips and portraits, and transparent stickers from Pixabay (serum, mic, megaphone, vintage camera, spotlight, lips).
</inputs>

<direction>
A 25 second square launch trailer, 1440x1440 at 60fps, loud poster style. Cobalt #2B3BFF, ink #0E0F1F, cream #F6E4C6, pink #FF7DC7, tangerine #FF5A1F. Archivo 900 extra-condensed for names, expanded for headlines, Geist and Geist Mono for labels. Op-art sunburst, scrolling waves, film grain. Real media only: the clips play inside the design, and the stickers get a white die-cut border and a soft shadow.
Motion rules: the camera never stops (a slow 1.03-1.07 push on every scene), nothing pops in (letters rise through a mask line one by one), nothing snaps to the beat (patterns rotate continuously), swaps are carousel glides of about 0.55s, colour changes fade over about 0.35s, stickers ease in and then keep a slow sway. No full stops after the wordmark or any headline.
Banned: beat-snapped rotations, pop-in slams, white flashes, crossfades between scenes, hard cuts, templates.
</direction>

<structure>
54 beats. The song starts 8 beats before its drop.
Beats 0-8: a cobalt sunburst turns around a breathing cream disc. The wordmark types in with a gliding caret and the tagline pill rises. The disc floods the frame into the drop.
Beat 8, the drop: the cream becomes the face of a 3D box and "ONE BRIEF" rises letter by letter. The camera pulls back to the box floating on waves. On beat 12 it turns to "1,000 CREATORS" (stacked, with outlined echoes), on beat 14 to "ZERO DMs".
Beats 16-22: a whip to a dark desk. A tangerine "BRIEF #042" ticket types its rows (product, vibe, cast, due), stickers drift on, a polaroid of a real clip drops onto the corner, and a "NOW CASTING" stamp presses down on beat 20.
Beats 22-34: the casting stage. A crowd of black and white portraits in an arc, a 3D stage block, and the creators gliding through like a carousel. Each plays live in a big disc in black and white, with their name in pink on the stage, their followers, and a MATCH % that counts up. One beat later a "CAST ✓" stamp lands and the clip fades to colour. A counter rolls 1/4 to 4/4.
Beats 34-39: pink floods out of the last disc. The disc morphs into a phone screen (the clip keeps playing) and fans into 4 phones playing all 4 creators, with views counting up. "4 ADS" and "BY FRIDAY" rise.
Beats 39-44, the music's break: the pink floor drops away and a cream "JOIN THE WAITLIST" ticket glides down onto the sunburst. On the pickup its stub tears off.
Beats 44-54: the ticket body morphs into a poster arch. The wordmark rises in, then the tagline, then an info bar slides up in 3 blocks (date, numbers, domain) and a ticker runs round the frame edge. Then it all folds back into the opening disc, so the last frame is the first.
</structure>

<build>
1. One HTML canvas. Every frame is a pure function of time inside seek(t).
2. A beat map in beats, B = 60/BPM, with the song placed so its drop lands on beat 8.
3. The 3D box is an orthographic projection: each face is a 1440px offscreen canvas drawn with an affine transform and shaded by its normal.
4. Cut the clips to 30fps JPEG sequences with ffmpeg, draw frame floor(t*30), and do the black and white with ctx.filter.
5. Trim the sticker PNGs and add the die-cut border by dilating their alpha.
6. Sound: a downloaded SFX for every event (a shutter on every cast, whooshes on the glides, key clicks on the typing), each placed by its measured peak. Loudnorm to -14 LUFS.
7. Render with Playwright at 60fps with 8 motion-blur subframes. Scan for single-frame pops, then compare its motion against a reference video (hard jumps per second, share of still frames).
</build>

<gotchas>
A pattern that rotates one notch per beat reads as stutter: rotate it continuously, and pick each ring's speed so it lands on the same pattern at the last frame. 4 subframes ghost on fast whips, so use 8. A layer whose background is a huge flood circle still covers the screen after sliding down one frame height, so switch it to a full-frame rect once it has flooded. Counters read the frame's time, not the subframe's. The disc must morph inside the same camera transform as the scene it leaves, or it jumps.
</gotchas>

<start>
Ask me for the inputs, then show me the beat map and 6 stills (open, box, brief, casting, phones, poster) before you render.
</start>

日本語訳

<inputs>
私に次を聞いてください:製品名(小文字1語)、4語のタグライン、それが何をするかの3ステップのストーリー、ローンチ日とドメイン、明確なドロップのあるロイヤリティフリー曲、縦型のカメラ目線トーククリップ4本、ポートレート写真12枚。どれかを省いた場合はデフォルトを使ってください:"castr"、"ugc ads, cast by ai"、ブリーフを書く → 1,000人のクリエイターを走査 → 4人をキャスティング、Mixkitの"Cat Walk"(129.6 BPM、ドロップは29.7秒)、無料のPexelsクリップとポートレート、Pixabayの透過ステッカー(美容液、マイク、メガホン、ヴィンテージカメラ、スポットライト、唇)。
</inputs>

<direction>
25秒の正方形ローンチトレーラー、1440x1440、60fps、ラウドなポスタースタイル。コバルト #2B3BFF、インク #0E0F1F、クリーム #F6E4C6、ピンク #FF7DC7、タンジェリン #FF5A1F。名前にはArchivo 900のエクストラ・コンデンスド、見出しにはエクスパンデッド、ラベルにはGeistとGeist Mono。オップアートのサンバースト、スクロールする波、フィルムグレイン。実写メディアのみ:クリップはデザインの中で再生され、ステッカーには白いダイカットの縁と柔らかな影を付けます。
モーションのルール:カメラは決して止まらない(すべてのシーンで1.03-1.07のゆっくりしたプッシュ)、何もポップインしない(文字はマスクラインを通って1文字ずつ立ち上がる)、何もビートにスナップしない(パターンは連続的に回転する)、切り替えは約0.55秒のカルーセル・グライド、色の変化は約0.35秒でフェード、ステッカーはイーズインしてからゆっくり揺れ続ける。ワードマークや見出しの後ろにピリオドは付けない。
禁止:ビートにスナップした回転、ポップインのスラム、白いフラッシュ、シーン間のクロスフェード、ハードカット、テンプレート。
</direction>

<structure>
54ビート。曲はドロップの8ビート前から始まります。
ビート0-8:コバルトのサンバーストが、呼吸するクリーム色の円盤のまわりで回転します。ワードマークが滑るキャレットとともにタイプされ、タグラインのピルが立ち上がります。円盤がフレームを覆い、ドロップへと流れ込みます。
ビート8、ドロップ:クリーム色が3Dボックスの面になり、"ONE BRIEF"が1文字ずつ立ち上がります。カメラが引いて、波の上に浮かぶボックスになります。ビート12で"1,000 CREATORS"に変わり(積み重ね、輪郭のエコー付き)、ビート14で"ZERO DMs"に変わります。
ビート16-22:暗い机へホイップ。タンジェリンの"BRIEF #042"チケットが行をタイプしていき(product、vibe、cast、due)、ステッカーが漂い、実写クリップのポラロイドが隅に落ちてきて、"NOW CASTING"のスタンプがビート20で押されます。
ビート22-34:キャスティングのステージ。弧を描いて並ぶモノクロのポートレート群、3Dのステージブロック、そしてカルーセルのように滑っていくクリエイターたち。それぞれが大きな円盤の中でモノクロでライブ再生され、ステージにはピンクの名前、フォロワー数、カウントアップするMATCH %が表示されます。1ビート後に"CAST ✓"のスタンプが落ち、クリップがカラーへフェードします。カウンターが1/4から4/4まで回ります。
ビート34-39:最後の円盤からピンクが溢れ出します。円盤はスマホ画面にモーフィングし(クリップは再生され続ける)、4台のスマホに展開して4人のクリエイターを再生し、視聴数がカウントアップします。"4 ADS"と"BY FRIDAY"が立ち上がります。
ビート39-44、曲のブレイク:ピンクの床が落ちてなくなり、クリーム色の"JOIN THE WAITLIST"チケットがサンバーストの上へ滑り降ります。ピックアップでその半券がちぎれます。
ビート44-54:チケット本体がポスターのアーチにモーフィングします。ワードマークが立ち上がり、次にタグライン、続いてインフォバーが3ブロック(日付、数字、ドメイン)で上へスライドし、フレームの縁をティッカーが流れます。そしてすべてが冒頭の円盤へ折り戻り、最後のフレームが最初のフレームになります。
</structure>

<build>
1. HTMLキャンバスは1つ。すべてのフレームは seek(t) 内の時間の純粋関数です。
2. ビート単位のビートマップ、B = 60/BPM。曲のドロップがビート8に来るように配置します。
3. 3Dボックスは正投影です。各面は1440pxのオフスクリーンキャンバスで、アフィン変換で描画し、法線でシェーディングします。
4. ffmpegでクリップを30fpsのJPEGシーケンスに切り出し、フレーム floor(t*30) を描画し、モノクロは ctx.filter で行います。
5. ステッカーのPNGをトリムし、アルファを膨張させてダイカットの縁を加えます。
6. サウンド:すべてのイベントにダウンロードしたSFX(キャストごとのシャッター、グライドのウィッシュ、タイピングのキークリック)を、それぞれ計測したピーク位置に配置します。Loudnormで-14 LUFSに。
7. Playwrightで60fps、8つのモーションブラー・サブフレームでレンダリングします。1フレームだけのポップをスキャンし、そのモーションを参照動画と比較します(1秒あたりのハードジャンプ、静止フレームの割合)。
</build>

<gotchas>
ビートごとに1ノッチ回転するパターンはカクついて見えます。連続的に回転させ、最後のフレームで同じパターンに着地するように各リングの速度を選んでください。速いホイップでは4サブフレームだとゴーストが出るので、8を使ってください。背景が巨大なフラッド円のレイヤーは、1フレーム分スライドした後も画面を覆ったままになるので、フラッドし終えたら全画面の矩形に切り替えてください。カウンターはサブフレームではなくフレームの時間を読みます。円盤は、離れるシーンと同じカメラ変換の中でモーフィングしないとジャンプします。
</gotchas>

<start>
入力を私に聞いてください。その後、レンダリングの前にビートマップと6枚のスチル(オープニング、ボックス、ブリーフ、キャスティング、スマホ、ポスター)を見せてください。
</start>

出典

原作者
twoclipping
公開日
2026-10-02(由推文 ID 反解)
原典
元の投稿を見る ↗
収録元
yihui-dev/awesome-opus5-5-videos · twoclipping-551116 · MIT