A Complete Prompt for Generating Ghibli-Style 2D Anime Videos with Code
A Yi AI Notes shared a complete prompt for generating web-based 2D anime scenes, requiring delivery as a single self-contained HTML file, using Studio Ghibli films as the reference for linework, hand-painted backgrounds, color, and atmosphere, with an original giant robot as the protagonist. The prompt specifies in detail cel shading, hand-drawn ink lines, gouache-style backgrounds, and cinematic camera movement, while listing negative constraints such as no 3D texture, no SVG vector graphics, no web animations, and no traces of AI art, and requires frame-by-frame inspection before completion. The author particularly emphasizes that using Grok to execute this prompt is not recommended.
Why read this
AI score 55
The original text provides a complete, directly reusable prompt that uses a large number of negative constraints to push web code generation toward a hand-drawn 2D anime texture.
Topics
Body · AI translation
Holy crap, this video was generated purely with code, that's insane, the sky is about to fall on video models,
Below is the Prompt shared by the author, and the guy especially stressed that he does not recommend using Grok 😂
Prompt: Create a 2D anime scene for the web. It must look exactly like real Japanese anime, as if taken directly from a completed theatrical animated film. This is traditional-style, hand-drawn 2D anime, not 3D animation, motion illustration, or stylized web graphics. The final result must be delivered as a single self-contained HTML file. You may use any tools, libraries, references, guides, anything at all. Use Studio Ghibli films as the artistic style reference for design, linework, hand-painted backgrounds, color, and atmosphere. Create an original giant robot as the protagonist. No people appear in the scene. You may use any tools or techniques, including 3D, as long as the final result looks 100% like hand-drawn 2D anime. Scene At sunrise, mist shrouds an abandoned forest. A giant robot has been kneeling here for so long that moss, wildflowers, and old trees have grown over its body. When the first ray of sunlight strikes its weathered face, a small bird lands on its shoulder. Deep within its chest, a faint light flickers to life. The ground trembles, and a flock of birds bursts startled from the treetops. With a deep, creaking groan, the robot slowly rises, and dirt, vines, and fallen leaves cascade from its armor. It lifts its head and gazes at the gap in the canopy. The engines ignite, sending a huge ring of wind surging through the forest. The robot tears through the golden sky, leaving a curved trail of light and mist as leaves swirl and drift down in the sunlight. Anime quality standards Every frame must look like the work of a professional anime animator, colored by a top background artist for a finished theatrical film. Robot: a hand-drawn anime mecha that feels heavy, ancient, and full of personality, with cel-shaded forms, peeling paint, rust, moss, and convincing signs of age. The design stays consistent from every angle, and emotion is expressed through posture and glowing eyes. Linework: confident, delicate, hand-inked anime lines with subtle variation in thickness and pressure. Coloring: traditional anime cel shading, clean color blocks, simple hard-edged shadows, soft and natural tones. Background: richly detailed hand-painted anime backgrounds in a gouache style, with visible brushstrokes, natural color variation, distinct layers of vegetation, and a real sense of depth. Lighting: golden morning light, colorful shadows, glowing mist, and a soft atmosphere that blends the robot with the background. Animation: the rhythm of genuine hand-drawn anime, with a real sense of weight, powerful key poses, natural pauses, and overlapping motion in the vines, grass, leaves, birds, and falling debris. The robot should rise slowly, appearing massive and heavy, then launch into the air with explosive power. Direction: cinematic anime shots, beautiful composition, carefully considered staging and pacing—starting quietly, building gradually, and ending on a soaring climax. It must never look like •3D: no plastic textures, CGI shadows, visible polygons, game-engine lighting, or computer-perfect perspective. •SVG or vector art: no simple geometric shapes, perfect curves, uniform outlines, flat corporate illustration, or basic gradients. •Web animation: no sliding layers, constant jitter, floating parts, smooth software easing, or puppet-like joint rotation. You are free to change any part of the prompt as long as it leads to better results. •AI art: no distorted shapes, melting details, flickering or shifting robot designs. •Non-anime art: no Western cartoon designs, realistic rendering, soft painterly shading on the robot, or generic digital illustration. •Amateur work: no stiff poses, empty backgrounds, repeated trees, muddy colors, clip art, placeholders, or unfinished details. The final result should be awe-inspiring, nostalgic, and full of wonder, like the moment an old forgotten dream awakens again. Before finishing, check random frames as still images. If any frame does not look exactly like real 2D anime, keep improving it. Do not stop until every frame could stand as a single frame from a theatrical animated film. https://t.co/rv1KEJGcEW