Files
my-skills/photo-doodle/references/prompt-templates.md
2026-11-05 01:04:53 +08:00

23 KiB

编辑提示词模板

方括号内容按原片实况填写,不把占位符交给图片工具。用户已有明确要求时直接采用;模板中的选择是起点,不是强制构图。

先完成 英文标签、自然语言内容的独立 XML 设计单。每份设计一个根元素、一个独立代码框,不包含多个方案,设计数量按情况决定。只把本轮选中的设计展开为提示词,不把全部候选一起生成。标签只归组,内容按语义理解,不作为图片文字或工具参数。默认无填充、原片不改;选中半透明或局部遮白时,只替换相应范围的默认约束。每个对象与局部保持各自用笔。

默认不需要额外参考图。 以下骨架只需待编辑原片和文字要求即可使用。额外图片相关语句仅在确实存在相应图片时加入;不输出虚构的图片编号。从零生成时,将编辑目标改成待生成的摄影场景,删除原片保留及图片输入语句。

共通骨架

Use case: style-transfer (localized photo doodle overlay)
Input image: Image 1 is the EDIT TARGET.
Primary request: Apply the selected photo-doodle design to Image 1, keeping the photographic base except for any explicitly specified local repaint region.
Base-photo treatment: [no repaint / selected local white-paint region, boundary, opacity and dry-brush or other chosen edge].
Preserve: outside the explicitly selected local repaint region, keep original framing and aspect ratio, camera perspective, lighting and colors, existing photographic identities and poses, count and placement of existing real objects, photographic surface textures, and existing scene text. This does not prohibit the explicitly planned new drawn characters or objects.
Style: loose expressive pen doodles with subtle handmade wobble, flowing contours and deliberate gaps. Keep the real photograph visible, with no glow, realistic shading, heavy sticker border or cast shadow. Use the selected subject-led, environment-led or invented-story treatment below; do not automatically add human figures.
Drawing-by-drawing pen plan: [object or part A: color, relative thickness, opacity, texture and gesture]; [object or part B: its separately chosen pen]; [annotation: its own pen if used]. Include a shared pen description only where helpful; preserve each stated local difference rather than forcing one color or width onto all drawings. Natural pressure variation within a stroke is allowed. Preserve other photographic colors.
Fill: [none by default / per-layer selected translucent or opaque fill, color and opacity]. Sparse contour-only subjects stay unfilled unless that layer explicitly selects a fill.
Composition: [actual subject and available space]; [selected treatment: subject outline/expression, environmental rhythm or invented scene]; [locations and relationships, with local detail and overall coverage considered separately].
Scene assessment and amount: [where the photograph is already rich in content, and where it is sparse]. In rich areas apply the planned substantial groups of selective structural outlines across [explicit objects and regions], so the graphic style is evident. In sparse areas add the planned related events, objects, responses and environmental extensions at [explicit locations]. Keep individual subjects simply drawn; do not reduce overall content to one or two little marks or enlarge one isolated object as a substitute for developing the scene.
Presence: [legible sizes, distribution, primary/secondary roles and connections]. Enumerate ALL selected outline groups and added-content groups rather than compressing them into "a few small doodles". Keep internal detail, total content and spatial coverage separate.
Overlay plan: [chosen additions, distinguishing existing photographed features from new imagined subjects; how the drawings interact with the scene].
Annotation decision: [a small arrow or short handwritten comment adds value / leave unannotated for a stated visual reason / follow the user's explicit text preference].
Text if selected: Add only the following exact short text: "…", at [location], with [a curved arrow / speech tail / no connector] pointing to [actual subject or feature]. Otherwise add no new text. Preserve original scene lettering in either case.
Constraints: apply only the selected overlays and explicitly bounded local photo treatment. Do not repaint the whole photo as an illustration, alter unrelated photographic faces or anatomy, relocate real objects, copy reference subjects, introduce reference watermarks or account names, or cover protected details. New drawn subjects may be fictional or surreal when selected. A translucent drawing does not require a transparent file background.

如果有额外参考,按实际编号添加角色说明,例如“Image 2 is LINEWORK STYLE REFERENCE ONLY”或“Image 3 is COSTUME FORM REFERENCE ONLY”;不把参考场景合并进原片。无额外参考则不添加这些语句。示例数值、角色和文案均服从用户实际输入。

人物系列和文化形制不明确时,先读 场景与修改流程。默认通过文字指定形制与线条;若使用资料图,服饰参考只决定结构,风格图才辅助决定线条。

以下基础模式和可选补充按需取用;不是每次都附加复杂花纹、故事角色和彩色。按具体对象和局部替换模板的颜色、粗细与透明度,不能只因一个部位用了彩色就全局替换白线描述。只有用户明确要求整图统一时才统一。

这些模式描述局部画法,不限制整份设计的内容量。不要把表情的简洁、角色的疏笔或建筑的概括误用为全图只能出现一两处绘制。丰富底片的多组描边与简单底片的新增事件,均按所选设计完整列出。

本体描边与表情:已有主体是主角

Overlay plan: Keep the photographed [animal, food or object] as the character. Add selective slightly broken white contours around [specific edges], with [tiny expressive accents] that follow the actual shape. Preserve the photographed body and texture.
Face treatment: [For an animal with visible eyes/mouth: retain the actual face and add only supporting eyebrow/blush/expression marks. / For a faceless object or food: add the chosen small drawn face.] Do not create a duplicate face or a replacement cartoon body.
Optional annotation: [exact short caption or sound] and a small curved arrow toward [actual detail] if selected in the annotation decision.
Constraints: no new human character, costume, vehicle or unrelated story unless requested. Keep decorative marks sparse and subordinate to the real subject.

环境线条:草木、水纹与云均可

Environmental motif: Echo the actual [grass clumps, shrub masses, tree canopy, clouds, water ripples or rock forms] in [specific region]. Use [a few long growth arcs / clustered grass strokes / layered rounded contours / wave curves] following the scene's actual direction and grouping, with some gentle imaginative extension beyond a boundary.
Keep the photographic environment visible. Do not trace every blade, leaf or texture; do not automatically draw clouds when a different motif belongs to the scene. This can remain a simple sparse treatment without dense patterns or new characters.

可选:箭头和手写短说明

Annotation plan: Add only [small number] short handwritten [language] notes with a natural pen rhythm. Exact text: "[short sound, emotion, action or observation]" at [clear space]. Connect it to [specific visible subject/detail] with a short loose curved arrow, dashed path or speech tail, with an unambiguous endpoint. Avoid covering the subject or existing signs.
Use [white/warm-white or a selected contrasting pen color]. Keep words brief, visually subordinate and spelled exactly. Add no unsupported factual labels, long paragraphs or repeated slogans.

可选:前景框架与主体呼应

Foreground structure: Add selective [pen color and weight] contour fragments to the actual [window leaf, door edge, railing or table edge]. Follow its existing perspective along [chosen long edges, corners and major boundaries], leaving gaps and real texture visible. Do not trace every carved motif or grid, or add a detached full-photo border.
Optional frame note: exact text "[chosen words]", in [its own pen style], placed [vertically on a plain dark stile / along a broad rail / at the selected angle]. A short [selected-color] curved arrow points to [specific existing or drawn subject]. Preserve [the approved main drawing]. Relate the foreground marks to that subject through [gaze, airflow or directional rhythm]. Use only the frame treatment and text selected in the design.

食物拟人:替换 Overlay plan 与 Style 的补充

Overlay plan: On [specific visible food pieces], draw distinct tiny black facial expressions that follow each surface angle, with restrained pink cheeks. Keep the photographed food as the body, including its texture and highlights. Add partial white contours, a few white steam strokes near [hot dish if supported], and a curved arrow pointing to [actual feature]. Leave the rest of the meal and table clearly visible.
Style addition: expressive but minimal kawaii pen faces; mostly white doodles with tiny blush accents. No replacement cartoon food, no repeated identical stickers.

日常手账:替换 Overlay plan 与 Style 的补充

Overlay plan: Draw [the selected related characters, object expressions and supporting scene groups] at [their separate ledges, objects or scene anchors]. Show [specific primary action and responses], with believable contact and orientation. Apply [selected foreground/middle/background outline groups and environmental additions] to develop the complete composition. Include [only the selected symbols, arrows and short notes] where they connect those groups. Keep [protected details] visible; do not replace the planned rich composition with one tiny sticker in a corner.
Style addition: cream and muted pastel flat fills for the small character only, simple dark hand-drawn outlines, tiny blush cheeks, loose white pen marks. No glossy 3D stickers or thick full-photo border.

旅行描边:需要描边时使用

Overlay plan: Follow the selected composition, explicitly tracing [foreground structural groups], [middle-distance outlines] and [farther silhouettes or routes] with purposeful long/short contours and gaps. In a photograph already rich in content, let these numerous organized outline groups make the hand-drawn style clearly evident while leaving internal photographic textures visible. In sparse areas add [the selected concrete scene groups, interactions and environmental motifs]. Add clouds or a winding line only if selected, not as the entire default treatment. Match perspective and imply depth with breaks behind real structures. Preserve all existing people and vehicles.
Style addition: white or warm-white textured pen linework, airy and selective, not an edge-detection filter around every object. Follow the selected annotation decision; do not append a conflicting global no-text instruction.

可选:复杂花纹

Pattern plan: Use [specific cloud, grass/shrub mass, water or background region] as the canvas for an intricate hand-drawn composition. Establish [main silhouette and flowing direction], then develop a coherent family of [selected spiral, scallop, petal, scale or woven motifs], varying scale and spacing. Keep [specific gaps and photographed details] open. Use [chosen pen texture and palette].
Complexity: rich internal detail in the selected area, with readable grouping and pauses; not uniform noise across the whole photograph. Do not add this treatment outside the planned region.

可选:故事性想象

Imagined scene: Add [new drawn character, creature or object] performing [a clear action or related set of interactions] at [specific places in the photograph], evoking [intended mood]. These subjects are new hand-drawn inventions, not outlines or replacements of existing photographed subjects.
Scene relationship: Use [actual rock, path, skyline or other feature] as [seat, stage, imaginary passage or spatial anchor]. Show [contact, occlusion, scale, gaze or floating direction] so the invention belongs to the scene. [Add a secondary motif only if it helps this story.]
Rendering: expressive sparse contour gestures with [chosen palette], deliberate open gaps and unpainted interiors; keep the photographic environment intact. Add descriptive detail only where the user's request needs it. Surreal actions are intentional; let pose and spatial relationships make them legible.

可选:多人分组与系列一致性

Human drawing style: Use [agreed line weight and omission level]. Start with [head tilt, back/sleeve flow, bent-knee gesture or a hand-to-prop connection] to imply the people and their actions. Leave faces, hands and bodies unpainted; open contours and blank faces are intentional. Add [only the identifying silhouette if needed]. Avoid completing every feature, clothing seam, fold or limb. Keep expressive organic curves rather than stiff rod limbs or geometric icons. Maintain this same sparse drawing language across the series. [Only when a style image exists: compare the specified subjects in that actual reference image.]
Grouping: [group A: people, shared activity, location and depth]; [group B if appropriate: different people, activity, location and depth]. Vary poses and facing directions, leave [specific space] between groups. Do not put everyone into a shoulder-to-shoulder lineup.
Spatial integration: [feet on actual paving / seated body occluded by the existing chair back / hips and hand supported by real roof tiles]. Use [gaze or gesture] to connect [characters or photographic features]. Preserve all real visitors and scene text.

可选:保持密度,修正时代或地域特征

Edit scope: Change ONLY [specific drawn subjects and costume/object features]. Keep the approved line-detail density, character poses and sizes, grouping, other drawings and photograph unchanged.
Form specification: Depict [source-backed headwear silhouette, collar, garment cut, fastening or equipment, stated concretely in text]. Apply these changes to the selected subjects using the same line density and handmade style as the approved version. Replace generic features rather than layering many extra details.
Do not substitute a nearby but different [dynasty, performance tradition or occupation]. Historical specificity must remain readable without dense textures or written labels. [Only when a form image exists: use the designated image for construction only, not its painting style, colors, scene, people count or composition.]

可选:彩色笔触

Local pen choice: Draw [specific object or part] in [chosen color], with [relative thickness, opacity, texture and gesture], because [contrast against its background / connection to scene or mood]. Draw [other object or part] with its separately selected pen. Replace conflicting default descriptions only within the stated scope; keep other agreed pen choices. Do not enforce a single main color or width unless requested. Preserve the photograph's color and lighting; no automatic color grading or glowing outlines.

可选:半透明色面

Translucent fill on [selected layer only]: keep the [selected color] contour legible at [chosen stroke opacity], and add a light [fill color] wash inside at [chosen translucency, using natural language unless a number was specified]. Photographic textures and edges remain readable through the wash. Keep other outline-only layers unfilled. Use flat hand-painted color, without realistic cloth folds, material shading, thickness, surface texture or physical fittings unless explicitly selected.
Depth: [specific front segment] passes in front of [real object], which remains visible through it; [specific rear segment] is hidden behind that object. Keep the complete photograph as the output background.

可选:局部遮白与简笔重画

Local photo treatment: cover ONLY [explicit region and object parts] with opaque white paint, using [dry-brush / selected edge] boundaries. Preserve the photographic scene outside this boundary, especially [protected nearby features]. This patch deliberately replaces the selected photo area; it is not a translucent wash.
Redraw on that patch: use [selected black or other color] sparse pen lines to suggest [the replaced structure], aligning [specific junctions] with the still-photographic portion. Include only [essential outlines and a few identifying structures], leaving open white space rather than tracing every detail. Do not extend the patch into unselected regions.

可选:黑线本体拟人

For [specific mountain/object], use black as its main doodle color with [its selected line weight]; keep other objects' pen choices. Keep the photographed form as the body. Trace only [selected silhouette fragments], adding [a simple closed-eye curve, mouth arc or a few relaxed limb strokes] on its surface. Let the real texture remain visible. No separate replacement cartoon body or added dense internal lines.

可选:形态联想延伸

Shape extension: reinterpret the real [object] as [imagined identity] through its existing [specific shape]. Add only [few new contour segments or a simple accessory] anchored at [actual junctions], continuing the original perspective and silhouette. The photographed object supplies the main body and volume; the drawing supplies the new interpretation. Keep [line density and selected fill] and avoid unrelated characters or ornament.
Rendering boundary: The ADDED accessory is a two-dimensional hand-drawn pen shape over the photograph, with [selected fill]. Do not render it as installed photorealistic equipment, fabric, glass or a shaded 3D object. Keep contact and occlusion convincing while retaining graphic simplicity.

可选:合并已满意的方案

Input roles: Image 1 is the EDIT TARGET. [Other actual images and their numbers] supply ONLY [specific approved overlay elements]. Produce ONE combined full image, no split-screen or collage.
Keep [approved drawings from the target, including size, pose, per-part pen and fill]. Add [only the selected elements from the other version, preserving their drawing language]. Relate them through [shared gaze, action, flow or foreground-to-background connection]. Adjust only [necessary spacing or short connectors] to prevent tangles; do not add a third set of decoration or densify internal detail. Preserve all photographic content and original scene text.

有针对性的修正用语

保留当前已满意的部分,并重申原片保留项,只选本次需要的改动。例如:

  • 过密: Remove the secondary decoration clusters in [region]; keep the principal drawing at [location] and [the intended local intricate pattern, if any], preserving the original photograph.
  • 整体太空: Keep individual subjects simply drawn. For rich photographic areas, add the missing structural outline groups at [specific objects and regions]; for sparse areas, add [specific events, responding subjects, objects and environmental extensions]. Organize them through [shared action, gaze, path or foreground-to-background relation]. Adjust size or flow when needed, but do not substitute only a larger isolated object, fur/folds, repeated texture or uniformly thicker lines for content development.
  • 动物或建筑过细: Simplify only [the selected animal's contour / the selected redraw] by removing [fur strokes, repeated tile marks or window grids]. Keep the approved silhouette, size, placement and any white-paint boundary. Retain only [the identifying curves and a few structural hints].
  • 加画物件过写实: Replace only [added object]'s material rendering with [selected pen strokes and flat translucent wash]. Remove physical thickness, fabric folds, hardware and shaded texture. Keep its size, placement, contact and all other approved content.
  • 人物过密: Rebuild only [people] as a few expressive contour gestures around [essential action and contact points], retaining the grouping and interaction. Omit portrait features, clothing construction and repetitive folds rather than only removing hatching. Leave heads, hands and bodies unpainted, with deliberate open gaps. Preserve the photograph and other satisfactory artwork.
  • 人物过简: Strengthen only [the missing head tilt / action curve / hand-to-prop contact / key identifying silhouette] so [intended gesture or identity] reads clearly. Keep the existing sparse line language; do not simultaneously add complete facial features, fingers, collars and garment folds. Preserve grouping, coverage and the photograph.
  • 人物挤成一排: Keep the drawing style and character identities, but arrange [specific groups] at [separate locations and depths], with clear interactions within each group and open space between them.
  • 时代特征丢失: Keep the current line density, poses and layout. Replace only [generic costume shapes] with [source-backed identifying forms]; avoid increasing decorative texture as a substitute for identity.
  • 场所内容不符: Replace only [mismatched roles, instruments or actions] with [the specified cultural tradition's roles and gestures], preserving the approved line style, photo and satisfactory parts.
  • 整图卡通化: Restore the original photographic textures, lighting, faces and scene. Keep illustration restricted to the added marks described above.
  • 空间关系不清: Adjust only the added character's [pose/contact/occlusion/orientation] to clarify [sitting on the real surface / intentionally floating through the scene]. Keep the real environment unchanged.
  • 加画方式不合适: Replace only [selected overlay] with [subject-led contour/expression, environmental rhythm or an invented scene as appropriate], keeping the real photograph and satisfactory elements. Do not add a human story merely to make the image feel more elaborate.
  • 需要引导或说明: Add only [exact short note / a small curved arrow] at [clear location] pointing to [specific feature]. Keep the established drawing density and remove any conflicting no-text constraint from the prompt.
  • 描线机械: Replace only the overlay's uniform outlines with selective, slightly irregular pen strokes and occasional gaps. Keep the base photo unchanged.
  • 文案错误: Correct only the added handwritten text to the exact string "[用户原文]". Keep the photo and all other doodles unchanged.

不要把“保留原片”的提示约束当作已经实现的保真保证;实际成图仍需与输入对照。