dacnay816y62-hub/photo-revival
Codex skill for turning everyday photos into poetic white-paper hand-drawn illustrations.
Featured achievements
The project's latest awards
#1 Repository of the week
#4 Repository of the week
#1 Repository of the week
废片焕新 / Photo Revival
把普通照片、生活随手拍、废片和日常物件,重新画成一页白纸上的诗性手绘插画。
photo-revival 是一个 Codex Skill。它不是给照片套滤镜,而是把照片当成“记忆证据”:保留主体、空间关系和情绪,再用新的手绘插画语言重新生成。
核心效果
- 3:4 竖构图
- 白色或近白纸张底图
- 80-88% 大面积留白
- 主体插画只占画面 10-16%
- 主体最大不超过整页 18%
- 色彩只集中在这一小块插画区域
- 手绘笔触:铅笔、水彩、干刷、蜡笔、轻微 risograph 颗粒
- 少量中英文手写小字、日期、field note
一句话:把照片重新画成一页诗,而不是把照片修成插画。
适合做什么
- 随手拍、废片、日常照片
- 小猫、食物、杯子、窗户、楼道、旧店、街角
- 旅行碎片、建筑、树、桥、庭院、器物
- 传统文化、非遗、民俗、手作、地方记忆
- 想保留真实主体,但希望画面变得更文艺、更轻、更有纸感
不适合做什么
- 写真人像精修
- 商业产品大海报
- 大标题视觉海报
- 满版拼贴
- 密集信息图
- 需要严格还原原照片像素的修复任务
中文操作指南
下面是从安装到出图的一套完整中文流程。
安装方式
把这个仓库放到 Codex 的 skills 目录下即可。
Windows
cd $env:USERPROFILE\.codex\skills
git clone https://github.com/dacnay816y62-hub/photo-revival.git
如果你的 Codex skills 目录在别的位置,也可以直接把仓库复制进去,目录名保持为:
photo-revival
基础用法
在 Codex 里上传一张照片,然后像平常聊天一样说就行:
用 $photo-revival,把这张照片画成那种白纸留白的小手绘插画。
稍微具体一点可以这样说:
用 $photo-revival 处理这张照片,保留主体和氛围,但重新画成大留白、白纸质感、带一点诗意小字的手绘插画。
如果要批量测试,可以说:
用 $photo-revival 随机测试这几张照片,每张都保持白纸大留白,小小一块手绘插画,文字少一点、有诗气一点。
默认情况下,这个 skill 会自己控制比例:主体很小、留白很多、颜色集中在局部。只有结果跑偏时,才需要使用下面的更严格提示词。
推荐工作流
- 上传照片。
- 先识别照片里最重要的 1-3 个记忆点。
- 保留这些记忆点:主体、姿态、空间关系、关键物件、情绪。
- 用图像生成重新绘制,不要做本地滤镜或简单风格迁移。
- 输出 3:4 竖图。
- 检查主体是否过大。如果超过 18%,重新生成。
- 检查文字是否过大、重复、乱码。如果有问题,重新生成或减少文字。
通用提示词模板
Transform the reference photo into a 3:4 vertical poetic hand-drawn illustration page on clean white textured paper.
Preserve:
<照片中必须保留的主体、姿态、空间、物件、氛围>
Redraw:
Turn the photo into a fresh hand-drawn illustration, not a photorealistic edit and not a filter.
Composition:
The illustrated subject occupies only 10-16% of the full page, absolute maximum 18%.
Keep 80-88% of the page as untouched blank white paper.
Place the small illustration slightly below center or gently off-center.
Texture:
Use pencil line, watercolor wash, dry brush, wax pastel edges, light print grain, and subtle paper texture.
Color:
Use vivid color only inside the small illustrated area.
Do not spread color into the blank white-paper field.
Text:
Add tiny handwritten caption: "<一句短中文诗句>"
Add tiny English note: "<FIELD NOTE / DATE>"
The text must be very small, handwritten, imperfect, and part of the image.
Avoid:
full-bleed photo, photo-filter look, large portrait crop, subject larger than 18%, dense collage, old yellow paper, big typography, duplicated text.
示例文案
可以把中文小字写得短一点,像页边批注:
- 圆镜里藏着今天
- 猫把夜晚抱住
- 风从旧店门口经过
- 蓝里藏着风
- 一剪春天醒了
- 竹声很轻
- 影子也会唱戏
英文小字适合做成档案感:
FIELD NOTE / 08.02SOFT MEMORYPAPER STUDYQUIET ROOMHAND MEMORYDAILY ARCHIVE
样张画廊
![]() 汽车页 | ![]() 花树 | ![]() 月洞门 |
![]() 相机笔记 | ![]() 泡泡 | ![]() 塔 |
![]() 红色自行车 | ![]() 跑步者 | ![]() 城市天际线 |
![]() 一碗食物 | ![]() 道路记忆 | ![]() 旧店 |
![]() 床上的猫 | ![]() 面具舞 | ![]() 车窗 |
![]() 山与牦牛 | ![]() 田野笔记 |
常见问题
主体太大怎么办?
重新生成,并把约束写得更硬:
The illustrated subject must occupy only 10-16% of the full page.
Absolute maximum subject area is 18%.
Keep 80-88% of the page blank white paper.
文字重复或乱码怎么办?
减少文字,只保留一句中文和一个英文日期。文字必须“小、少、像手写批注”,不要当成海报标题。
生成结果像照片滤镜怎么办?
强调:
This must be newly redrawn as an illustration, not a filtered version of the photo.
颜色铺太满怎么办?
强调:
Color must stay localized inside the tiny illustrated area.
The blank paper field remains white.
文件说明
SKILL.md:Codex skill 的核心指令。agents/openai.yaml:Codex 展示用元数据。examples/:公开样张。
License
MIT
Similar Projects
Discover other similar projects and AI models.
中文小黑怪诞正文配图生成 Skill | 16:9 白底手绘 | 少量红橙蓝批注 | Codex Skill
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Awesome curated collection of images and prompts generated by GPT-4o and gpt-image-1. Explore AI generated visuals created with ChatGPT and Sora, showcasing OpenAI’s advanced image generation capabilities.
A compact Agent Skill for highly simplified, rounded, subtly neo-skeuomorphic IP mascot logos.
GPT Image 2/2.5/2.6 prompt gallery, image prompt library, agentic skill, and CLI for OpenAI image generation/editing
Xiaohei 2.0 Codex Skill for Chinese real-object article illustrations and long-scroll story images
why use many token when few token do trick. Skill + local proxy for coding agents: shorter answers, smaller tool output, every original recoverable.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
















