Files
infiplot-web/public/home/firstact/m16.json
T
DESKTOP-I1T6TF3\Q 010239de44 fix(home): localize first-scene images — drop Runware URL TTL dependency
Card click flow now serves /home/firstscene/{name}.webp from Vercel static
hosting instead of fetching im.runware.ai/... — those URLs have a finite TTL
and would silently rot. Side benefit: backfilled the 18 stories that never had
a local webp (f14-f29, m14, m29), and refreshed the 44 stale webps left over
from a pre-prebake story batch so they actually match their cover art again.

Scope is scene.imageUrl only; characters[].basePortraitUrl still points at
Runware (painter consumes it server-side as referenceImages, where a local
public path won't resolve).

localize-firstact-images.mjs:
- skip the network when the local webp is already on disk (don't re-encode
  what's already correct)
- read imageUrlRemote as a fallback URL when imageUrl is already localized,
  so --force can refresh from the original Runware source
- also localize scene.imageUrl alongside the top-level imageUrl

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-04 09:34:12 +08:00

1 line
5.9 KiB
JSON

{"sessionId":"s_1780421923804_63cuvq","scene":{"id":"scene_1780421956974_8hug","scenePrompt":"Wide establishing shot of a deserted library after hours, deep night. Rows of dark wooden bookshelves recede into shadow. A single, harsh fluorescent light fixture on the ceiling emits a cold, buzzing glow, casting long, stark shadows. On a wooden circulation desk in the foreground center, a stark manila envelope sits, opened. Beside it lies a glossy photograph and a sheet of paper with vivid red writing. The atmosphere is one of profound silence and sudden, heavy tension. The composition emphasizes the isolation and the ominous discovery in the empty space.","beats":[{"id":"b1","narration":"闭馆音乐最后一个音符落下,图书馆陷入只有荧光灯管低频嗡鸣的寂静。你锁好最后一排书架,转身——值班台空无一人,只有一个牛皮纸信封,静静地躺在你摊开的借阅记录本上。","next":{"type":"continue","nextBeatId":"b2"}},{"id":"b2","narration":"你的心跳漏了一拍。没有邮戳,没有署名。你撕开封口,一张照片滑落出来。","speaker":"你","line":"……什么?","next":{"type":"continue","nextBeatId":"b3"}},{"id":"b3","narration":"照片上是你自己。昨夜旧工厂天台,你摘下面具的侧脸,与身后闪电照亮的雨夜街景完美重叠——双重曝光。照片背面,一行字迹鲜红刺眼。","next":{"type":"continue","nextBeatId":"b4"}},{"id":"b4","speaker":"你","line":"……游戏开始,夜隼。","next":{"type":"continue","nextBeatId":"b5"}},{"id":"b5","narration":"你指节捏得发白。就在这时,口袋里那部从不离身的备用手机,突然以一种陌生的频率震动起来。屏幕上,一个红色的、不断跳动的信号图标刺入眼帘——义警网络的最高级别紧急呼叫。","next":{"type":"choice","choices":[{"id":"c1","label":"立刻处理紧急呼叫","effect":{"kind":"change-scene","nextSceneSeed":"城南码头仓库,枪声与火光隐约传来,你需要在暴露前完成最后一次行动。"}},{"id":"c2","label":"先调查信封来源","effect":{"kind":"advance-beat","targetBeatId":"b6"}}]}},{"id":"b6","narration":"你强迫自己冷静,将信封翻来覆去检查。普通的牛皮纸,没有指纹。但封口内侧,用极淡的铅笔写着一个几乎看不见的符号——一个 stylized 的猫头鹰眼睛。","next":{"type":"choice","choices":[{"id":"b6__exit","label":"继续","effect":{"kind":"change-scene","nextSceneSeed":"故事继续推进"}}]}}],"entryBeatId":"b1","sceneKey":"library-night","imageUuid":"f830635a-5fae-4a14-af0f-30b71ef1b8e1","imageUrl":"/home/firstscene/m16.webp"},"imageUrl":"/home/firstscene/m16.webp","characters":[],"storyState":{"logline":"你的双重生活被一道裂痕撕开——当蒙面义警的影像意外曝光,你必须在警察与暗影的双重追捕下,找出那个拍下照片的神秘人,否则你精心维护的平静将彻底崩塌。","genreTags":"悬疑 / 逆袭 / 都市暗战 / 高概念","protagonist":"你是林默,白天是市立图书馆沉默寡言的管理员,夜晚是游走在法律边缘、收割罪恶的蒙面义警“夜隼”。此刻,你平静的生活被彻底打破:一张你摘下面具瞬间的双重曝光照片,正被一个未知组织悄悄传播。警察、黑帮、神秘势力都在找你,而你必须抢在他们之前,揪出那个窥破你秘密的人,并决定——是继续在阴影中战斗,还是亲手埋葬另一个自己。","castNotes":"方哲:刑侦支队副队长,表面雷厉风行,实则对你这个“普通图书管理员”有种莫名的执着。他正负责调查义警案件,是离你白天身份最近的危险。\n沈清:图书馆新来的勤工俭学学生,笑容清澈,总在你不经意时出现。但他的眼神深处,藏着与年龄不符的审视与计算。那张致命照片,真的与他无关吗?","synopsis":"深夜图书馆闭馆,林默在值班台发现神秘信封,内含自己摘下面具的双重曝光照片及“游戏开始,夜隼”的挑衅字句。几乎同时,义警紧急联络信号响起,暴露危机与新的罪案同时降临。","openThreads":["照片的寄送者是谁?其目的是单纯威胁还是另有图谋?","义警网络的紧急呼叫指向何种罪案?是否与照片事件有关联?","信封内侧的猫头鹰眼睛符号代表什么组织或个人?","方哲的调查进展到何种程度?"],"relationships":["方哲:警方调查网已开始收紧,但尚未直接接触林默","沈清:新来的勤工俭学学生,此时尚未在场景中直接出现,但其存在本身构成潜在变量"],"nextHook":"下一场:你需要立刻做出抉择——是响应义警紧急呼叫去处理可能发生的罪案(可能加剧暴露风险),还是优先追查这个已经逼近你白天身份的致命威胁。你的双重人生正被无形的手推向悬崖。"},"cardName":"m16","cardTitle":"双面人生","cardGender":"男性向","worldSetting":"这是一款面向【男性向】观众的 AI 交互剧情游戏,整体走红果短视频式的强戏剧冲突与快速反转。\n剧情风格:多线转折。内容节奏:紧凑爽快。\n精选剧情《双面人生》的开场设定:他是循规蹈矩的图书管理员,也是暗夜中收割罪恶的蒙面义警。一次行动中,他的双重曝光影像意外被神秘组织捕捉,现在,黑白两道、现实与暗影都在追捕他。\n请直接以此开场切入,给玩家强烈的代入感与爽点;后续分支保持短剧式的反转密度,让玩家每一次选择都能立刻看到回响。","styleGuide":"Digital double exposure portrait, vertical composition. A sharp profile silhouette of a handsome detective, merged seamlessly with tall pine trees and a stormy, rain-slicked city street with flashing yellow lights. High contrast black and white with subtle neon accents.","imageUrlRemote":"https://im.runware.ai/image/os/a03d21/ws/3/ii/f830635a-5fae-4a14-af0f-30b71ef1b8e1.png"}