Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions site/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,9 @@ Build app UI in `src/`. Keep `.openai/hosting.json`, `worker/index.js`, `scripts
- Keep generic technique advice separate from observations of a particular sample. Historical faint-color and reference-comparison observations for manga-geometric-comedy and anime-adult-everyday-cel belong to their station samples; youth uses its own generation-record observations in detail and comparison. The station-object words in ink-wash and pixel-art are examples inside color restrictions; explain them accurately without rewriting the frozen prompts.

- The owner subsequently approved committing these reviewed touch-ups, pushing a dedicated branch and creating a PR through CI verification. This supersedes the local-only/no-push restriction for the reviewed note/explanation changes. Preserve images, generation prompts, titles and tags. Do not merge or publish production; inspect any automatic deployment effects. Keep background-only verification, and leave Slack reporting to the parent task.

## Shared scene explanation and restored model caption (2026-10-22)

- Owner Slack1792712586.809229 requests the station version of the “同じ場面で比較” explanation verbatim in both scenes, with the existing English translation; remove the youth generated-sample progress count. Preserve the distinct scene descriptions, thumbnail selection and language behavior.
- Owner1792712912.039739/1792712974.531399 requests the previous model caption below the benchmark for both scenes. Commit810c0bb records the exact display name “GPT Image 2”; https://learn.chatgpt.com/docs/image-generation confirms built-in generation uses gpt-image-2. Restore this display fallback for generated samples while honoring any recorded model. Leave unknown per-image model/seed fields and all provenance unchanged; do not invent a new model name or change images/prompts.
- Push, PR and merge are authorized for this small display correction. Check CI and automatic deployment behavior. No manual production deployment is authorized in this request; keep background-only work and leave Slack reporting to the parent.
5 changes: 2 additions & 3 deletions site/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function DetailModal({
<div className="detail-image-foot">
<div className="benchmark-caption">
<span>{t(style.imageStatus === "pending" ? "生成用の場面" : "ベンチマーク")} / {t(style.sampleBenchmark.id === benchmark.id ? "駅で地図を広げる女性" : "夜明けの海辺でひまわりを持つ青年")} · {style.sampleBenchmark.id.toUpperCase()}</span>
{style.sampleModel && <span>{t("画像生成モデル")} / {style.sampleModel}</span>}
{style.imageStatus !== "pending" && <span>{t("画像生成モデル")} / {style.sampleModel || "GPT Image 2"}</span>}
</div>
<div className="detail-steps">
<button type="button" onClick={() => onNavigate(previous.slug)} aria-label={`${t("前の絵柄")}: ${previous.name}`}><ArrowLeft size={20} /></button>
Expand Down Expand Up @@ -344,8 +344,7 @@ export function App() {
<form className="search-form" onSubmit={submitSearch} role="search"><MagnifyingGlass size={24} aria-hidden="true" /><label className="sr-only" htmlFor="style-search">{t("名前・特徴で絵柄を検索")}</label><input id="style-search" ref={searchRef} value={searchText} onChange={event => setSearchText(event.target.value)} placeholder={t("例:フラット、純文学、抜け感")} /><button type="submit">{t("検索")}</button></form>
</div><aside className="benchmark-note" aria-label={t("共通の見本について")}>
<span className="eyebrow">{t("同じ場面で比較")}</span>
<p>{t(isStation ? "同じ人物と駅の場面を、異なる絵柄で描いた見本です。絵柄の指示をコピーして、好きな被写体に使えます。" : "人物・場面・全身構図を詳しく指定した青年の見本です。絵柄は女の子版と同じです。")}</p>
{!isStation && <small className="scene-progress" aria-live="polite">{library.filter(style => style.imageStatus !== "pending").length} / {styles.length} {t("種類の見本を生成済み")}</small>}
<p>{t("同じ人物と駅の場面を、異なる絵柄で描いた見本です。絵柄の指示をコピーして、好きな被写体に使えます。")}</p>
<div className="scene-selector" role="group" aria-label={t("見本の場面を選ぶ")}>
<button type="button" className="scene-thumbnail" aria-label={t("駅で地図を広げる女性")} aria-pressed={isStation} onClick={() => selectScene("station")}><img src="/images/scenes/station-thumb.webp" alt="" width="192" height="108" /></button>
<button type="button" className="scene-thumbnail" aria-label={t("夜明けの海辺でひまわりを持つ青年")} aria-pressed={!isStation} onClick={() => selectScene("young-man")}><img src="/images/scenes/young-man-sunflowers-thumb.webp" alt="" width="192" height="108" /></button>
Expand Down
2 changes: 0 additions & 2 deletions site/src/i18n.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import {languageLabels} from "./locale-labels.js";
export {languageLabels};
const english = {
'この見本について':'About this sample',
'種類の見本を生成済み':'style samples generated',
'生成用の場面':'Scene prepared for generation',
'人物・場面・全身構図を詳しく指定した青年の見本です。絵柄は女の子版と同じです。':'This young-man sample uses detailed instructions for the person, setting and full-body composition. Its rendering prompt is identical to the girl version.',
'この場面の見本は未生成です。現在の英語プロンプトを表示しています。':'This scene sample has not been generated. The current English prompts are shown here.',
'この絵柄文の色制約には、駅の見本の物体名が例として残っています。自分の場面に合わせて内容を確認してください。生成時の文をそのまま表示しています。':'This style prompt retains station-object names as examples within its color constraints. Check those examples against your own scene. The original generation wording is preserved.',

Expand Down
1 change: 0 additions & 1 deletion site/src/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading