แจก Prompt AI: สร้างภาพบุคคลบนยอดเขาเหมือนจริงจาก AI โดยใช้ใบหน้าอ้างอิงจากภาพถ่ายแค่ 1 ใบ

สร้างภาพบุคคลจากภาพถ่ายที่คุณมีด้วย AI เพียงแค่มีภาพใบหน้าอ้างอิงก็สามารถสร้างภาพเหมือนจริงได้แล้ว! บทความนี้จะมาแนะนำวิธีการสร้างภาพผู้หญิงสวยๆ บนยอดเขาที่มีทะเลหมอกในยามเช้าตรู่ ด้วยเทคนิคที่ง่ายและใครๆ ก็สามารถทำตามได้ พร้อมแจก AI Prompt และเคล็ดลับการสร้างภาพบุคคลให้ดูเป็นธรรมชาติและมีชีวิตชีวา บอกเลยว่าได้ภาพสวยๆ ไปใช้แน่นอน

AI PROMPT: PORTRAIT

Admin

10/3/20252 min read

เคยคิดไหมว่าภาพสวยๆ บนยอดเขาที่เต็มไปด้วยทะเลหมอกในยามเช้าที่เราเห็นกันในโซเชียลมีเดียอาจจะไม่ได้ถ่ายจากกล้องจริงเสมอไป? ยุคนี้อะไรๆ ก็เป็นไปได้ด้วยพลังของ AI ครับ! วันนี้เราจะมาเจาะลึกเบื้องหลังการสร้างภาพสุดอลังการแบบนี้กัน ตั้งแต่การเตรียมพร้อมไปจนถึงการป้อน Prompt ให้ AI เนรมิตภาพในฝันให้เป็นจริง และที่สำคัญคือเราจะมาดูกันว่าการสร้างภาพโดยใช้ ภาพอ้างอิง (Reference Image) นั้นทำได้อย่างไรบ้าง

Prompt ที่ใช้สร้างภาพนี้

"A candid full-body medium shot of a beautiful young Asian woman with the face of the second reference image. She is in her 20s and has long, wind-swept dark brown hair. She is standing on a mountain peak, overlooking a breathtaking sea of clouds and lush green mountains in the distance. The woman is wearing a relaxed, elegant off-the-shoulder white top with ruffled details. She has a gentle, warm smile on her face as she turns her head slightly towards the camera. The atmosphere is serene and natural, evoking a sense of peaceful adventure. The lighting is soft and warm, characteristic of the early morning golden hour, casting a gentle glow on her skin and hair. The background is slightly out of focus with a natural bokeh effect, emphasizing the woman as the central subject while still showcasing the stunning natural landscape. The color palette is dominated by warm, earthy tones with a vibrant mix of deep greens and soft, luminous whites. The composition is balanced, placing the subject slightly to the left to create a dynamic visual flow. The photo style is a realistic, cinematic outdoor portrait, captured with a professional-grade camera, full-frame sensor, using a wide aperture (f/1.8), and natural light. The final image has high dynamic range (HDR) with incredible detail and rich, saturated colors, like a masterpiece from a National Geographic photographer."

อธิบาย Prompt ทีละส่วนอย่างละเอียด

มาดูกันว่าแต่ละส่วนของ Prompt นี้มีความหมายและสำคัญอย่างไรในการสร้างภาพให้ได้ผลลัพธ์ตามที่เราต้องการ

  • A candid full-body medium shot of a beautiful young Asian woman with the face of the second reference image:

    • A candid full-body medium shot: กำหนดมุมมองของภาพให้เป็นภาพถ่ายแบบ Candid หรือภาพที่ดูเป็นธรรมชาติ ไม่มีการจัดท่าทางมากเกินไป และเป็นภาพครึ่งตัวถึงตัวแบบ

    • beautiful young Asian woman: บอก AI ว่าตัวแบบที่เราต้องการคือผู้หญิงเอเชียที่ดูสวยและอยู่ในวัยสาว

    • with the face of the second reference image: นี่คือส่วนสำคัญที่บอกให้ AI ใช้ ภาพใบหน้าอ้างอิง ที่เราอัปโหลดขึ้นไปเป็นต้นแบบในการสร้างใบหน้าของตัวแบบ ซึ่งจะช่วยให้ภาพที่ได้มีหน้าตาเหมือนกับบุคคลที่เราต้องการ

  • She is in her 20s and has long, wind-swept dark brown hair:

    • in her 20s: กำหนดช่วงอายุของตัวแบบให้ชัดเจน

    • long, wind-swept dark brown hair: อธิบายลักษณะและสีผมที่พริ้วไหวตามลม เพื่อเพิ่มความสมจริงและมีชีวิตชีวาให้กับภาพ

  • She is standing on a mountain peak, overlooking a breathtaking sea of clouds and lush green mountains in the distance:

    • standing on a mountain peak: กำหนดสถานที่หลักของภาพ

    • overlooking a breathtaking sea of clouds and lush green mountains in the distance: อธิบายทิวทัศน์เบื้องหลังที่ต้องการ ซึ่งจะช่วยให้ AI สร้างฉากหลังที่ยิ่งใหญ่และสวยงาม

  • The woman is wearing a relaxed, elegant off-the-shoulder white top with ruffled details:

    • off-the-shoulder white top with ruffled details: บอกรายละเอียดเสื้อผ้าที่ตัวแบบสวมใส่ ช่วยให้ภาพดูมีสไตล์และเข้ากับบรรยากาศ

  • She has a gentle, warm smile on her face as she turns her head slightly towards the camera:

    • gentle, warm smile: บอกการแสดงออกทางสีหน้าของตัวแบบ

    • turns her head slightly towards the camera: อธิบายท่าทางที่ดูเป็นธรรมชาติ

  • The atmosphere is serene and natural, evoking a sense of peaceful adventure:

    • serene and natural: กำหนดบรรยากาศโดยรวมของภาพให้ดูสงบและเป็นธรรมชาติ

    • evoking a sense of peaceful adventure: สร้างความรู้สึกที่ต้องการให้ผู้ชมสัมผัสได้จากภาพ

  • The lighting is soft and warm, characteristic of the early morning golden hour, casting a gentle glow on her skin and hair:

    • soft and warm, characteristic of the early morning golden hour: ส่วนนี้สำคัญมาก เพราะช่วยกำหนดทิศทางและโทนของแสงให้ดูอบอุ่นเหมือนช่วงพระอาทิตย์ขึ้น

  • The background is slightly out of focus with a natural bokeh effect, emphasizing the woman as the central subject while still showcasing the stunning natural landscape:

    • background is slightly out of focus: บอกให้ AI ทำฉากหลังให้เบลอเล็กน้อย

    • natural bokeh effect: เพิ่มเอฟเฟกต์โบเก้ที่ดูเป็นธรรมชาติ

    • emphasizing the woman as the central subject: บอกจุดประสงค์ของการเบลอฉากหลังคือเพื่อเน้นตัวแบบให้โดดเด่น

  • The color palette is dominated by warm, earthy tones with a vibrant mix of deep greens and soft, luminous whites:

    • warm, earthy tones: กำหนดโทนสีโดยรวมของภาพให้ดูอบอุ่น

    • vibrant mix of deep greens and soft, luminous whites: เพิ่มรายละเอียดสีของธรรมชาติและเสื้อผ้าให้ชัดเจนขึ้น

  • The composition is balanced, placing the subject slightly to the left to create a dynamic visual flow:

    • composition is balanced, placing the subject slightly to the left: บอกหลักการจัดองค์ประกอบภาพให้ดูน่าสนใจ ไม่ใช่การวางตัวแบบไว้ตรงกลางแบบทื่อๆ

  • The photo style is a realistic, cinematic outdoor portrait, captured with a professional-grade camera, full-frame sensor, using a wide aperture (f/1.8), and natural light. The final image has high dynamic range (HDR) with incredible detail and rich, saturated colors, like a masterpiece from a National Geographic photographer:

    • realistic, cinematic outdoor portrait: บอกสไตล์ของภาพที่ต้องการ

    • professional-grade camera, full-frame sensor, using a wide aperture (f/1.8), and natural light: จำลองการตั้งค่าของกล้องถ่ายภาพจริง เพื่อให้ได้ผลลัพธ์ที่มีคุณภาพสูง

    • high dynamic range (HDR) with incredible detail and rich, saturated colors: บอกคุณภาพของภาพขั้นสุดท้ายให้มีรายละเอียดและสีสันที่จัดจ้าน

    • like a masterpiece from a National Geographic photographer: คำนี้เป็นเหมือนคำสั่งสุดท้ายที่ทรงพลังมาก เพราะเป็นการบอก AI ให้ยกระดับคุณภาพของภาพให้เทียบเท่ากับภาพถ่ายระดับโลกจากช่างภาพมืออาชีพ

เคล็ดลับในการสร้างภาพโดยใช้ภาพอ้างอิง

การใช้ ภาพอ้างอิง ในการสร้างภาพบุคคลมีเทคนิคเล็กๆ น้อยๆ ที่จะช่วยให้ได้ผลลัพธ์ที่ดีขึ้น

  1. เลือกภาพอ้างอิงที่ชัดเจน: ภาพใบหน้าอ้างอิงควรมีความคมชัด เห็นรายละเอียดใบหน้าได้ชัดเจน ไม่เบลอ และไม่มีเงาบดบัง

  2. ท่าทางและมุมกล้องของภาพอ้างอิง: พยายามเลือกภาพที่มีมุมกล้องใกล้เคียงกับภาพที่เราต้องการจะสร้าง เช่น ถ้าอยากได้ภาพครึ่งตัวแบบหันหน้าตรง ควรใช้ภาพอ้างอิงที่มีมุมกล้องใกล้เคียงกัน

  3. ความสอดคล้องขององค์ประกอบ: แม้ว่า AI จะเก่งในการผสมผสาน แต่การที่เราใส่รายละเอียดของตัวแบบใน Prompt ให้สอดคล้องกับภาพอ้างอิงจะช่วยให้ผลลัพธ์ที่ได้ดูเป็นธรรมชาติมากขึ้น เช่น ถ้าภาพอ้างอิงเป็นคนผมยาว การใส่คำว่า long hair ใน Prompt ก็จะช่วยได้

  4. ใช้คำสั่งที่เจาะจง: คำว่า "with the face of the second reference image" เป็นคำสั่งที่สำคัญมาก อย่าลืมใส่เข้าไปใน Prompt ทุกครั้งที่คุณต้องการใช้ใบหน้าจากภาพอ้างอิง

การสร้างภาพด้วย AI ไม่ใช่เรื่องยากอีกต่อไป ยิ่งเราให้ Prompt ที่ละเอียดและชัดเจนเท่าไหร่ AI ก็จะยิ่งสร้างภาพได้ตรงใจเรามากขึ้นเท่านั้น และด้วยเทคโนโลยีการใช้ ภาพอ้างอิง ที่มีในปัจจุบัน ทำให้เราสามารถเนรมิตภาพในฝันที่มีใบหน้าของคนที่เราต้องการได้ง่ายๆ ลองนำเทคนิคและ Prompt นี้ไปปรับใช้สร้างสรรค์ผลงานของคุณเองกันดูนะครับ!

ภาพต้นฉบับ

ภาพได้จาก Gemini Imagen