Hi 这里是海辛和阿文~
前段时间在 X 上看到博主 @sergeantsref分享了一个 Midjourney 风格代码--sref 2007748773 ,瞬间被圈粉。
@aoki_tosh 还用这个风格做了一个 MV 直接引爆了整个 X,不到几天就斩获了 300 万播放量。
▶ 原贴: x.com/aoki_tosh/status/1941742544846725625
一时间,我的 X 被这个风格刷屏了。受这个风格启发,我和阿文也做了一条恐龙主题的小短片。
身边有很多朋友们希望我们能分享一些制作方法,刚好在制作过程中我们也积累了一些小技巧,趁这个机会给大家分享一下~
先解释一下什么是 Midjourney 风格代码(Sref Code)。
这是一项类似风格滤镜的强大功能,用户只需在提示词中加上--sref 和对应数字,就能套用预设的视觉风格 ,无需繁琐描述,即可保持作品风格一致。
举例:在 Midjourney 里仅输入“一杯牛奶”,这是生成的图片:
如果在 “一杯牛奶” 后面加上风格代码 --sref 2007748773 ,这是生成的图片:
使用风格代码来控制生成的最大好处是: 如果你想画一系列风格完全一样的图(比如一本绘本),用同一个代码就行了,非常方便省事。
如果你想 100% 复现这种风格,在任意 prompt 的末尾加上 --sref 2007748773 的风格代码就可以了。
一些小经验:Prompt 部分可以详细一些,出来的效果会更好,毕竟风格代码只控制其中风格的部分。
恐龙的样片,我们图像和动画模型都是 Midjourney 直出,详细的版本和 prompt 如下:
▶ 图像:Midjourney V7
▶ 动画:Midjourney Animation V1
▶ prompt:(见代码框)
A watercolor andink sketch of a mechanical velociraptor, rendered ina raw manu style. The mecha-raptor isperfectly centered ina low, dynamic, predatory crouch. The texture of its armored plating, exposed pistons, andwiring isdefined bysharp, expressive, hand-drawn ink lines andcross-hatching. Furthermore, delicate, fine-lined dimension lines andmeasurement annotations are lightly sketched directly onto its body, asifa designer isactively measuring the force of its hydraulic jaw orthe arc of its sickle-like talon, enhancing the authentic draft feeling. The coloring isdone witha very light andloose watercolor wash, applied ina sketchy, almost translucent style. The colors are pale, allowing much of the white paper to show through, andare notstrictly contained within the ink lines, giving it a spontaneous, unfinished sketch aesthetic. The overall palette islow-saturation withweathered metallic tones, accented only bya single, more saturated pop of color onits cold, glowing orange optical sensor. This artistic sketch issuperimposed onto a rich andintricate mecha-dinosaur engineering blueprint. The blueprint background isa clean, bright white, densely populated withfine schematic lines, detailed callout sketches, andexploded-view diagrams showcasing the actuator mechanism of its formidable killing claw, the piston-driven power of its legs, anda detailed schematic of its jaw assembly. Handwritten notes andtechnical labels like 'Talon Actuator'and'Balancing Gyroscope'are scattered throughout. The overall image remains high-key, witheven studio lighting andminimal shadows, creating a bright, clean, andgraphic feel that marries a sketchy aesthetic witha polished, highly-detailed presentation.
A watercolor andink sketch of a mechanical Triceratops, rendered ina raw manu style. The mecha-fortress isperfectly centered, planted ina sturdy, defensive stance, its head lowered asifready to charge. The texture of its heavy-duty armored plating, its iconic cranial shield, andenergy conduits isdefined bysharp, expressive, hand-drawn ink lines andcross-hatching. Furthermore, delicate, fine-lined dimension lines andmeasurement annotations are lightly sketched directly onto its body, asifa designer istesting the structural integrity of its shield orthe impact force of its horns, enhancing the authentic draft feeling. The coloring isdone witha very light andloose watercolor wash, applied ina sketchy, almost translucent style. The colors are pale, allowing much of the white paper to show through. The overall palette islow-saturation withweathered metallic tones, accented only bya single, more saturated pop of color onits defiant, glowing yellow optical sensor. This artistic sketch issuperimposed onto a rich andintricate mecha-dinosaur engineering blueprint. The blueprint background isa clean, bright white, densely populated withschematics andexploded-view diagrams showcasing the power systems forits formidable horns, the energy matrix within its defensive shield, andthe robust design of its chassis. Handwritten notes andtechnical labels like 'Shield Emitter,''Impact Absorber,'and'Ramming Piston'are scattered throughout. The overall image remains high-key, witheven studio lighting andminimal shadows, creating a bright, clean, andgraphic feel.
A watercolor andink sketch of a mechanical Pterosaur, rendered ina raw manu style. The mecha-creature isperfectly centered, captured ina tense, dramatic pose perched onan unseen cliff edge, its vast wings partially folded, ready to launch. The design emphasizes its unique anatomy, witha long, sharp beak anda prominent, aerodynamic cranial crest. The texture of its hollow-titanium bone structure, the network of synthetic muscle fibers controlling its leathery patagium(wing membrane) isdefined bysharp, expressive, hand-drawn ink lines andcross-hatching. Furthermore, delicate, fine-lined dimension lines andmeasurement annotations are lightly sketched directly onto its body, asifa designer isanalyzing the tensile strength of its wing membrane orthe energy output required fora single powerful downstroke, enhancing the authentic draft feeling. The coloring isdone witha very light andloose watercolor wash, applied ina sketchy, almost translucent style. The colors are pale, allowing much of the white paper to show through. The overall palette islow-saturation withweathered metallic tones, accented only bya single, more saturated pop of color onits predatory, glowing crimson optical sensor. This artistic sketch issuperimposed onto a rich andintricate biomechanical engineering blueprint. The blueprint background isa clean, bright white, densely populated withschematics andexploded-view diagrams showcasing the intricate skeletal joint of the elongated fourth finger that supports the wing, the internalstructure of the cranial crest, andthe layout of synthetic muscle fibers across the patagium. Handwritten notes andtechnical labels like 'Phalangeal Actuator', 'Patagium Tensioner' and'Cranial Balancer' are scattered throughout. The overall image remains high-key, witheven studio lighting andminimal shadows, creating a bright, clean, andgraphic feel..
到这里为止,已经非常酷了。但我们希望在视觉上再往上翻一番。
我们希望能给每个恐龙的背景加上自定义的大色块以及对应的点缀色,赋予恐龙不同的性格。但这个 sref code 会把整体配色限制得很死,甚至没办法生成纯色背景。
如果想要得到这种效果,必须魔改或者抛弃这个 sref code。
分析了一下这种风格,我们喜欢的点可以总结为:充满技术细节的蓝图,以及复古的对比配色。所以我们在 prompt 的写作中,保留了密集的精细原理图和细节标注。
在配色上:先给背景指定一个纯色色块,同时,再选择一个相似色/对比色,作为恐龙身上的点缀色。
Set against a flat, uniform sheet of high-saturationgreen paper , features a ink sketch of a mechanical velociraptor, rendered in a raw manu style. The mecha-raptor is perfectly centered in a low, dynamic, predatory crouch. Its armored plating, exposed pistons, and wiring are defined by expressive hand-drawn ink lines and cross-hatching. Fine measurement notations and dimension lines are lightly drawn across the body, as if a designer is calculating the jaw's hydraulic force or the reach of its talons. Watercolor is applied loosely and translucently, with pale, desaturated metallic tones. Accents ofvivid yellow and soft green highlight specific elementssuch as glowing cables, sensors, and joint details with theyellow rendered in a bold, eye-catching tone that immediately draws attention. The blueprint lines, callout sketches, and technical markings are cleanly rendered in deep crimson and black ink, maintaining clarity and contrast. The lighting is bright and even, giving the image a crisp and refined look that balances loose sketchwork with technical precision.
很快,我们就可以自由控制整个画面的配色啦:
接下来,我们只需要替换恐龙的品种以及想要的配色即可,剩余图片的prompt 如下。
Setagainst a flat, high-saturation yellow paper background, this image presents a full-body ink andwatercolor sketch ofa mechanical Stegosaurus ina tense, battle-ready posture. The mecha-dinosaur isbroad andlow, but everyline ofits body hints atcoiled power its limbs anchored withreinforced joints andangular armor panels. Along its back, a rowofblade-likedorsal fins rise sharply, eachshaped likeserrated combat cleavers andintegrated withglowing cobalt-blue data channels that pulse along their edges likeneural conduits. These electric blue tracers also run along the tail vertebrae andspinal core, creating a reactive feedback grid across the body. The segmented tail curves intoa multi-jointed strike limb, ending infour brutal spike modules eachresembling high-density impact drills rather than passive spikes, withcalibration marks etched intotheir housings. The creature isdrawn withexpressive ink lines andheavy cross-hatching, andshaded withcold metallic watercolors steel grey, deep black, andglints ofreflected silver. Technical labels, angle diagrams, andimpact stress annotations arerendered indeep crimson andblack ink, standing outwithsurgical clarity against the intense yellow background. The composition radiates control anddanger a silent, cold-blooded war machine poised likea coiled weapon.
Setagainst a flat, uniform sheet ofhigh-saturation blue paper, this image features an ink sketch ofa mechanical Mosasaurus, rendered ina raw manu style. The mecha-Mosasaurus iscaptured mid-attack, its massive body coiled ina powerful, serpentine S-curve through the water. Its long, powerful jaw iswide open, revealing mechanical mandibles andinnerhydraulic tubing, asif moments away fromclamping down orunleashing a submerged weapon fromits gullet. Its streamlined armored plating, exposed pistons, andinternal cabling aredefined byexpressive hand-drawn ink lines anddense cross-hatching. Fine measurement notations anddimension lines aresketched across its body, asthough the designer isactively calculating its hydrodynamic efficiency during torsion orthe force ofits bite. Watercolor isapplied loosely andtranslucently inpale, desaturated metallic hues. Vivid red ororange accents highlight critical areas--glowing sensors, fin joints, and concealed weapon ports--with the red/orange rendered in a bold, attention-grabbing tone. The blueprint lines, callouts, and technical markings are cleanly rendered in deep crimson and black ink, standing out crisply against the rich blue background. Bright, even lighting gives the sketch a refined, high-contrast finish that merges raw artistry with mechanical precision.
Setagainst a flat, uniform sheet ofhigh-saturation purple paper, this image features a single mechanical Compsognathus rendered inink sketch andtranslucent watercolor wash, presented ina raw manu style. The small mecha-dinosaur stands poised atop the massive skull ofa fossilized Tyrannosaurus rex its tiny, angular frame sharply contrasted against the weathered, cracked surface ofthe enormous bone structure. The mechanical Compsognathus isdrawn withtight, expressive ink lines anddense cross-hatching, showcasing its segmented plating, hydraulic joints, andneedle-likeclaws. Despite its size, it exudes a quiet menace, its head tilted withcuriosity, sensors glowing insharp, saturated yellow. Fine measurement annotations anddimension lines trace bothits form andthe contours ofthe skull beneath it asif this scene were part ofan engineering study comparing scale, power, orlegacy. The watercolor tones arekept pale andmetallic, while vivid yellow accents definesensors, cables, andilluminated markings. The blueprint lines andtechnical labels arerendered incrisp black anddeep crimson ink, standing outclearly against the rich purple backdrop. Even under bright, even lighting, the image retains a poetic sense oftension onesmall, dangerous machine surveying the ruins ofa giant.
最后在剪映里配上音效以后,得到这条动画。
补充一个冷知识,剪映里真的是什么音效都有……
方向一: 尝试更复杂的动画 prompt
比如让这些机甲分解,或者变形。但 MJ 动画模型对提示词的遵循有点玄学,需要抽卡。放一些我们的测试 prompt 抛个砖吧~
Setagainst a flat, high-saturation yellow background, this image shows a mechanical Stegosauruscaptured mid-disassembly ina technical sketch style. Thedinosaur's heavy armor plating, dorsal blades, limb segments, and tail modules are all separated from the core frame and suspended inair, eachpart hovering slightly apart asifheld inmagnetic stasis. Theback-mounted plates are arrayed ina precise arc above the spine, revealing inner cooling conduits and data cable nodes. Thetail spikes float outward, exposing internalarticulation joints and impact-control systems. Sectionsof the torso opento reveal servo clusters, gear meshes, and layered circuit boards drawn infine ink detail. Thindimension lines and exploded-view annotations connect eachpart to its original location, whilemechanical labels and material specs are printed inblack and dark crimson ink. Theoverall sketch uses dense cross-hatching and translucent metallic watercolor washes cool titanium blue, brushed silver, and cobalt to enhance depth and volume. Thescene evokes a controlled teardown of a war machine, frozen intime like a diagram from a classified military manual.
The transformation initiates asthe upper segments of the smooth metallic shell begin to split along hidden seams. Petal-like dorsal plates unfurl outward fromthe top, rotating andlocking intoupright positions along the spine. Side panels shift laterally andretract, revealing tightly folded limbs within. The head emerges fromthe front section, rising andextending forward ona telescopic neck. Each limb unfolds insequence hind legs extending downward withhydraulic snaps, forelegs rotating outward andstabilizing the stance. The tail uncoils fromthe rear compartment, extending segment bysegment, ending ina multi-pronged spike array. As internaljoints lockandouter plating settles intoplace, the mechanical Stegosaurus stands fully deployed massive, precise, andready to move.
方向二:何必受限于一种风格呢?
给大家推荐三个作者,一个网站。
X 和 INS 上有很多优秀的创作者会经常分享自己发现的 sref code, 这是我们喜欢的三位,基本都是日更选手。
另外,再给大家推荐一个网站:
midjourneysref.com
里面收集了许多 Midjourney 的风格代码,并且可以通过输入关键词的方式进行检索,非常方便。
Setagainst a flat, uniform sheet ofhigh-saturation purple paper, this image features a single mechanical Compsognathus rendered inink sketch andtranslucent watercolor wash, presented ina raw manu style. The small mecha-dinosaur stands poised atop the massive skull ofa fossilized Tyrannosaurus rex its tiny, angular frame sharply contrasted against the weathered, cracked surface ofthe enormous bone structure. The mechanical Compsognathus isdrawn withtight, expressive ink lines anddense cross-hatching, showcasing its segmented plating, hydraulic joints, andneedle-likeclaws. Despite its size, it exudes a quiet menace, its head tilted withcuriosity, sensors glowing insharp, saturated yellow. Fine measurement annotations anddimension lines trace bothits form andthe contours ofthe skull beneath it asif this scene were part ofan engineering study comparing scale, power, orlegacy. The watercolor tones arekept pale andmetallic, while vivid yellow accents definesensors, cables, andilluminated markings. The blueprint lines andtechnical labels arerendered incrisp black anddeep crimson ink, standing outclearly against the rich purple backdrop. Even under bright, even lighting, the image retains a poetic sense oftension onesmall, dangerous machine surveying the ruins ofa giant.
我给小盗龙的这段 prompt 添加不同的 sref code,会出现截然不同的效果。
也欢迎你在评论区推荐你收集 sref code 的方式,或者你喜欢的 sref code!