Features

Customers

Resources

Features

Customers

Resources

BLOG

How to Prompt with Veo3: A Comprehensive Comparison of JSON, Spatial, YAML, and Normal Prompting Techniques

How to Prompt with Veo3: A Comprehensive Comparison of JSON, Spatial, YAML, and Normal Prompting Techniques

How to Prompt with Veo3: A Comprehensive Comparison of JSON, Spatial, YAML, and Normal Prompting Techniques

Aug 11, 2025

Aug 11, 2025

Google's Veo3 is revolutionizing video generation, but the real magic happens when you master its prompting techniques. In this in-depth blog post, we’ll compare JSON format prompting, spatial prompting, YAML prompting, and normal text prompting. Each method offers unique advantages, and understanding them can transform your video creation process.

Understanding Prompting in Veo3

Prompting is the art of communicating your vision to Veo3. Whether you’re a beginner or a seasoned creator, choosing the right technique can significantly impact your output. Let’s break down each method and explore its strengths, weaknesses, and ideal use cases.More detailed prompting techniques you can check out this blog. 

What is JSON Format Prompting?

JSON (JavaScript Object Notation) is a lightweight, structured data format that’s both human-readable and machine-friendly. In the context of Veo3, JSON format prompting involves crafting your video description as a JSON object. This method allows you to specify granular details such as camera movements, lighting conditions, character actions, and environmental settings.

For example, a JSON prompt might look like this:

{
  "prompt": "An astronaut sleeping peacefully on a mystical world, surrounded by colorful glowing flowers and ethereal creatures, evoking creative space magical vibes.",
  "config": {
    "camera": {
      "angle": "wide-shot",
      "movement": "slow-pan across the landscape"
    },
    "environment": {
      "setting": "mystical alien world with floating islands",
      "elements": "vibrant glowing flowers in hues of neon blue and purple, shimmering ethereal lights",
      "vibes": "dreamy, magical, otherworldly serenity"
    },
    "character": {
      "type": "astronaut in a futuristic suit",
      "action": "sleeping curled up on soft moss",
      "surroundings": "gentle magical creatures hovering nearby, emitting soft glows"
    }
  }
}

Precision and Control: JSON lets you define exact parameters, reducing ambiguity and ensuring the model understands your intent.

Structured Approach: By organizing elements into a clear hierarchy, it’s easier to manage complex scenes.

What is Spatial Prompting?

Spatial prompting focuses on the arrangement and interaction of elements within a scene. It’s about describing where objects are and how they move, often using visual aids like doodles or annotations. For instance,how simple instructions can guide Veo3 to create specific motions, like an astronaut running or a rocket taking off. Ideal for dynamic scenes where motion and layout are crucial, such as action sequences or multi-object interactions.

For a deeper dive into spatial prompting, check out this X post, which showcases how simple instructions and doodles can precisely control video motion.

Visual Control: Directs motion and placement with ease,

Flexibility: No need for technical syntax just clear descriptions or drawings.

What is YAML Prompting?

YAML (YAML Ain’t Markup Language) is another structured format, similar to JSON but with a more readable syntax. It’s not officially confirmed for Veo3, but if supported, it would offer the same level of control as JSON.

Hypothetical Example:

prompt: "An astronaut sleeping peacefully on a mystical world, surrounded by colorful glowing flowers and ethereal creatures, evoking creative space magical vibes."
config:
  camera:
    angle: wide-shot
    movement: slow-pan across the landscape
  environment:
    setting: mystical alien world with floating islands
    elements: vibrant glowing flowers in hues of neon blue and purple, shimmering ethereal lights
    vibes: dreamy, magical, otherworldly serenity
  character:
    type: astronaut in a futuristic suit
    action: sleeping curled up on soft moss
    surroundings

prompt: "An astronaut sleeping peacefully on a mystical world, surrounded by colorful glowing flowers and ethereal creatures, evoking creative space magical vibes."
config:
  camera:
    angle: wide-shot
    movement: slow-pan across the landscape
  environment:
    setting: mystical alien world with floating islands
    elements: vibrant glowing flowers in hues of neon blue and purple, shimmering ethereal lights
    vibes: dreamy, magical, otherworldly serenity
  character:
    type: astronaut in a futuristic suit
    action: sleeping curled up on soft moss
    surroundings: gentle magical creatures hovering nearby, emitting soft glows

What is Natural Language Prompting?

This method uses everyday language to describe your scene, making it accessible and straightforward. It’s perfect for beginners or when you need a quick result.

Example: Slow dolly-in, black-and-white vintage film look with soft focus and film grain. A young woman in a flowing Edwardian dress plays a grand piano in a lavish 1900s drawing room. Camera moves from her gliding fingers to a close-up of her emotive face lit by flickering candelabra. Velvet drapes, gilded furniture, and chandeliers drift into view with ornate shadows and a soft breeze moving sheer curtains. Melancholic Chopin-style nocturne plays on solo piano, recorded like an antique phonograph warm mono tone, with faint crackle, floor creaks, and distant ticking clock.

Best Practices and Tips

  • Be Specific: Detail drives better results, whether in JSON or spatial descriptions.

  • Leverage Visual Aids: Use doodles or annotations for spatial prompting, as seen in the X post.

  • Start Simple: Begin with natural language and progress to structured methods.

  • Iterate: Refine prompts based on outputs—Veo3 rewards experimentation.

  • Include Audio: Describe sounds to enhance the video’s immersion.

Conclusion

Mastering Veo3’s prompting techniques is key to unlocking its potential. JSON offers precision, spatial prompting provides visual control (as exemplified in the X post), YAML promises readability (if supported), and natural language ensures simplicity. Choose the method that aligns with your project’s needs and experiment to refine your approach. For a comprehensive guide, visit this resource.

Happy video creating!

prompt: "An astronaut sleeping peacefully on a mystical world, surrounded by colorful glowing flowers and ethereal creatures, evoking creative space magical vibes."
config:
  camera:
    angle: wide-shot
    movement: slow-pan across the landscape
  environment:
    setting: mystical alien world with floating islands
    elements: vibrant glowing flowers in hues of neon blue and purple, shimmering ethereal lights
    vibes: dreamy, magical, otherworldly serenity
  character:
    type: astronaut in a futuristic suit
    action: sleeping curled up on soft moss
    surroundings

prompt: "An astronaut sleeping peacefully on a mystical world, surrounded by colorful glowing flowers and ethereal creatures, evoking creative space magical vibes."
config:
  camera:
    angle: wide-shot
    movement: slow-pan across the landscape
  environment:
    setting: mystical alien world with floating islands
    elements: vibrant glowing flowers in hues of neon blue and purple, shimmering ethereal lights
    vibes: dreamy, magical, otherworldly serenity
  character:
    type: astronaut in a futuristic suit
    action: sleeping curled up on soft moss
    surroundings