AI VideoPrompt Engineeringเทคนิค AIคำแนะนำ

วิธีเขียน Prompt สร้างวิดีโอ AI ให้ได้ผลลัพธ์ตรงใจ

เทคนิคการเขียน prompt สำหรับ AI Video Generator ตั้งแต่พื้นฐานจนถึงขั้นสูง พร้อมตัวอย่าง prompt ที่ใช้งานได้จริง

AI Unlocked Team
10/03/2568
วิธีเขียน Prompt สร้างวิดีโอ AI ให้ได้ผลลัพธ์ตรงใจ

วิธีเขียน Prompt สร้างวิดีโอ AI ให้ได้ผลลัพธ์ตรงใจ

หลายคนพบว่าการสร้างวิดีโอด้วย AI ได้ผลลัพธ์ไม่ตรงใจ บางทีก็ดี บางทีก็แปลกๆ ความลับอยู่ที่ การเขียน prompt ค่ะ! วันนี้เราจะมาเรียนรู้วิธีเขียน prompt สำหรับ AI Video ให้ได้ผลลัพธ์ที่ดีกัน

ทำไม Prompt ถึงสำคัญ?

AI Video Generator อ่าน prompt ของคุณแล้วพยายามสร้างวิดีโอตามที่บอก ถ้า prompt ไม่ชัดเจน AI ก็จะ "เดา" เอง ซึ่งมักไม่ตรงใจ

Prompt ที่ดี = ผลลัพธ์ที่ดี

โครงสร้างของ Prompt ที่ดี

Basic Structure

[Subject] + [Action] + [Setting] + [Style] + [Camera]

ตัวอย่าง:

A woman (Subject) walking slowly (Action) through a misty forest (Setting), cinematic lighting (Style), tracking shot (Camera)

Expanded Structure

[Subject Description] + [Action/Motion] + [Environment/Setting] + [Lighting] + [Mood/Atmosphere] + [Style] + [Camera Movement] + [Quality Keywords]

ตัวอย่าง:

A young woman with long flowing red hair wearing a white summer dress, walking gracefully along a beach at sunset, golden hour lighting with soft shadows, peaceful and serene atmosphere, photorealistic cinematic style, slow tracking shot following from the side, high quality, 4K

องค์ประกอบของ Prompt

1. Subject (ตัวแบบ)

บอกให้ละเอียด:

  • ใครหรืออะไร?
  • ลักษณะทางกายภาพ?
  • กำลังแต่งตัวยังไง?
  • อารมณ์/สีหน้าเป็นอย่างไร?

ตัวอย่าง:

❌ "A woman"
✅ "A young Asian woman in her 20s with long black hair, wearing a blue business suit, confident expression"
❌ "A car"
✅ "A red vintage 1967 Ford Mustang convertible, freshly polished, chrome details gleaming"

2. Action (การกระทำ)

บอกว่าทำอะไรและทำอย่างไร:

  • กริยาที่ชัดเจน
  • ความเร็ว (slowly, quickly)
  • ลักษณะการเคลื่อนไหว

ตัวอย่าง:

❌ "walking"
✅ "walking slowly and gracefully, her dress flowing in the gentle breeze"
❌ "dancing"
✅ "dancing energetically, spinning with arms outstretched, hair flowing wildly"

3. Setting/Environment (สถานที่)

บอกว่าอยู่ที่ไหน:

  • สถานที่
  • เวลา (กลางวัน/กลางคืน)
  • สภาพอากาศ
  • องค์ประกอบรอบข้าง

ตัวอย่าง:

❌ "in a city"
✅ "in a busy Tokyo street at night, neon signs glowing, rain-wet pavement reflecting lights"
❌ "in nature"
✅ "in a dense tropical rainforest, sunlight streaming through the canopy, mist rising from the ground"

4. Lighting (แสง)

Keywords ที่ใช้บ่อย:

  • golden hour - แสงยามเย็น สีทองอบอุ่น
  • soft lighting - แสงนุ่มนวล
  • dramatic lighting - แสงดราม่า contrast สูง
  • backlit - แสงด้านหลัง
  • natural lighting - แสงธรรมชาติ
  • studio lighting - แสงสตูดิโอ
  • neon lights - แสงนีออน
  • candlelight - แสงเทียน
  • moonlight - แสงจันทร์

5. Mood/Atmosphere (อารมณ์)

Keywords:

  • peaceful, serene - สงบ
  • mysterious, eerie - ลึกลับ
  • romantic - โรแมนติก
  • energetic, dynamic - มีชีวิตชีวา
  • melancholic, sad - เศร้า
  • epic, grand - ยิ่งใหญ่
  • cozy, warm - อบอุ่น
  • tense, suspenseful - ตึงเครียด

6. Style (สไตล์)

Keywords:

  • cinematic - แบบหนัง
  • documentary - สารคดี
  • anime - อนิเมะ
  • photorealistic - เหมือนจริง
  • fantasy - แฟนตาซี
  • sci-fi - ไซไฟ
  • noir - ฟิล์มนัวร์
  • vintage - วินเทจ
  • modern, contemporary - ทันสมัย

7. Camera Movement (การเคลื่อนที่กล้อง)

Keywords:

  • static shot - กล้องนิ่ง
  • tracking shot - กล้องตาม subject
  • pan left/right - กล้องแพนซ้าย/ขวา
  • tilt up/down - กล้องเงยขึ้น/ก้มลง
  • zoom in/out - ซูมเข้า/ออก
  • dolly shot - กล้องเคลื่อนเข้า/ออก
  • orbit shot - กล้องวนรอบ
  • aerial shot - มุมสูง/drone
  • POV shot - มุมมองบุคคลที่ 1
  • handheld - กล้องแบบถือมือ (สั่นเล็กน้อย)

8. Quality Keywords

เพิ่มคุณภาพ:

  • high quality
  • 4K
  • detailed
  • sharp focus
  • professional
  • masterpiece

ตัวอย่าง Prompt แบ่งตามประเภท

Realistic/Cinematic

"A handsome man in a tailored gray suit standing on a rooftop overlooking the city at dusk, wind gently moving his hair, city lights beginning to glow below, golden hour lighting, contemplative expression, cinematic film grain, slow camera push in, photorealistic, high quality"

Nature/Landscape

"Majestic waterfall cascading into a crystal clear pool in a lush tropical forest, mist rising from the impact, rainbow forming in the spray, morning sunlight filtering through the canopy, peaceful atmosphere, slow motion water, drone shot slowly descending, National Geographic style, 4K"

Fantasy/Magical

"A mystical phoenix rising from flames in slow motion, vibrant orange and red feathers glowing with magical energy, sparks and embers swirling around, dramatic dark background, ethereal lighting, fantasy epic style, camera orbiting around the creature, detailed feathers, magical particles"

Product/Commercial

"A luxury gold watch rotating slowly on a black marble surface, studio lighting with soft reflections, water droplets on the glass face catching the light, premium product photography style, shallow depth of field, extreme close-up with smooth rotation, commercial quality"

Action/Dynamic

"A professional skateboarder performing a kickflip in slow motion in an urban environment, sunset backlighting creating silhouette effect, concrete skatepark with graffiti walls, dynamic motion blur on the board, street photography style, tracking shot following the action, high frame rate, cinematic"

Anime/Illustration

"Anime girl with pink twin tails and big sparkling eyes, wearing a magical girl costume with ribbons, casting a spell with glowing hands, sparkles and magical effects surrounding her, sakura petals floating, anime style with vibrant colors, dynamic pose, camera zoom out revealing full scene"

เทคนิคขั้นสูง

1. ใช้ Negative Prompt (ถ้า tool รองรับ)

บอก AI ว่าไม่ต้องการอะไร:

Negative: blurry, low quality, distorted, ugly, deformed hands

2. อ้างอิง Style จากสิ่งที่รู้จัก

"...in the style of a Christopher Nolan film"
"...Pixar animation style"
"...like a high-end perfume commercial"
"...documentary style like Planet Earth"

3. ระบุ Aspect Ratio

"...16:9 cinematic aspect ratio"
"...9:16 vertical format for TikTok"
"...1:1 square format"

4. ใส่ Technical Details

"...shot on anamorphic lens with subtle lens flare"
"...shallow depth of field, f/1.4"
"...35mm film aesthetic with grain"

5. ระบุ Duration/Speed

"...in slow motion"
"...timelapse"
"...real time speed"
"...speed ramping from slow to fast"

Common Mistakes ที่ควรหลีกเลี่ยง

1. Prompt สั้นเกินไป

❌ "A cat"
✅ "A fluffy orange tabby cat sitting on a windowsill, looking out at falling snow, cozy indoor lighting, peaceful mood, slow subtle breathing motion, static shot with soft focus on background"

2. ขัดแย้งกันเอง

❌ "A person standing still while running fast"
✅ "A person standing still, then begins to run quickly"

3. เป็นไปไม่ได้ทางฟิสิกส์

AI จะพยายามทำตาม แต่ผลลัพธ์มักแปลก:

❌ "A person flying without wings in a realistic setting"
✅ "A person jumping gracefully, suspended in mid-air, slow motion"

4. คลุมเครือเกินไป

❌ "Something beautiful happening"
✅ "A butterfly emerging from a chrysalis, wings slowly unfolding, morning sunlight illuminating translucent wings"

Template Prompt ที่ใช้ได้เลย

Template 1: Person/Portrait

A [age] [gender] with [hair description] wearing [clothing], [action/pose] in [location] at [time of day], [lighting], [mood] atmosphere, [style], [camera movement], [quality keywords]

Template 2: Nature/Landscape

[Natural element] in [location type], [weather/time], [lighting], [atmosphere], [style], [camera movement], [quality keywords]

Template 3: Product

[Product] [position/movement] on [surface], [lighting setup], [style], [camera angle/movement], [quality keywords]

Template 4: Action/Dynamic

[Subject] [dynamic action] in [location], [lighting], [motion effect], [style], [camera technique], [quality keywords]

สรุป

การเขียน prompt ที่ดีต้องมี:

  1. Subject - ชัดเจนว่าใคร/อะไร
  2. Action - ทำอะไร เคลื่อนไหวยังไง
  3. Setting - อยู่ที่ไหน เมื่อไหร่
  4. Lighting - แสงแบบไหน
  5. Mood - อารมณ์/บรรยากาศ
  6. Style - สไตล์ภาพรวม
  7. Camera - กล้องเคลื่อนไหวยังไง
  8. Quality - keywords เพิ่มคุณภาพ

ยิ่งละเอียด ยิ่งได้ผลลัพธ์ตรงใจ!


อยากเรียนรู้ Prompt Engineering สำหรับ AI Video?

ถ้าคุณอยากเรียนรู้เทคนิคการเขียน prompt สำหรับ AI Video และเครื่องมือ AI อื่นๆ อย่างเจาะลึก เรามีคอร์ส AI ที่สอน AI เชียงใหม่ แบบลงมือปฏิบัติจริง มี workshop ให้ฝึกเขียน prompt กับผู้เชี่ยวชาญค่ะ

👉 ดูรายละเอียดคอร์สสอน AI ได้ที่นี่

เขียนโดย

AI Unlocked Team

บทความอื่นๆ ที่น่าสนใจ