Install
openclaw skills install @ggke/story-to-promptsConvert story synopses or single-scene descriptions into high-quality text-to-image prompts. Two modes: (1) multi-scene - a story outline is split into multiple coherent scenes, each with its own prompt; (2) single-scene - a single scene description gets a prompt directly. Outputs scored prompts with bilingual versions. Use when users say story to images, generate prompts for this scene, story split, storyboard prompts, text-to-image prompt, 文生图, 分镜, 故事拆分.
openclaw skills install @ggke/story-to-promptsOne-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:
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 ☆:
### 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):
[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)