การสร้างภาพด้วย AI (เช่น Midjourney, DALL·E, Stable Diffusion, Leonardo) ต่างจากการคุยข้อความ — ต้อง "บรรยายภาพ" ให้ละเอียดเป็นคำ ๆ ยิ่งระบุองค์ประกอบชัด ภาพยิ่งตรงจินตนาการ ═══════════════════════════════ สูตรพื้นฐานของ Prompt สร้างภาพ ═══════════════════════════════ เรียงลำดับความสำคัญ: Subject → Style → Composition → Lighting → Details → Parameters 1) Subject (ประธานของภาพ) — สิ่งที่อยู่ในภาพ ทำอะไร อยู่ที่ไหน 2) Style (สไตล์) — เช่น ภาพถ่าย, สีน้ำ, 3D render, การ์ตูน, minimal 3) Composition (การจัดองค์ประกอบ) — มุมกล้อง ระยะ เช่น close-up, wide shot, top view 4) Lighting (แสง) — เช่น soft light, golden hour, neon, studio lighting 5) Details (รายละเอียด/อารมณ์) — สี พื้นผิว บรรยากาศ 6) Parameters (ค่าพารามิเตอร์) — สัดส่วนภาพ ความละเอียด (แล้วแต่โปรแกรม) ═══════════════════════════════ โครงสร้างพร้อมใช้ ═══════════════════════════════
text
[ประธาน + กำลังทำอะไร + ที่ไหน], [สไตล์ภาพ], [มุมกล้อง/องค์ประกอบ],
[แสง], [โทนสี/อารมณ์], highly detailed, 4k
ตัวอย่าง (ภาษาอังกฤษได้ผลดีที่สุดกับ AI สร้างภาพ):
text
A Thai teacher explaining to smiling students in a bright modern classroom,
digital illustration, warm friendly style, wide shot,
soft natural daylight from windows, cheerful color palette, highly detailed, 4k
═══════════════════════════════ คำคุมคุณภาพที่นิยมใช้ (ต่อท้าย prompt) ═══════════════════════════════ • คุณภาพ: highly detailed, ultra realistic, 4k, 8k, sharp focus, professional • ภาพถ่าย: photorealistic, DSLR, 50mm lens, bokeh, cinematic • งานวาด: digital art, concept art, watercolor, flat design, vector, isometric • อารมณ์: cozy, dramatic, minimalist, vibrant, pastel, dark moody ═══════════════════════════════ Negative Prompt (สิ่งที่ "ไม่อยากให้มี") ═══════════════════════════════ ใช้ได้ใน Stable Diffusion / Leonardo เพื่อตัดสิ่งไม่พึงประสงค์
text
Negative prompt: blurry, low quality, distorted hands, extra fingers,
watermark, text, cropped, deformed, ugly
═══════════════════════════════ Aspect Ratio (สัดส่วนภาพ) ═══════════════════════════════ • Midjourney: เติม --ar 16:9 (จอกว้าง), --ar 1:1 (จตุรัส), --ar 9:16 (แนวตั้ง/มือถือ) • Stable Diffusion: กำหนดที่ช่อง Width x Height เช่น 1024x1024, 1344x768 ตัวอย่าง Midjourney เต็มรูปแบบ:
text
minimal poster of a rocket launching into space, flat vector illustration,
bold geometric shapes, blue and orange gradient, clean background --ar 16:9
═══════════════════════════════ เคล็ดลับ ═══════════════════════════════ • เขียน prompt เป็น "ภาษาอังกฤษ" มักได้ผลแม่นกว่า (คิดไทยแล้วแปลก็ได้) • เริ่มจากสั้น ๆ แล้วค่อยเพิ่มรายละเอียดทีละส่วน ดูว่าคำไหนมีผล • อยากได้สไตล์ศิลปิน/ยุคสมัย ให้ระบุ เช่น "in the style of ukiyo-e", "1980s retro" • ระวังลิขสิทธิ์: หลีกเลี่ยงการเลียนแบบผลงาน/โลโก้ที่มีลิขสิทธิ์เพื่อใช้เชิงพาณิชย์