One-shot conversion from story/scene to text-to-image prompts. No interactive confirmation — output the final result directly.
Detect language from user input:
Determine mode based on user input:
Priority for determining image count and split:
User specifies count (e.g. "4 images", "拆成6张") → use directly
User does not specify → split by spatiotemporal boundaries:
Default range: 3-6 images unless the story is extremely simple or very long
Complete all steps in one pass. Output final result only.
Determine internally (do not output separately):
Determine N images, assign for each:
references/shot-types.md narrative rhythm template, adjacent images must differ)Requirements for each prompt:
Self-evaluate each prompt on 10 dimensions and optimize:
Structure Completeness (40 pts)
Generation Quality Control (40 pts) 5. Motif unity (10): Do visual details serve a unified theme? 6. Material and lighting description (10): Specific material and light logic? 7. Constraints and negative prompts (10): Anti-failure constraints present? 8. Text-image integration (10): Text layout handled or explicitly absent?
Productization and Reusability (20 pts) 9. Parameterization (10): Easy to adjust and reuse? 10. Failure anticipation (10): Common AI errors preemptively blocked?
Logic check per prompt: character consistency, scene continuity, physics plausibility, style coherence. Fix contradictions if found.
Target: each prompt ≥ 80 points (High Quality). If below, self-optimize and output the improved version.
Simpler, one pass:
Primary language marked ★, secondary marked ☆:
text
### Image N | [Shot Type] | [Narrative Function]
**Scene Description:** [Detailed description in primary language]
**Text-to-Image Prompt ★ ([Primary Language]):**
[Complete detailed prompt, ready to copy-paste]
**Text-to-Image Prompt ☆ ([Secondary Language]):**
[Complete prompt adapted to target language conventions]
**Negative Prompt:** [negative keywords]
Score: [X]/100 | Level: [Product-grade / High Quality / Usable]
Strengths: [One sentence]
Improvements: [If applicable, one sentence]
Structure (by priority):
text
[Style] + [Shot type + Composition + Camera angle] + [Subject + fixed features] + [Action/Expression] + [Environment/Background] + [Lighting/Atmosphere] + [Material/Texture] + [Quality tags] + [Negative prompt]
Bilingual output rules:
Consistency rules:
Diversity rules:
Read on demand:
references/shot-types.md — Shot types, camera angles, narrative rhythm templatesreferences/composition-patterns.md — 12 composition patterns with prompt fragmentsreferences/style-params.md — 30+ style parameters (keywords, quality tags, avoid list, lighting)