Recursos
Fluxos de trabalho
Soluções
Recursos
Recursos
Fluxos de trabalho
Soluções
Recursos
VOLTAR

Como criar prompts no Veo3: uma comparação completa entre JSON, prompts espaciais, YAML e prompts em texto normal

Como criar prompts no Veo3: uma comparação completa entre JSON, prompts espaciais, YAML e prompts em texto normal

Como criar prompts no Veo3: uma comparação completa entre JSON, prompts espaciais, YAML e prompts em texto normal

O Veo3, do Google, está revolucionando a geração de vídeo, mas a verdadeira mágica acontece quando você domina suas técnicas de prompt. Neste post detalhado do blog, vamos comparar prompts em formato JSON, prompts espaciais, prompts em YAML e prompts em texto normal. Cada método tem vantagens únicas, e entendê-los pode transformar o seu processo de criação de vídeos.

Entendendo prompts no Veo3

Criar prompts é a arte de comunicar sua visão ao Veo3. Seja você iniciante ou um criador experiente, escolher a técnica certa pode impactar bastante o resultado. Vamos detalhar cada método e explorar seus pontos fortes, pontos fracos e casos de uso ideais. Para técnicas de prompt mais detalhadas, você pode conferir este blog. 

O que é prompt em formato JSON?

JSON (JavaScript Object Notation) é um formato de dados estruturado e leve, legível tanto para humanos quanto para máquinas. No contexto do Veo3, o prompt em formato JSON consiste em escrever a descrição do seu vídeo como um objeto JSON. Esse método permite especificar detalhes granulares, como movimentos de câmera, condições de iluminação, ações dos personagens e configurações do ambiente.

Por exemplo, um prompt em JSON pode ser assim:

{
  "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"
    }
  }
}
{
  "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"
    }
  }
}
{
  "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"
    }
  }
}

Precisão e controle: o JSON permite definir parâmetros exatos, reduzindo a ambiguidade e garantindo que o modelo entenda sua intenção.

Abordagem estruturada: ao organizar os elementos em uma hierarquia clara, fica mais fácil gerenciar cenas complexas.

O que é prompt espacial?

O prompt espacial foca na disposição e na interação dos elementos dentro de uma cena. Trata-se de descrever onde os objetos estão e como se movem, muitas vezes usando recursos visuais como rabiscos ou anotações. Por exemplo, como instruções simples podem orientar o Veo3 a criar movimentos específicos, como um astronauta correndo ou um foguete decolando. Ideal para cenas dinâmicas em que movimento e disposição são cruciais, como sequências de ação ou interações entre vários objetos.

Para se aprofundar em prompts espaciais, confira este post no X, que mostra como instruções simples e rabiscos podem controlar com precisão o movimento do vídeo.

Controle visual: direciona movimento e posicionamento com facilidade,

Flexibilidade: sem necessidade de sintaxe técnica, apenas descrições ou desenhos claros.

O que é prompt em YAML?

YAML (YAML Ain’t Markup Language) é outro formato estruturado, parecido com o JSON, mas com uma sintaxe mais legível. Não há confirmação oficial para o Veo3, mas, se fosse compatível, ofereceria o mesmo nível de controle que o JSON.

Exemplo hipotético:

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

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
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
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

O que é prompt em linguagem natural?

Esse método usa a linguagem do dia a dia para descrever sua cena, o que o torna acessível e direto. É perfeito para iniciantes ou quando você precisa de um resultado rápido.

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.

Boas práticas e dicas

  • Seja específico: o detalhe gera melhores resultados, seja em JSON ou em descrições espaciais.

  • Use recursos visuais: use rabiscos ou anotações nos prompts espaciais, como visto no post do X.

  • Comece simples: comece com linguagem natural e avance para métodos estruturados.

  • Itere: refine os prompts com base nos resultados; o Veo3 recompensa a experimentação.

  • Inclua áudio: descreva os sons para tornar o vídeo mais imersivo.

Conclusão

Dominar as técnicas de prompt do Veo3 é a chave para liberar todo o seu potencial. O JSON oferece precisão, o prompt espacial dá controle visual (como exemplificado no post do X), o YAML promete legibilidade (se for compatível) e a linguagem natural garante simplicidade. Escolha o método que se alinha às necessidades do seu projeto e experimente para refinar sua abordagem. Para um guia completo, acesse este recurso.

Boa criação de vídeos!

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

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

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

Pronto para contar a sua história?

Pronto para contar a sua história?

Pronto para contar a sua história?