สร้างวิดีโอ AI ด้วย Codex
เชื่อม Codex กับ Yoh แล้วให้มันผลิตวิดีโอเรื่องราวจากเทอร์มินัลหรือ editor ของคุณ ตั้งแต่บท นักแสดง คลิป เสียงพากย์ ซับไตเติล ไปจนถึงเรนเดอร์ขั้นสุดท้าย โดยแสดงราคาและรอการอนุมัติก่อนทุกขั้นตอนที่มีค่าใช้จ่าย
เชื่อม Codex
เพิ่ม server แล้วล็อกอิน
ใช้ได้ใน Codex CLI, IDE extension และแอป ChatGPT เดสก์ท็อป ล็อกอิน Yoh ในเบราว์เซอร์ที่เปิดขึ้นมา
codex mcp add yoh --url https://www.yoh.app/api/mcp codex mcp login yohเผื่อเวลาให้ขั้นตอนที่นาน
บางขั้นตอนของ Yoh ใช้เวลาหลายนาที ตั้ง tool timeout เป็น 300 วินาที แล้วรีสตาร์ต Codex
~/.codex/config.toml[mcp_servers.yoh] url = "https://www.yoh.app/api/mcp" tool_timeout_sec = 300 startup_timeout_sec = 20เพิ่ม Yoh skill (แนะนำ)
skill (SKILL.md พร้อมไฟล์อ้างอิงและสคริปต์ช่วย ติดตั้งเป็นโฟลเดอร์เดียว) สอน agent ให้สร้างเรื่องบน Yoh ได้ดี: เริ่มในซีรีส์ ขอราคาก่อนใช้เครดิต และดูคลิปจริงก่อนตัดสิน skill อัปเดตตาม server อยู่เสมอ ใน Codex เรียกใช้ด้วย $yoh
( set -eu skill_dir="$HOME/.agents/skills/yoh" if [ -e "$skill_dir" ]; then printf '%s\n' 'Yoh skill already exists. Use the setup prompt to check or update it.' >&2 exit 1 fi mkdir -p "$skill_dir/references" "$skill_dir/scripts" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/SKILL.md' --output "$skill_dir/SKILL.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/browser-workflow.md' --output "$skill_dir/references/browser-workflow.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/checking-clips.md' --output "$skill_dir/references/checking-clips.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/common-jobs.md' --output "$skill_dir/references/common-jobs.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/editing-clips.md' --output "$skill_dir/references/editing-clips.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/errors-and-refusals.md' --output "$skill_dir/references/errors-and-refusals.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/generation-and-pricing.md' --output "$skill_dir/references/generation-and-pricing.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/gotchas.md' --output "$skill_dir/references/gotchas.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/hires-ads-publishing.md' --output "$skill_dir/references/hires-ads-publishing.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/lines-and-voices.md' --output "$skill_dir/references/lines-and-voices.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/looks-and-assets.md' --output "$skill_dir/references/looks-and-assets.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/mcp-tool-index.md' --output "$skill_dir/references/mcp-tool-index.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/recipes.md' --output "$skill_dir/references/recipes.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/setup-and-clients.md' --output "$skill_dir/references/setup-and-clients.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/stories-and-scripts.md' --output "$skill_dir/references/stories-and-scripts.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/timeline-analysis.md' --output "$skill_dir/references/timeline-analysis.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/timeline-and-edit-mode.md' --output "$skill_dir/references/timeline-and-edit-mode.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/upload-and-cut.md' --output "$skill_dir/references/upload-and-cut.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/references/writing-clips.md' --output "$skill_dir/references/writing-clips.md" curl --fail --show-error --location 'https://www.yoh.app/skills/yoh/scripts/download_timeline_analysis.py' --output "$skill_dir/scripts/download_timeline_analysis.py" )ตรวจสอบการเชื่อมต่อ
บอก agent ให้รัน get_credits ถ้าเชื่อมต่อได้ จะตอบกลับเป็นยอดเครดิต Yoh ของคุณ รัน /mcp ใน Claude Code หรือ Codex เพื่อดูสถานะ server
จากนั้นแค่สั่ง
- “ทำเรื่องยาว 60 วินาที เกี่ยวกับพยาบาลกะดึกที่ได้ยินเสียงผี”
- “เปลี่ยนบทนี้เป็นซีรีส์ห้าตอน และให้ดูนักแสดงก่อนเริ่มวาดภาพ”
- “เกลาตอนที่ 3 ตัดช่วงที่เงียบเปล่าออก ขยับซับให้ตรงจังหวะ แล้วแจ้งราคาเรนเดอร์”
- “เปลี่ยนตัวเอกในคลิปที่ 4 เป็นตัวละครของฉัน แล้วทำวิดีโอใหม่เฉพาะคลิปนั้น”
ทำไมถึงใช้งานได้ดี
ไม่มีการตัดเครดิตถ้าคุณไม่ตกลง
การดูและแก้ไขฟรี ทุกขั้นตอนที่ใช้เครดิต (วาดภาพ สร้างวิดีโอคลิป เรนเดอร์) จะแจ้งราคาก่อน agent จะแสดงราคาให้คุณดูและทำต่อเมื่อคุณอนุมัติแล้วเท่านั้น และการอนุมัติเดียวกันจะไม่ถูกเรียกเก็บซ้ำสองครั้ง
ไม่มี key ค้างใน shell history
codex mcp login ล็อกอินด้วย Yoh สำหรับ CI ให้ใช้ API key ใน environment variable แทน (bearer_token_env_var = "YOH_API_KEY")
เรื่องเดียวกัน กติกาเดียวกับในแอป
agent ทำงานกับเรื่อง คลิป และไทม์ไลน์ชุดเดียวกับที่คุณเห็นบน yoh.app ด้วยกติกาเดียวกับตัวตัดต่อ การแก้จากเทอร์มินัลจะไปอยู่ตรงจุดเดียวกับการลากในเบราว์เซอร์ และหน้าที่เปิดอยู่จะอัปเดตภายในไม่กี่วินาที
ดูผลในเบราว์เซอร์
ในแอป ChatGPT เดสก์ท็อป Codex เปิดหน้า yoh.app ที่ตัวเองแก้ในเบราว์เซอร์ของมัน แล้วตรวจผลบนหน้าจอได้
คำถามที่พบบ่อย
Codex สร้างวิดีโอได้ไหม
ได้ เมื่อเชื่อม Yoh MCP server แล้ว Codex จะเรียก tool ของ Yoh ให้เขียนเรื่อง สร้างแต่ละคลิป และเรนเดอร์วิดีโอสุดท้ายในบัญชี Yoh ของคุณ
รองรับ Codex แบบไหนบ้าง
Codex CLI, Codex IDE extension และ Codex ในแอป ChatGPT เดสก์ท็อป ทั้งหมดใช้ ~/.codex/config.toml ร่วมกัน
รันแบบ headless ใน CI ได้ไหม
ได้ สร้าง API key ที่ Settings → API keys แล้ว export เป็น YOH_API_KEY และตั้ง bearer_token_env_var = "YOH_API_KEY" ใต้ [mcp_servers.yoh] ขั้นตอนที่มีค่าใช้จ่ายยังต้องใช้ approval token จากใบเสนอราคาอย่างชัดเจน
ใช้ใน ChatGPT ได้ด้วยไหม
ได้ ใน ChatGPT ให้เพิ่ม custom MCP server ชื่อ Yoh ด้วยที่อยู่เดียวกันแล้วล็อกอิน บางแพ็กเกจต้องให้แอดมินอนุญาต custom server ก่อน
ข้อมูลอ้างอิงฉบับเต็ม: เอกสาร Yoh · ราคา
วิธีเชื่อมต่ออื่นๆ
- สร้างวิดีโอ AI ด้วย Claudeเชื่อม Claude กับบัญชี Yoh แล้วสร้างวิดีโอเรื่องราวได้แค่สั่ง Claude เขียนบท คุมตัวละครให้หน้าตาคงเดิม สร้างคลิป ตัดต่อไทม์ไลน์ และเรนเดอร์วิดีโอที่เสร็จแล้ว โดยจะถามคุณก่อนทุกครั้งที่ต้องใช้เครดิต
- Yoh MCP server สำหรับวิดีโอ AIremote MCP endpoint เดียวเปิดให้ทุก agent ใช้สตูดิโอ Yoh ได้ทั้งหมด: เขียนเรื่อง คัดและวาดตัวละคร สร้างวิดีโอคลิปพร้อมเสียงพากย์และเพลง ตัดต่อไทม์ไลน์และซับ เรนเดอร์และเผยแพร่ ทุก tool ใช้กติกาเดียวกับตัวตัดต่อบน yoh.app
- API สร้างวิดีโอ AIส่ง prompt ไป ได้วิดีโอที่เสร็จแล้วกลับมา Yoh เขียนบท คัดตัวละครที่หน้าตาคงเดิม ใส่เสียงพากย์ เพลง และซับ แล้วเรนเดอร์เป็น MP4 หรือจะคุมแต่ละขั้นเองก็ได้ ทั้งเรื่อง ซีรีส์ คลิป ตัวละคร ไทม์ไลน์ และการเรนเดอร์
- Yoh skill สำหรับ AI agentMCP server ให้เครื่องมือกับ agent ส่วน skill สอนวิธีใช้ให้เป็น SKILL.md ในรูปแบบเปิด Agent Skills บอก agent ว่าจะสร้างเรื่องบน Yoh ให้ดีได้อย่างไร และกติกาไหนที่มักพลาดได้ง่าย