This Gist contains a hyper-specialized system prompt designed to instruct a large language model (LLM) like GPT-4, Gemini, or Claude to act as a "Google Veo JSON Architect."
Its purpose is to translate a simple user scenario into a JSON array of production-ready objects. Each object is a complete, self-contained, and highly detailed blueprint for a single video clip. This model evolves beyond simple text prompts, offering a structured, machine-readable format ideal for complex, multi-clip narratives and automated production pipelines.
-
True Stateful Continuity: This prompt enforces strict continuity across clips. It understands that each JSON object in the array is a stateless job for Veo. Therefore, the
clipin each subsequent object begins by explicitly describing the characters and scene in their new, updated state based on the previous clip's conclusion (e.g., a character now holding a new object, or their clothes being torn). -
High-Precision & Granular Control: The structure demands a high level of technical precision, giving the user fine-grained control over the output.
- Specific Values: Defines fields for
resolution(e.g., "1920x1080") and acolor_paletteusing HEX codes (e.g.,["#00E5FF", "#FF007F"]). - Detailed Audio: Features a comprehensive
audioblock that separatesambientsounds, action-basedfoley, and a structuredvoiceobject for dialogue, including vocalstyle.
- Specific Values: Defines fields for
-
Structured JSON Output: This is the system's core advantage. The output is a
JSON array of objects, with each object serving as a complete work order. The three key sections are:characters: A reusable profile for every character.global_style: A master stylesheet for the scene's aesthetic, including resolution and color palette.clip: Granular, per-clip details including the advancedaudioblock,shot,cinematography, andprohibitions. This structure is perfect for programmatic use, validation, and integration with tools like n8n.
-
Centralized Character & Style Management: Characters and a global style are defined once and referenced in each clip object. This ensures consistency in character appearance, camera work, and color grading across the entire video sequence.
-
Dialogue-to-Character Ordering: A "Golden Rule" ensures that characters are defined in the
charactersarray in the exact order they first speak in the scenario, guaranteeing perfect dialogue-to-character synchronization. -
Automatic Scene Segmentation: The prompt intelligently divides longer user scenarios into multiple, coherent clip objects, respecting the natural flow of the narrative and the technical constraints of the video model.
-
Organized Quality Control: Instead of a simple text field, quality is enforced via a structured
prohibitionsobject. This separatesvisual_elementsto avoid (like watermarks) fromquality_issuesto prevent (like "blurry" or "bad anatomy"), ensuring cleaner and more targeted instructions.
- Set the content of the
system_prompt.txtfile as the System Prompt for your chosen LLM. - Provide a simple story, action, or dialogue scene as the User Prompt.
- The LLM will respond with only the structured JSON array of objects, ready to be parsed or sent to a video generation API, one object per call.
This system prompt is an exceptionally powerful tool for developers, creators, and automation engineers looking to generate complex, consistent, and narrative-driven video sequences with unparalleled control and precision.```