Skip to main content

Prompt Writing Techniques

Basic Principles

Be Specific

Describe scenes, actions, lighting and other details in detail

Clear Structure

Organize in the order of “subject → action → environment → style”

Avoid Ambiguity

Use clear vocabulary, avoid vague or ambiguous words

Control Length

Keep between 50-200 characters, not too short or verbose

Excellent Prompt Examples

  • Natural Scenes
  • Character Scenes
  • Abstract Concepts
Recommended:
Avoid:
Key Points:
  • Described subject (orange kitten)
  • Specific action (chasing butterflies)
  • Environmental details (grass, sunlight, leaves)
  • Visual effects (depth of field, lighting)
Recommended:
Avoid:
Key Points:
  • Character features (young woman)
  • Clothing and props (red raincoat, transparent umbrella)
  • Environmental atmosphere (rainy night, neon lights)
  • Artistic style (cinematic feel, slow motion)
Recommended:
Avoid:
Key Points:
  • Color description (golden, deep blue)
  • Movement pattern (spreading outward, rotating and rising)
  • Artistic style (fluid animation)
  • Visual effects (glow)

Image-to-Video Best Practices

Image Selection Requirements

Image Quality Requirements:
  • Resolution: Recommended 1024x1024 or higher
  • Format: JPEG, PNG, WebP
  • Size: Not exceeding 10MB per image
  • Clarity: Avoid blurry or low-quality images

Single Image Generation

Use a single image as the starting frame to generate video:
Single Image Prompt Tips:
  • Describe desired actions and changes
  • Specify magnitude and speed of movements
  • Indicate which elements should remain static

Two-Image Transition

Use two images to generate smooth transition video:
Two-Image Transition Tips:
  • Choose two images with similar characteristics
  • Specify transition method in prompt (fade, slide, morph, etc.)
  • Keep lighting and color tone consistent between images

Model Selection Strategy

Choose Based on Scenario

Text Generation Scenarios Scenarios without image referenceRecommended models:
  • veo-3.1: Standard quality, suitable for most scenarios
  • veo-3.1-fast: Quick testing, reduce costs
Example scenarios:
  • Fully creative content
  • Abstract concept visualization
  • No specific visual reference needed
Image Reference Scenarios Scenarios requiring image-based generationRecommended models:
  • veo-3.1-fl: Standard image-to-video (supports 1-2 image inputs)
  • veo-3.1-fast-fl: Fast image-to-video (supports 1-2 image inputs)
Example scenarios:
  • Bring static images to life
  • Smooth transitions between two images
  • Generate animations based on reference images
Important: Only models with fl suffix support image input functionality Landscape Professional Production Professional landscape format requirementsRecommended models:
  • veo-3.1-landscape: Landscape text-to-video
  • veo-3.1-landscape-fast: Fast landscape
  • veo-3.1-landscape-fl: Landscape image-to-video
  • veo-3.1-landscape-fast-fl: Fast landscape image-to-video
Example scenarios:
  • Film production preview
  • Commercial advertisements
  • Widescreen content

Cost Optimization Strategy

  • Testing Phase
  • Production Phase
  • Batch Processing
Goal: Quickly validate ideas, reduce costsStrategy:
Applicable:
  • Prompt testing
  • Concept validation
  • Rapid iteration
Goal: Obtain high-quality resultsStrategy:
Applicable:
  • Final delivery
  • Client presentations
  • Official release
Goal: Balance quality and costStrategy:
Applicable:
  • Large-scale content production
  • A/B testing
  • Dataset construction

Common Scenario Optimization

Action Description

Clear Verbs

Use specific verbs: “run”, “jump”, “rotate”Avoid: “move”, “change” and other vague words

Speed Control

Specify speed: “fast”, “slow”, “constant speed”Example: “Bird rapidly flapping wings”

Direction Indication

Clear direction: “leftward”, “upward”, “clockwise”Example: “Camera panning from left to right”

Magnitude Description

Specify magnitude: “slight”, “intense”, “large amplitude”Example: “Leaves swaying gently”

Lighting Effects

Camera Movement

  • Fixed Position
  • Push/Pull
  • Orbit
  • Follow Shot

Batch Generation Strategy

Using n Parameter

Generate multiple variants for selection:
n parameter recommendations:
  • Testing phase: n=1-2
  • Important projects: n=2-4
  • Cost-sensitive: n=1

Concurrent Requests

Quality Improvement Tips

Increase Detail Levels

1 Basic Description First describe core subject and actionExample: “A cat walking” 2 Add Environment Include scene and background informationExample: “A cat walking on grass, forest background” 3 Enrich Details Add lighting, color, textureExample: “An orange cat elegantly walking on green grass, sunlight filtering through leaves creating dappled shadows, blurred forest background” 4 Artistic Style Specify visual style and effectsExample: “An orange cat elegantly walking on green grass, sunlight filtering through leaves creating dappled shadows, blurred forest background, cinematic color grading, shallow depth of field effect”

Style Reference

Common Mistakes to Avoid

**Common errors:**❌ Prompt too brief
❌ Contains contradictory information
❌ Overly complex
❌ Using vague vocabulary

Performance Optimization

Streaming Processing Best Practices

Timeout Handling

Next Steps

Code Examples

View complete implementation code

Troubleshooting

Having issues? Check solutions