$ piapi run flux-dev prompt="a corgi" aspect_ratio=16:9สร้างรูปภาพ
94 โมเดล AI มัลติโมดัลจากเทอร์มินัลของคุณ
สร้างรูปภาพ วิดีโอ เสียง สินทรัพย์ 3D และแชทกับ LLMs — ทั้งหมดด้วยคำสั่งเดียว เหมาะสำหรับนักพัฒนา AI agents และเวิร์กโฟลว์อัตโนมัติ
รัน piapi model list เพื่อดูโมเดลทั้งหมด
$ piapi run flux-dev prompt="a corgi astronaut"$ piapi run flux-dev prompt="a corgi" aspect_ratio=16:9สร้างรูปภาพ
$ piapi run gpt-4o prompt="hello" --streamแชทพร้อมสตรีมมิ่ง
$ piapi run sora2-pro prompt="waves" --asyncสร้างวิดีโอ (async)
$ piapi run remove-bg image=@./photo.png --downloadอัปโหลดและดาวน์โหลด

Install PiAPI CLI, authenticate your API key, and run your first image or video generation command from the terminal.

Use PiAPI CLI as a command line AI tool to generate images from terminal prompts, save outputs locally, and automate repeatable image workflows.
PiAPI CLI is a command line interface for running PiAPI models from your terminal. It works as an AI CLI tool for image, video, audio, 3D, and chat generation workflows.
รัน piapi auth login --api-key sk-xxxxx ด้วย API key PiAPI ของคุณ คุณสามารถรับ API key จาก PiAPI workspace
Yes. Use piapi run flux-dev prompt="a corgi astronaut" or another image model to generate AI images from terminal commands. Add --download to save generated files locally.
เติม @ หน้าอินพุตใดๆ เพื่ออัปโหลดไฟล์ในเครื่อง ตัวอย่าง: piapi run remove-bg image=@./photo.png
ได้! PiAPI CLI ออกแบบมาสำหรับการรวม AI agent เพิ่มเป็นทักษะ: npx skills add PiAPI-1/piapi-cli
CLI ฟรีและเป็นโอเพนซอร์ส (สัญญาอนุญาต MIT) คุณต้องมีบัญชี PiAPI เพื่อใช้โมเดล — บัญชีใหม่จะได้รับเครดิตฟรีเพื่อทดลอง
ติดตั้งแบบ global ด้วย npm: npm install -g piapi-cli คุณยังสามารถใช้ pnpm, yarn หรือ bun หรือรันโดยไม่ต้องติดตั้ง: npx piapi-cli@latest ต้องการ Node.js 18+
PiAPI CLI รองรับ 94 โมเดล AI มัลติโมดัล: 34 โมเดลรูปภาพ, 40 โมเดลวิดีโอ, 10 โมเดลเสียง, 2 โมเดล 3D และ 8 โมเดล LLM รัน piapi model list เพื่อดูทั้งหมด
Yes. Use video models such as Sora, Kling, Veo, Seedance, Hailuo, and Luma to generate AI videos from terminal workflows. Video jobs usually use --async so you can check task status later.
เพิ่ม --download ในคำสั่งใดๆ เพื่อบันทึกไฟล์ที่สร้างอัตโนมัติ ใช้ --out-dir ./output เพื่อระบุไดเรกทอรีเอาต์พุต
โมเดล LLM และ gpt-image-2 ทำงานแบบ synchronous โมเดลวิดีโอและ 3D ต้องการแฟล็ก --async และคืน task ID สำหรับ polling