方法论与洞察

GPT Image 2 游戏动作精灵图 · 三段锁定法 v1

首次记录:2026-07-03 状态:已验证(首验,单角色两案例)——机器兔角色(有目标效果图参考)+ 边牧狗狗角色(仅四视图定妆表、无目标效果图)两次均出片,作者确认可用 作者:跳蛛先生 + Claude 应用去向:独立游戏《Last Stand》怪物动作关键帧(待实战)


一句话总结

给 GPT Image 2 一张角色定妆图(单图或四视图皆可),用**「参考图硬锁 + 网格排版规范 + 逐行动作分解」三段式 prompt**,能直接产出绿幕、多行多帧、可抠可剪的游戏动作关键帧精灵图——角色一致性靠”特征清单写死 + 易丢配饰逐帧点名”压住。


适用场景


方法:三段式 prompt 结构

第一段 · 参考图硬锁(角色一致性)

开头即声明”Using the attached character reference image / turnaround sheet as the ONLY character reference”,然后把角色特征逐项写死成清单:体型、配色、五官、材质风格、每一件配饰。

关键手法:

第二段 · 网格排版规范(工程可用性)

第三段 · 逐行动作分解(一行一动作)

每行一个动作,单独一段描述:视角 + 动作过程 + 表情 + 帧间变化逻辑(如 “the 6 frames form one smooth walk loop with alternating legs”)。

四视图定妆表的独特优势——按行锚定视角:参考图是 front/left/right/back 四视图时,每行动作直接写 “matching the LEFT view of the reference sheet”,左走锚左视图、右走锚右视图、正面动作锚正视图。视角一致性瞬间稳定,这是单张定妆图给不了的。


实操经验(踩坑清单)

问题对策
一次生成 24 帧,帧数不严格、个别帧漂移逐行生成后挑帧重拼更稳:每次只保留一个 Row 段落,后期拼接。工程交付优先走这条
走路循环卡顿6 帧是下限,要顺滑改 8 帧(行数×列数与各行帧数同步改)
“趴下”类动作播起来怪过渡动画(transition)≠循环动画(loop),进引擎只播一遍、停末帧
参考图上的中文标注(正视图/左视图)被抄进结果裁掉参考图底部文字再上传
附了目标效果图,结果被原样照抄只附角色定妆图,不附目标效果图;目标效果用文字描述,让模型重新演绎

可复用 prompt 骨架

Using the attached character [reference image / turnaround sheet (front, left, right, back views)] as the ONLY character reference, generate a game animation sprite sheet of this exact character. The character MUST stay identical to the reference in every frame: [特征清单:体型/配色/五官/材质/每件配饰,逐项写死]. Same proportions, same colors, same [画风描述] as the reference.

Layout: a sprite sheet arranged in a strict grid of [N] rows × [M] columns, [N×M] frames total, evenly spaced, every frame the same size, character centered in each cell, feet aligned to the same baseline within each row. Flat solid chroma-key green background (#00FF00) filling the entire canvas, no shadows, no gradients, no text, no labels, no grid lines.

Row 1 — [动作名]: [视角(可锚定参考表对应视图)] + [动作过程] + [表情] + [帧间变化逻辑,如 the M frames form one smooth loop].
Row 2 — [动作名]: ...
(一行一动作,依此类推)

Consistent lighting from the upper left in all frames. Every frame MUST depict the same character with no design drift: [易丢配饰逐一点名] MUST appear in every single frame with unchanged colors.

举一反三


关联文档

类型/方法论工具/GPT-Image通用/prompt工程模板