# Veo 3.1 Reference Guide

## Veo 3.1 Meta Framework (Default Path)

### Core Operating Principles
- Follow the 5-part prompt order exactly: **[Cinematography] + [Subject] + [Action] + [Context] + [Style & Ambiance]**.
- Keep the prompt cinematic and specific, but avoid overloading it with multiple competing actions or ideas.
- Design each Veo shot around **one major action**. If the beat is too dense, split it into multiple shots.
- Reuse the **exact same character and location wording** across related shots to improve continuity.
- When the runtime supports references, prefer **1-3 consistent reference images** for the same character, object, or style.
- Use **first-frame / last-frame control** for transitions when supported. In this workflow, at minimum use `start_frame` for chained i2v shots.
- Do not use deprecated camera-positioning syntax or camera-location hacks. Use normal cinematography language instead.
- When structured fields are available, prefer **720p for iteration/QC**, **1080p for finals**, **16:9 or 9:16** aspect ratio, and **24fps** defaults.

### Veo 3.1 Prompt Formula (Default 5-Part)
```text
[Cinematography] Slow tracking push-in, eye-level, restrained handheld texture.
[Subject] A sweat-soaked, muscular young man with rough work-worn features and a bare chest.
[Action] He swings an axe down once and splits a thick log cleanly.
[Context] Dusty village backyard at dawn, chopped wood nearby, warm sunlight filtering through trees.
[Style & Ambiance] Hyperreal cinematic realism, warm earthy tones, shallow depth of field, drifting dust in the light.
```

### Veo 3.1 Prompt Assembly Template
```text
[Cinematography] ...
[Subject] ...
[Action] ...
[Context] ...
[Style & Ambiance] ...

Dialogue: "[spoken line]"
SFX: ...
AMB: ...
```

### Veo 3.1 Negative Prompt Guide
For **`kalaasetu_generateVideoi2v`**, send exclusions through the structured **`negative_prompt`** parameter instead of burying them in the main prompt.

- Write negative prompts as **plain unwanted elements**, usually comma-separated.
- Do **not** phrase them as instructions like `no ...`, `don't show ...`, or long natural-language refusals.
- Start with common cleanup exclusions unless the storyboard explicitly requires them: `subtitles, captions, watermark, text overlays, words on screen, logo`.
- Add only shot-relevant artifact exclusions such as `distorted hands`, `extra fingers`, `warped face`, `duplicate subject`, or `compression noise`.
- If the user is retrying the same Veo shot and gives feedback about what to avoid, convert that feedback into compact exclusion terms and append it to `negative_prompt` instead of cluttering the main prompt.
- Keep the negative prompt short, concrete, and aligned with the source image so it does not fight the intended action.

### Veo 3.1 Negative Prompt Example
```text
subtitles, captions, watermark, text overlays, words on screen, logo, distorted hands, extra fingers, warped face, duplicate subject, compression noise
```

## Advanced Features: Ingredients to Video (Reference-Guided Generation)
Veo 3.1 "Ingredients to Video" provides unmatched identity, object, and background consistency. It seamlessly blends disparate elements (characters, textures, idealized backgrounds) into cohesive clips, even supporting native vertical (9:16) and 1080p/4K outputs.

**When to Use `generateVideoIngredientsToVideo`:**
1. **More than 2 reference images:** If you have multiple images (e.g., Character A, Character B, and a Location) to guide the video.
2. **Cut scenes & Dialogues:** Building complex narrative setups by simply placing characters, providing reference asset locations, and describing the action/situation.
3. **Strict Continuity:** When identity consistency or object tracking is crucial across a sequence without relying solely on frame-anchoring.

**Workflow:**
1. **Trigger Condition:** Assess if the user provides multiple reference assets or requests a complex dialogue/cut-scene composite.
2. **Analyze References:** Read the provided reference images to understand the content and positional/spatial layout.
3. **Compose the Scene:** Call the `generateVideoIngredientsToVideo` tool, supplying the absolute paths of the reference images.
4. **Prompting:** Explicitly reference the provided images in your prompt, describing the action, cinematography, and audio (if any). You do not need to over-describe the subjects, as the model will inherently blend the provided ingredients.

**Example Prompt & Use Case (Dialogue Scene):**
*Input References*: `detective_keyframe.png`, `woman_keyframe.png`, `office_background.png`
*Shot 1 Prompt*: "Using the provided images for the detective, the woman, and the office setting, create a medium shot of the detective behind his desk. He looks up at the woman and says in a weary voice, 'Of all the offices in this town, you had to walk into mine.'"
*Shot 2 Prompt*: "Using the provided images for the detective, the woman, and the office setting, create a shot focusing on the woman. A slight, mysterious smile plays on her lips as she replies, 'You were highly recommended.'"

## Audio Direction (Veo 3.1 Native Audio)
Veo 3.1 generates synchronized native audio. Keep audio direction explicit, separated by layer, and limited to sounds that should be perceptible within the shot.

| Layer | Syntax | Guidance | Example |
|---|---|---|---|
| **Dialogue** | `Dialogue: "..."` | Put spoken words in quotes and keep performance notes brief. | `Dialogue: "புரிதா..." (firm, threatening)` |
| **SFX** | `SFX:` | Call out key synced sound events. | `SFX: Sharp crack of axe on wood, wood chips scattering` |
| **Ambient** | `AMB:` | Describe the environmental bed, not every tiny sound. | `AMB: Quiet village morning, crows cawing in the distance, light wind` |

**Prompt tail pattern:**
```text
Dialogue: "புரிதா..." (firm, threatening)
SFX: Footsteps on gravel, cloth rustling.
AMB: Quiet village morning, crows cawing in the distance.
```

## Emotional Sound Profiles

| Scene Emotion | Audio Character |
|---|---|
| **Tension** | Sparse SFX, low ambient, sharp isolated sounds |
| **Joy / Triumph** | Layered ambient (crowd), energetic SFX, bright tones |
| **Sadness** | Minimal SFX, muted ambient, silence as a tool |
| **Action** | Dense SFX layers, rhythmic impacts, dynamic ambient |
| **Intimacy** | Close-mic SFX (breathing, fabric), whispered dialogue, quiet ambient |
