環境設定ファイルを追加し、make-json.shにエラーハンドリングとJSONスキーマのバリデーションを追加。新しいスクリプトpromote-manifest.shを作成し、マニフェスト生成のプロセスを強化。README.mdを更新し、プロンプト生成の構造を明確化。シーンとスタイルの登録ルールを整理し、スキーマファイルを追加。
This commit is contained in:
@@ -1,22 +1,124 @@
|
||||
# Styles Library
|
||||
# AI-ART Style Registry (Constraints-Compliant)
|
||||
|
||||
## [anime_style]
|
||||
This document defines **registered visual styles**.
|
||||
All styles MUST comply with:
|
||||
|
||||
- 説明: クリーンな線とフラット寄りの彩色。瞳にハイライトを入れ、輪郭は滑らか。背景は簡略化しつつ要所でグラデーション。
|
||||
- キーワード: "anime style, clean lineart, cel shading, soft gradient background, glossy eyes, minimal noise"
|
||||
- README.md
|
||||
- prompts/constraints.md
|
||||
|
||||
## [cinematic]
|
||||
Styles are identified by **STYLE_ID**.
|
||||
No free-form styles are allowed.
|
||||
|
||||
- 説明: 映画ライクな質感。柔らかなリムライトとフィルムグレイン。浅い被写界深度で主題を浮かせ、色はわずかにティール&オレンジ寄せ。
|
||||
- キーワード: "cinematic lighting, soft rim light, film grain, shallow depth of field, volumetric light, teal and orange grade, 35mm lens"
|
||||
---
|
||||
|
||||
## [photoreal]
|
||||
## 1. Style System Rules
|
||||
|
||||
- photorealistic, physically based rendering,
|
||||
- shot on full-frame DSLR, 85mm lens, f/2.8,
|
||||
- natural depth of field, realistic bokeh,
|
||||
- subsurface scattering with natural skin tone variation,
|
||||
- micro scratches, subtle wear and tear, imperfections,
|
||||
- natural exposure, high dynamic range,
|
||||
- single soft key light, realistic shadow falloff,
|
||||
- atmospheric perspective, slight haze
|
||||
- Each style has a unique STYLE_ID
|
||||
- Only registered STYLE_IDs may be activated
|
||||
- Styles are inert unless explicitly activated by task or manifest
|
||||
- Styles NEVER override constraints.md
|
||||
|
||||
---
|
||||
|
||||
## 2. Registered Styles
|
||||
|
||||
### STYLE_ID: FLAT_BASE_01
|
||||
|
||||
Status: DEFAULT
|
||||
Description: Neutral flat illustration baseline
|
||||
|
||||
Rules:
|
||||
- Illustration-oriented
|
||||
- Flat or semi-flat rendering
|
||||
- Minimal shading
|
||||
- Clean line work
|
||||
- Neutral lighting
|
||||
- No effects
|
||||
|
||||
Use case:
|
||||
- Character sheets
|
||||
- Full-body reference
|
||||
- Default人物紹介
|
||||
|
||||
---
|
||||
|
||||
### STYLE_ID: FLAT_MUTED_02
|
||||
|
||||
Status: OPTIONAL
|
||||
Description: Flat style with muted palette
|
||||
|
||||
Rules:
|
||||
- Flat color blocks
|
||||
- Low saturation
|
||||
- Soft contrast
|
||||
- No gradients or glow
|
||||
|
||||
Use case:
|
||||
- Calm tone characters
|
||||
- Background-less portraits
|
||||
|
||||
---
|
||||
|
||||
### STYLE_ID: LINE_ART_01
|
||||
|
||||
Status: OPTIONAL
|
||||
Description: Clean line-art focused style
|
||||
|
||||
Rules:
|
||||
- Strong line definition
|
||||
- Minimal or no fill color
|
||||
- Uniform line weight
|
||||
- No texture
|
||||
|
||||
Use case:
|
||||
- Design reference
|
||||
- Technical character outlines
|
||||
|
||||
---
|
||||
|
||||
## 3. Forbidden Style Behavior
|
||||
|
||||
Styles MUST NOT introduce:
|
||||
|
||||
- Photorealism
|
||||
- Cinematic lighting
|
||||
- Effects, glow, aura
|
||||
- Narrative implication
|
||||
- Environmental elements
|
||||
|
||||
Any style violating constraints.md is INVALID.
|
||||
|
||||
---
|
||||
|
||||
## 4. Activation Mechanism
|
||||
|
||||
Styles are activated ONLY via:
|
||||
|
||||
- task_template.md
|
||||
- or manifest.json
|
||||
|
||||
If no STYLE_ID is specified:
|
||||
- `FLAT_BASE_01` is automatically applied
|
||||
|
||||
---
|
||||
|
||||
## 5. Conflict Resolution
|
||||
|
||||
If multiple STYLE_IDs are specified:
|
||||
|
||||
- Use the first listed STYLE_ID
|
||||
- Ignore others
|
||||
- Do NOT merge styles
|
||||
|
||||
---
|
||||
|
||||
## 6. Extension Policy
|
||||
|
||||
To add a new style:
|
||||
|
||||
- Assign a new unique STYLE_ID
|
||||
- Define explicit rules
|
||||
- Ensure constraints.md compliance
|
||||
- Never modify existing STYLE_ID behavior
|
||||
|
||||
STYLE_IDs are immutable once defined.
|
||||
|
||||
Reference in New Issue
Block a user