Video & Character
เขียนบทวิดีโอด้วย AI Studio, เทคนิค Character Reference ใน Midjourney ให้หน้าตัวละครคงที่
เขียนบทวิดีโอด้วย AI Studio, เทคนิค Character Reference ใน Midjourney ให้หน้าตัวละครคงที่
ออกแบบตัวละครหลักสำหรับ Final Project (5 ท่าทาง) และเขียน Storyboard
เป้าหมายการเรียนรู้
- เข้าใจเทคโนโลยี AI Video Generation ในปัจจุบัน
- สามารถใช้ Character Reference เพื่อรักษาความสม่ำเสมอของตัวละคร
- ออกแบบ Storyboard สำหรับการสร้างวิดีโอด้วย AI
- สร้างวิดีโอสั้นจาก AI ได้อย่างมีคุณภาพ
AI Video Generation — ยุคใหม่ของการสร้างวิดีโอ
AI สามารถสร้างวิดีโอจากข้อความหรือภาพได้แล้ว จากที่เคยต้องใช้ทีมงาน อุปกรณ์ราคาแพง และเวลาหลายสัปดาห์ ตอนนี้คนคนเดียวสามารถสร้างวิดีโอคุณภาพสูงได้ภายในไม่กี่นาที
| เครื่องมือ | ประเภท | จุดเด่น | ความยาวต่อคลิป |
|---|---|---|---|
| Kling AI | Text/Image-to-Video | คุณภาพสูง ท่าทางสมจริง | 5-10 วินาที |
| Runway Gen-3 | Text/Image-to-Video | ควบคุมกล้องได้ดี | 5-10 วินาที |
| Pika | Text/Image-to-Video | ใช้ง่าย มีเอฟเฟกต์เด่น | 3-5 วินาที |
| Luma Dream Machine | Image-to-Video | เคลื่อนไหวเป็นธรรมชาติ | 5 วินาที |
| Veo 2 (Google) | Text-to-Video | คุณภาพสูงมาก | 5-10 วินาที |
| Sora (OpenAI) | Text-to-Video | สร้างฉากซับซ้อนได้ | 5-20 วินาที |
- คลิปยังสั้น (3-20 วินาที ต่อ Generation)
- ยังมีข้อผิดพลาดบ้าง เช่น นิ้วมือ ฟิสิกส์ผิดธรรมชาติ
- ต้องตัดต่อหลายคลิปเข้าด้วยกันเพื่อทำวิดีโอยาว
- คุณภาพดีขึ้นอย่างรวดเร็ว ทุก 3-6 เดือนมีโมเดลใหม่
Character Reference — รักษาตัวละครให้สม่ำเสมอ
ปัญหาใหญ่ของ AI Image/Video คือตัวละครที่สร้างหน้าตาเปลี่ยนทุกครั้งที่ Generate ใหม่ Character Reference คือเทคนิคที่ช่วยให้ AI สร้างภาพหรือวิดีโอ โดยรักษาหน้าตาและลักษณะของตัวละครให้คงที่
สร้างภาพ A flat design infographic demonstrating Character Reference consistency. Shows a central 'Reference Image' of a character portrait in a highlighted frame. Arrows point from this reference to 5 different scene variations of the same character: sitting in a cafe, walking in a park, studying at a library, cooking in a kitchen, traveling at a beach. All variations maintain the same face and features but different poses, outfits, and backgrounds. A label shows '--cref' command. The consistency is emphasized with checkmarks. Clean modern educational style with soft colors. (character_reference_consistency.jpg)
A flat design infographic demonstrating Character Reference consistency. Shows a central 'Reference Image' of a character portrait in a highlighted frame. Arrows point from this reference to 5 different scene variations of the same character: sitting in a cafe, walking in a park, studying at a library, cooking in a kitchen, traveling at a beach. All variations maintain the same face and features but different poses, outfits, and backgrounds. A label shows '--cref' command. The consistency is emphasized with checkmarks. Clean modern educational style with soft colors.
วิธีการทำ Character Reference
| วิธี | เครื่องมือ | ความยากง่าย | คุณภาพ |
|---|---|---|---|
| --cref (Midjourney) | Midjourney v6+ | ง่าย | สูงมาก |
| IP Adapter | ComfyUI, Leonardo | ปานกลาง | สูง |
| Face Swap | InsightFace, Remaker | ง่าย | ปานกลาง-สูง |
| LoRA Training | Civitai, Kohya | ยาก | สูงมาก |
| Reference Image | Kling, Runway | ง่าย | ปานกลาง |
Midjourney --cref (Character Reference)
Midjourney มีฟีเจอร์ --cref ที่ช่วยให้ สามารถอ้างอิงภาพตัวละครเพื่อรักษาความสม่ำเสมอ เป็นวิธีที่ง่ายและได้ผลลัพธ์ดีที่สุดวิธีหนึ่ง
# สร้างภาพตัวละครต้นแบบก่อน
/imagine a young Thai woman, casual outfit, warm smile,
studio portrait, photorealistic --ar 2:3 --v 6.1
# ใช้ --cref อ้างอิงตัวละครเดิม
/imagine [ตัวละครเดิม] walking in a Thai market,
golden hour lighting --cref [URL ภาพต้นแบบ] --cw 100 --ar 16:9
# --cw (Character Weight) ควบคุมความเหมือน
# --cw 100 = เหมือนมากที่สุด (Default)
# --cw 0 = แค่อ้างอิงหน้า ท่าทางอิสระ
# ตัวอย่างสร้างหลายฉาก
/imagine [ตัวละคร] studying at a library --cref [URL] --cw 80
/imagine [ตัวละคร] cooking in a modern kitchen --cref [URL] --cw 80
/imagine [ตัวละคร] traveling at the beach --cref [URL] --cw 80- ภาพต้นแบบควรเห็นหน้าชัดเจน มุมตรง แสงดี
- ใช้ --cw 100 เมื่อต้องการให้เหมือนมากที่สุด
- ลด --cw ลงเมื่อต้องการให้เปลี่ยนเสื้อผ้า/ทรงผม
- สามารถใช้ --cref หลายภาพพร้อมกันได้
- ทำงานได้ดีที่สุดกับ Midjourney v6 ขึ้นไป
Storyboard — วางแผนก่อนสร้างวิดีโอ
Storyboard คือการวางแผนภาพต่อเนื่องเพื่อกำหนดลำดับเหตุการณ์ มุมกล้อง และรายละเอียดของแต่ละฉาก ก่อนลงมือสร้างวิดีโอจริง ช่วยให้ทำงานได้อย่างเป็นระบบ และลดเวลาในการลองผิดลองถูก
สร้างภาพ A flat design infographic showing a storyboard layout example for AI video production. A grid of 6 panels (2 rows x 3 columns) representing scenes of a short advertisement. Each panel contains: a simple sketch/placeholder image, scene number (Scene 1-6), camera angle notation (Wide, Close-up, Medium), duration (3s, 5s), and a brief description below. Arrows between panels show sequence flow. Side annotations show: audio track (music waveform), voiceover timing, and transition types. Film strip decoration on edges. Clean modern design with light gray panel backgrounds and orange accent highlights. (storyboard_layout_example.jpg)
A flat design infographic showing a storyboard layout example for AI video production. A grid of 6 panels (2 rows x 3 columns) representing scenes of a short advertisement. Each panel contains: a simple sketch/placeholder image, scene number (Scene 1-6), camera angle notation (Wide, Close-up, Medium), duration (3s, 5s), and a brief description below. Arrows between panels show sequence flow. Side annotations show: audio track (music waveform), voiceover timing, and transition types. Film strip decoration on edges. Clean modern design with light gray panel backgrounds and orange accent highlights.
โครงสร้าง Storyboard สำหรับ AI Video
| องค์ประกอบ | คำอธิบาย | ตัวอย่าง |
|---|---|---|
| หมายเลขฉาก | ลำดับของฉาก | Scene 1, Scene 2, ... |
| คำอธิบายฉาก | สิ่งที่เกิดขึ้นในฉาก | ตัวละครเดินเข้าร้านกาแฟ |
| มุมกล้อง | มุมที่ถ่าย | Wide shot, Close-up, POV |
| การเคลื่อนกล้อง | กล้องเคลื่อนที่อย่างไร | Pan left, Zoom in, Static |
| Prompt สำหรับภาพ | Prompt ที่ใช้สร้างภาพฉาก | Midjourney/Leonardo Prompt |
| Prompt สำหรับวิดีโอ | Prompt ที่ใช้แปลงเป็นวิดีโอ | Kling/Runway Prompt |
| เสียง/เพลง | เสียงประกอบฉาก | เพลงบรรเลงเบาๆ, เสียงฝีเท้า |
| ระยะเวลา | ความยาวของฉาก | 3 วินาที, 5 วินาที |
ตัวอย่าง Storyboard
Scene 1 (0:00 - 0:05) — Establishing Shot
ภาพ: ร้านกาแฟน่ารักในตรอกเมืองเก่า ช่วงเช้า แสงทอง
กล้อง: Wide Shot, Slow Zoom In
เสียง: เสียงนกร้อง เพลง Acoustic เบาๆ
Prompt: "Cozy Thai coffee shop in old town alley,
golden morning light, wide angle --ar 16:9"
Scene 2 (0:05 - 0:10) — การชง
ภาพ: มือบาริสต้าชงกาแฟ Pour Over น้ำไหลผ่านกรอง
กล้อง: Close-up, Top-down view
เสียง: เสียงน้ำหยด เพลงต่อเนื่อง
Prompt: "Close-up hands pouring hot water over coffee filter,
pour over brewing, steam rising --ar 16:9"
Scene 3 (0:10 - 0:15) — ลาเต้อาร์ต
ภาพ: เทนมลงในกาแฟ สร้างลาเต้อาร์ตรูปใบไม้
กล้อง: Close-up, Slight tilt
เสียง: เสียงเทนม เพลงต่อเนื่อง
Prompt: "Latte art being poured, leaf pattern forming,
warm cafe lighting, close-up --ar 16:9"
Scene 4 (0:15 - 0:22) — ลูกค้า
ภาพ: ลูกค้ายิ้มรับกาแฟ นั่งดื่มข้างหน้าต่าง
กล้อง: Medium Shot, Soft Focus Background
เสียง: เพลงเข้มขึ้นเล็กน้อย
Prompt: "[Character] receiving coffee, sitting by window,
warm smile, natural light --cref [URL] --ar 16:9"
Scene 5 (0:22 - 0:30) — โลโก้ + CTA
ภาพ: โลโก้ร้าน พร้อมข้อความ "มาลิ้มรสเช้าที่แท้จริง"
กล้อง: Static, Fade In
เสียง: เพลงจบ มีเสียง Chime- 1วางแผน Storyboard — กำหนดฉาก มุมกล้อง เนื้อหา
- 2สร้าง Character Reference — ใช้ Midjourney --cref สร้างตัวละครที่คงที่
- 3สร้างภาพแต่ละฉาก — ใช้ Midjourney/Leonardo สร้างภาพ Keyframe
- 4แปลงเป็นวิดีโอ — ใช้ Kling/Runway แปลงภาพเป็นวิดีโอ
- 5สร้างเพลง/เสียง — ใช้ Suno สร้าง BGM, ElevenLabs สร้างเสียงพากย์
- 6ตัดต่อ — ใช้ CapCut รวมทุกอย่างเข้าด้วยกัน
เทคนิคการเขียน Prompt สำหรับ AI Video
| องค์ประกอบ | ตัวอย่าง | ทำไมถึงสำคัญ |
|---|---|---|
| Subject | a young woman, a cat, a city | กำหนดสิ่งที่ปรากฏในฉาก |
| Action | walking, dancing, running | กำหนดการเคลื่อนไหว |
| Setting | in a park, on a rooftop, underwater | กำหนดสถานที่ |
| Camera Motion | pan right, zoom in, orbit around | กำหนดการเคลื่อนกล้อง |
| Lighting | golden hour, neon lights, soft ambient | กำหนดบรรยากาศ |
| Style | cinematic, anime, documentary | กำหนดสไตล์ภาพ |
# ฉากธรรมชาติ
"A serene Thai temple reflected in a still pond at sunrise,
golden light, mist rising, camera slowly pans right,
cinematic 4K quality"
# ฉากเมือง
"Bustling Bangkok street food market at night,
neon signs glowing, steam rising from cooking pots,
camera moves through the crowd, POV perspective"
# ฉากตัวละคร (ใช้ภาพ Reference)
"[Upload Reference Image] The character turns around and smiles,
cherry blossoms falling, soft focus background,
slow motion, warm color grading"กิจกรรมปฏิบัติ
วาง Storyboard และสร้างวิดีโอสั้น 30 วินาที โดยใช้ Character Reference เพื่อรักษาตัวละครให้สม่ำเสมอ
เครื่องมือที่ใช้ในบทเรียนนี้
| เครื่องมือ | ลิงก์ | ใช้ทำอะไร |
|---|---|---|
| Midjourney | midjourney.com | สร้างภาพ + Character Reference |
| Kling AI | klingai.com | แปลงภาพเป็นวิดีโอ |
| Runway | runwayml.com | แปลงภาพเป็นวิดีโอ |
| CapCut | capcut.com | ตัดต่อวิดีโอ |
| Suno | suno.com | สร้างเพลงประกอบ |
--cref ใน Midjourney ใช้ทำอะไร?
ทำไม Storyboard ถึงสำคัญสำหรับการสร้างวิดีโอ AI?

