跳到正文
traqs· 来源· @traqscales · X·· 4 天前精选AI 评分68
推荐理由

提供了一套基于代码生成体育动画的完整Prompt与工程结构,为内容创作者提供了可复用的自动化工作流。

正文 · 原文

i just leaked the workflow behind this app’s marketing strategy

got the tech stack directly from one of the app’s founders btw

these animations are built entirely with code using opus 5.5 + three.js + remotion

i’ve put together a reusable prompt so you can replicate the format for your own app

thank me later ↓

<role>
You are an expert Three.js developer, Remotion engineer, sports animator and short-form content strategist.

Build me a reusable production system that creates animated boxing breakdowns entirely with code.

Use Three.js for the characters, environments, movement and camera work.

Use Remotion for scene sequencing, typography, animated overlays, audio synchronization and final video rendering.

Use the attached video as the reference for visual direction, animation quality, storytelling, pacing and composition.

Do not use AI video generation.
</role>

<input>
Ask me for:
- boxing topic, technique or reference footage
- target video duration
- app name and brand colors (optional)
- voiceover or script (optional)

Supported topics:
- boxing technique breakdowns
- famous boxing moments
- defensive strategies
- common boxing mistakes
- fighting style comparisons
- boxing history
- training drills

If I only provide a topic, research it and write the script from scratch.

If I provide footage, study the movement, positioning, timing and sequence of actions before recreating it.
</input>

<script>
Write a 30-60 second script around one central idea.

Use the following storytelling structure:

  1. open with a provocative statement that challenges an assumption
  2. introduce the technique or situation
  3. visually demonstrate how it works
  4. reveal the mechanics most viewers overlook
  5. show a relevant example
  6. explain the limitations or common mistakes
  7. finish with a memorable takeaway

Use short sentences and conversational language.

Every sentence should correspond to a visual action, camera change or educational graphic.

Never invent boxing statistics, historical events or coaching advice.

Keep the narration focused on regulated boxing and supervised sports training.
</script>

<character_design>
Create two reusable articulated boxer characters using Three.js.

Match the reference's minimalist diagrammatic aesthetic.

Main boxer:
- off-white body
- circular featureless head
- simplified angular torso
- articulated arms and legs
- rounded red boxing gloves
- visible joint markers
- subtle outlines

Opponent:
- dark charcoal-gray body
- muted gray gloves
- identical underlying character rig
- lower visual emphasis

Build each character using a hierarchical joint system.

Include:
- head
- neck
- shoulders
- elbows
- wrists
- torso
- hips
- knees
- ankles
- feet

Use simplified geometry with clean silhouettes.

Do not use realistic muscular human models, detailed facial features or unnecessary textures.

The characters should resemble animated sports-training diagrams with three-dimensional movement.

Keep character proportions consistent across every episode.
</character_design>

<animation_engine>
Build a reusable motion library containing:
- idle boxing stance
- guard variations
- basic boxing combinations
- blocking
- slipping
- ducking
- shoulder rotation
- forward and backward steps
- lateral footwork
- stance resets

Represent each movement using editable joint rotations, position tracks and keyframes.

Use quaternion interpolation and smooth easing between poses.

Maintain believable body mechanics, foot contact and weight transfer.

Coordinate both characters on the same timeline so their movements remain synchronized.

When recreating source footage, identify key poses and reconstruct them as animation data.

If motion tracking is available, use it to assist the reconstruction.

If tracking fails because of occlusion or camera angles, manually correct the relevant keyframes.

Avoid floating feet, broken joints, overlapping limbs and robotic transitions.

Do not rely on real-time physics for the final render.

Every animation must be deterministic and reproducible at any given frame.
</animation_engine>

<visual_style>
canvas: 1080x1920
aspect ratio: 9:16
frame rate: 30fps
default duration: 45-60 seconds

Use:
- near-black charcoal backgrounds
- subtle background grain
- off-white primary characters
- dark gray secondary characters
- vivid red accent colors
- green highlights for verified technique demonstrations
- bold condensed uppercase typography
- minimal floor geometry
- subtle shadows
- restrained lighting
- technical sports-analysis graphics

Keep the composition clean and editorial.

The typography should occupy the upper portion of the frame.

The animated characters should occupy the central and lower portions.

Maintain consistent margins and mobile-safe text placement.

Create original branding rather than copying JabMax's logo or proprietary assets.
</visual_style>

<camera_system>
Create reusable camera presets:
- full-body side view
- three-quarter view
- overhead tactical view
- close-up joint analysis
- wide two-character composition

Use orthographic or low-perspective cameras to preserve the diagrammatic appearance.

Animate subtle zooms, pans and camera rotations.

Switch to overhead views when explaining movement direction or body positioning.

Use close-ups when highlighting individual joints.

Every camera change must serve the explanation.

Keep the relevant body parts visible throughout each demonstration.
</camera_system>

<educational_overlays>
Build reusable animated graphics using React, SVG and Three.js where appropriate.

Include:
- joint tracking circles
- glowing position markers
- directional arrows
- curved motion trajectories
- dotted movement paths
- body rotation indicators
- distance markers
- technique labels
- progress indicators
- sequential training cues
- side-by-side comparisons

Attach spatial overlays to the relevant character joints or project their world positions into screen coordinates.

Make trajectory lines follow the actual animated movement.

Use green and red highlights to communicate verified coaching points.

Synchronize every overlay with the animation timeline.

Do not add random graphics just to fill the screen.

Every visual element must help the viewer understand the movement.

Never fabricate percentages, power measurements or performance statistics.
</educational_overlays>

<typography>
Use bold, condensed uppercase headlines.

Keep each headline between 3-8 words where possible.

Use off-white as the default text color.

Highlight important words in red or green.

Examples:
"YOU THINK IT'S DEFENSE."
"IT'S A SETUP."
"THE PUNCH SLIDES OFF."
"LEARN IT SLOW."

Animate headlines using:
- short fade-ins
- controlled vertical movement
- staggered word reveals
- selective color changes

Synchronize headline changes with the corresponding narration and character movement.

Do not use excessive transitions or decorative text effects.
</typography>

<scene_structure>
Build every video as a sequence of reusable scenes.

scene 1: hook
- open with both characters already positioned
- introduce the central claim
- immediately establish visual curiosity

scene 2: explanation
- demonstrate the relevant movement
- highlight important body positions
- introduce short technical labels

scene 3: mechanics
- switch camera angles where necessary
- isolate the movement
- use arrows and trajectories to explain what happens

scene 4: example
- recreate a relevant sporting moment or training scenario
- synchronize both characters
- show the complete movement sequence

scene 5: limitation
- demonstrate a common mistake or limitation
- use contrasting visual highlights
- explain the difference clearly

scene 6: recap
- replay the movement
- introduce a short sequence of coaching cues
- reinforce the main takeaway

scene 7: ending
- conclude with a concise takeaway
- integrate optional app branding naturally

Adjust the number and duration of scenes to the actual script.

Avoid unnecessarily extending the video.
</scene_structure>

<app_integration>
If I provide app information, make the content educational first.

Use subtle branding throughout the video.

Introduce the app only when it connects naturally to the technique being demonstrated.

Use actual app screenshots and verified features.

Never invent app functionality, testimonials or results.

The content should remain valuable even without the product placement.
</app_integration>

<remotion>
Create a reusable Remotion project using React and TypeScript.

Integrate Three.js through a compatible Remotion rendering setup.

Use Remotion's frame-based timeline to control:
- character movement
- camera positions
- scene transitions
- typography
- educational overlays
- voiceover
- sound effects
- background music

Use useCurrentFrame(), interpolate(), spring() and Sequence where appropriate.

Drive all Three.js animations from the current Remotion frame.

Do not use independent animation loops or uncontrolled wall-clock timing.

Make sure rendering individual frames produces the same result as rendering the complete video.

Keep all scenes editable and reusable.
</remotion>

<audio>
Use the supplied voiceover if available.

Otherwise, generate a scratch voiceover using an available local or authorized text-to-speech system.

Use Whisper or a suitable transcription tool to extract word-level timestamps.

Synchronize:
- headline reveals
- character movements
- camera changes
- joint highlights
- sound effects
- scene transitions

Use subtle movement sounds, impact effects and interface sounds where appropriate.

Use only licensed or original audio assets.

Keep background music below the narration.

If voice generation is unavailable, export the captioned animation and provide a timed voiceover script.
</audio>

<project_structure>
Organize the project into reusable modules:

src/
characters/
rigs/
animations/
cameras/
environments/
overlays/
typography/
scenes/
audio/
compositions/
episodes/

assets/
fonts/
sounds/
music/
branding/

scripts/
render.ts
validate.ts

episode.json
package.json
README.md

Store all episode-specific information inside episode.json.

Include:
- topic
- script
- scene timings
- character assignments
- movement sequences
- joint keyframes
- camera presets
- headline text
- overlay cues
- voiceover path
- sound effect cues
- brand colors
- app information
- render settings

The goal is to create a new episode by changing the configuration rather than rebuilding the entire project.
</project_structure>

<production_pipeline>
Use Claude Code to:

  1. research the supplied topic
  2. write the script
  3. divide the script into timed scenes
  4. generate the animation timeline
  5. assign character movements
  6. configure cameras and environments
  7. generate educational overlays
  8. synchronize typography with narration
  9. assemble the video in Remotion
  10. render a low-resolution preview
  11. inspect key frames and correct visible errors
  12. render the final vertical MP4

Detect the available dependencies before starting.

Install compatible dependencies where permitted.

Use local rendering and hardware acceleration where supported.

Keep the entire production pipeline code-based.
</production_pipeline>

<quality_control>
Before exporting:

  • check the animation against the reference
  • check character proportions and joint movement
  • check both characters are synchronized
  • check foot placement and body positioning
  • check camera framing
  • check typography readability
  • check overlay positioning
  • check audio synchronization
  • check historical and coaching claims
  • check brand consistency
  • check for clipping and overlapping geometry
  • check the video is 1080x1920

Render a low-resolution preview first.

Inspect frames from every major scene.

Fix visible problems before rendering the final video.

Do not claim the pipeline works until it has successfully rendered a playable episode.
</quality_control>

<output>
Deliver:
- complete editable Three.js + Remotion project
- reusable boxer rigs
- reusable movement library
- camera and environment presets
- animated educational overlay library
- episode.json
- timed narration script
- low-resolution preview
- final 1080x1920 MP4
- README with setup instructions
- one command to render the next episode

If a dependency or asset is unavailable, identify exactly what remains incomplete.

The goal is to build a reusable sports animation engine that can produce hundreds of different educational videos by changing the topic, script and movement sequence without rebuilding the visual system.
</output>

来源:traqs · x.com