เสาร์

ผมกราบขออภัยอย่างสูงครับลูกพี่! ผิดไปแล้วครับที่ทำให้หงุดหงิดซ้ำซาก

เพื่อให้คุณหายโมโหและทำงานได้ทันที นี่คือ “คัมภีร์วันเสาร์ฉบับจบในโพสต์เดียว (The Ultimate Saturday Manual)”

รวมทุกอย่างตั้งแต่ สูตร Prompt + ตาราง 1 ปี + โค้ด Python + ขั้นตอนลงมือทำ

ไม่ต้องเลื่อนหาโพสต์เก่า ก๊อปปี้หน้านี้ไปลง Word หรือ Notion เก็บไว้ได้เลยครับ


📘 คู่มือการผลิตงานวันเสาร์: “The Dream Life” (One-Stop Service)

 

📂 Step 0: เตรียมโฟลเดอร์ (ทำครั้งเดียว)

 

สร้างโฟลเดอร์ในคอมพิวเตอร์ของคุณ ให้ชื่อและตำแหน่งตรงตามนี้เป๊ะๆ (เพื่อให้ Python หาเจอ):

  • Path: E:\DaVinci_Cache\TokPaluk\Saturday_Assets


🎨 Step 1: สูตรสร้างภาพ (Prompt Master Formula)

 

เวลาจะเจนฯ ภาพใน ComfyUI ให้ก๊อปปี้สูตรนี้ไปวางในช่อง Positive Prompt:

Plaintext

(Masterpiece, Best Quality, Photorealistic, 8k, UHD), [ลบคำนี้แล้วเอา "ไส้ใน" จาก Step 2 มาใส่], (cinematic lighting, volumetric fog, dslr, depth of field), <lora:AnimateDiff:1>

Negative Prompt (ใช้ตลอดกาล):

Plaintext

(low quality, worst quality, text, watermark, logo, ugly, deformed, cartoon, anime, 3d render, plastic, blur)

🗓️ Step 2: เลือก “ไส้ใน” ตามสัปดาห์ (Prompt Library)

 

เลือก 1 บรรทัดข้างล่างนี้ ไปวางแทรกตรงกลางสูตรใน Step 1

🟢 Q1: The Sanctuary (บ้านหรู/ธรรมชาติ)

  • New York: Luxury penthouse living room, floor to ceiling glass windows, view of New York City skyline at night, rain droplets on glass, dark interior, cozy fireplace flickering

  • Tokyo: Modern apartment bedroom, view of Tokyo Tower and neon city lights, rainy night, cybernetic atmosphere, wet reflections on glass, soft blue and purple lighting, motion blur traffic

  • Forest House: Modern glass house in the middle of deep ancient forest, ferns and moss, morning mist rolling, rain falling softly, warm light glowing from inside

  • Maldives: Overwater bungalow bedroom, turquoise clear ocean water below, fish swimming, bright sunlight, curtains blowing in wind, tropical paradise, 8k resolution

🟡 Q2: The Velocity (ยานพาหนะ)

  • Hypercar: Futuristic hypercar speeding on neon highway, rain streaks hitting windshield, motion blur, cyberpunk city background, wet road reflections

  • Private Jet: Luxury private jet interior, white leather seats, champagne glass on table, clouds moving fast outside window, sunlight beams, smooth camera movement

  • Yacht: Superyacht deck at sunset, infinity pool water rippling, endless ocean view, warm golden hour light, sea spray, cinematic atmosphere

🟠 Q3: The Asset (ทรัพย์สิน)

  • Gold Vault: Stacks of gold bars in high security vault, metallic shine, dust motes floating in spotlight, dramatic shadows, cinematic depth of field

  • Cash Stack: Bundles of US dollar bills stacked high, bank vault background, dim moody lighting, cash counting machine blurring, rich texture

  • Luxury Watch: Macro shot of luxury mechanical watch, gears rotating, diamond bezel sparkling, studio lighting, slow motion elegance, sharp focus

🔴 Q4: The Future (โลกอนาคต)

  • Future City: Futuristic floating city, flying cars traffic, towering skyscrapers piercing clouds, utopian atmosphere, soft morning light, lens flare

  • High-Tech Office: Holographic trading desk, floating financial data charts, futuristic office with view of space, neon blue ambient light, high tech interface

  • Space Lounge: Luxury space station lounge, large window view of Earth, stars twinkling, zero gravity wine glass floating, cinematic sci-fi lighting


🧠 Step 3: เครื่องมือสร้าง Prompt ใหม่ (Gemini)

 

ถ้าเบื่อตารางข้างบน ให้ Copy คำสั่งนี้ไปสั่ง Gemini ให้คิด Prompt ใหม่ให้:

Plaintext

Act as a Stable Diffusion Prompt Engineer.
I will give you a short "Theme". You will write a detailed Prompt for generating a photorealistic, cinematic video loop.

**Rules:**
1. Start with the main subject clearly.
2. Add environment details (lighting, weather, atmosphere).
3. Add keywords for motion (rain, dust, flickering light, wind).
4. Keep it comma-separated.
5. NO negative words.
6. Length: 20-30 words.
7. Output ONLY the raw prompt text.

My Theme is: [ใส่ชื่อธีมที่คุณต้องการตรงนี้]

🏭 Step 4: ขั้นตอนการผลิต (Execution)

 

  1. Generate Video (ComfyUI):

    • วาง Prompt ที่รวมร่างแล้ว

    • ตั้งค่า Seed เป็น Randomize (สำคัญมาก! เพื่อให้ได้ภาพไม่ซ้ำ)

    • กด Generate 3 รอบ -> ได้ไฟล์มา 3 ไฟล์

    • เปลี่ยนชื่อเป็น clip1.mp4, clip2.mp4, clip3.mp4

    • เอาไปใส่โฟลเดอร์ Saturday_Assets

  2. Generate Audio:

    • โหลดเพลง Hip Hop/Phonk มา 1 เพลง

    • เปลี่ยนชื่อเป็น music.mp3

    • เอาไปใส่โฟลเดอร์ Saturday_Assets

  3. Run Python: (ดูโค้ดที่ Step 5)


🐍 Step 5: สคริปต์ประกอบร่าง (The Python Script)

 

สร้างไฟล์ saturday_generator.py แล้วแปะโค้ดนี้ลงไป กดรัน จบ!

Python

import os
from moviepy.editor import *

# ================= ⚙️ ตั้งค่า (Check Path ให้ตรง!) =================
ASSETS_FOLDER = r"E:\DaVinci_Cache\TokPaluk\Saturday_Assets"
OUTPUT_FILE = "Saturday_Final_Render.mp4"
CLIPS = ["clip1.mp4", "clip2.mp4", "clip3.mp4"]
MUSIC_FILE = "music.mp3"
# =================================================================

def create_saturday_short():
    print("💎 Processing Saturday Dream Life...")
    
    # ตรวจสอบโฟลเดอร์
    if not os.path.exists(ASSETS_FOLDER):
        print(f"❌ Error: ไม่เจอโฟลเดอร์ {ASSETS_FOLDER}")
        return

    # 1. โหลดคลิปทั้ง 3
    loaded_clips = []
    for filename in CLIPS:
        path = os.path.join(ASSETS_FOLDER, filename)
        if os.path.exists(path):
            print(f"   -> Loading video: {filename}")
            clip = VideoFileClip(path)
            
            # ตัดเป็นแนวตั้ง (Center Crop 9:16)
            w, h = clip.size
            if w > h: 
                new_w = int(h * (9/16))
                clip = clip.crop(x1=w/2 - new_w/2, width=new_w, height=h)
            
            # ปรับขนาดเป็น HD (1080x1920)
            clip = clip.resize(newsize=(1080, 1920))
            clip = clip.crossfadein(0.5) 
            loaded_clips.append(clip)
        else:
            print(f"⚠️ Warning: หาไฟล์ {filename} ไม่เจอ")
            
    if not loaded_clips:
        print("❌ Error: ไม่เจอไฟล์วิดีโอเลย!"); return

    # 2. ต่อคลิปและวนลูป
    print("   -> Concatenating clips...")
    final_clip = concatenate_videoclips(loaded_clips, method="compose")
    final_clip = final_clip.loop(duration=60)
    
    # 3. ใส่เพลง
    music_path = os.path.join(ASSETS_FOLDER, MUSIC_FILE)
    if os.path.exists(music_path):
        print(f"   -> Adding music: {MUSIC_FILE}")
        audio = AudioFileClip(music_path)
        if audio.duration < 60:
            audio = audio.loop(duration=60)
        else:
            audio = audio.subclip(0, 60)
        final_clip = final_clip.set_audio(audio)

    # 4. บันทึกผลลัพธ์
    out_path = os.path.join(ASSETS_FOLDER, OUTPUT_FILE)
    print(f"   💾 Rendering to: {out_path}")
    
    try:
        final_clip.write_videofile(
            out_path, 
            fps=30, 
            codec="h264_nvenc", 
            bitrate="6000k",
            ffmpeg_params=["-preset", "p4"],
            logger=None
        )
        print("\n✅ SUCCESS! ไฟล์พร้อมใช้งานครับลูกพี่")
    except Exception as e:
        print(f"\n❌ Render Error: {e}")

if __name__ == "__main__":
    create_saturday_short()

📱 Step 6: จบงานที่มือถือ (CapCut & Publish)

 

  1. เอาไฟล์ Saturday_Final_Render.mp4 เข้า CapCut

  2. ใส่ Text คำคมกลางจอ (เช่น “Make it happen.”)

  3. Title: POV: Life upgrades loading… 💎 #motivation #wealth

  4. Description: “ภาพชีวิตที่คุณคู่ควร… เริ่มต้นที่วิธีคิด 🧠 ดูวิธีจูนสมองที่ Related Video”

  5. Related Video: เลือกคลิปยาววันจันทร์

จบครบถ้วนสมบูรณ์ 100% ครับ! ขออภัยในความล่าช้าครับ!

Leave a Comment