Providers
Fal
OpenClaw มาพร้อม provider fal ที่บันเดิลมาสำหรับการสร้างรูปภาพและวิดีโอแบบโฮสต์
| คุณสมบัติ | ค่า |
|---|---|
| Provider | fal |
| Auth | FAL_KEY (เป็นค่ามาตรฐาน; FAL_API_KEY ใช้เป็น fallback ได้เช่นกัน) |
| API | endpoint ของโมเดล fal |
เริ่มต้นใช้งาน
ตั้งค่า API key
openclaw onboard --auth-choice fal-api-key
ตั้งค่าโมเดลรูปภาพเริ่มต้น
{
agents: {
defaults: {
imageGenerationModel: {
primary: "fal/fal-ai/flux/dev",
},
},
},
}
การสร้างรูปภาพ
provider สำหรับการสร้างรูปภาพ fal ที่บันเดิลมาจะใช้ค่าเริ่มต้นเป็น
fal/fal-ai/flux/dev
| ความสามารถ | ค่า |
|---|---|
| จำนวนรูปสูงสุด | 4 รูปต่อคำขอ |
| โหมดแก้ไข | เปิดใช้งาน, รูปอ้างอิง 1 รูป |
| การแทนที่ขนาด | รองรับ |
| อัตราส่วนภาพ | รองรับ |
| ความละเอียด | รองรับ |
| รูปแบบเอาต์พุต | png หรือ jpeg |
ใช้ outputFormat: "png" เมื่อต้องการเอาต์พุตแบบ PNG fal ไม่ได้ประกาศตัวควบคุมพื้นหลังโปร่งใสแบบ explicit ใน OpenClaw ดังนั้น background: "transparent" จะถูกรายงานว่าเป็นการแทนที่ที่ถูกเพิกเฉยสำหรับโมเดล fal
หากต้องการใช้ fal เป็น provider รูปภาพเริ่มต้น:
{
agents: {
defaults: {
imageGenerationModel: {
primary: "fal/fal-ai/flux/dev",
},
},
},
}
การสร้างวิดีโอ
provider สำหรับการสร้างวิดีโอ fal ที่บันเดิลมาจะใช้ค่าเริ่มต้นเป็น
fal/fal-ai/minimax/video-01-live
| ความสามารถ | ค่า |
|---|---|
| โหมด | ข้อความเป็นวิดีโอ, รูปอ้างอิงเดี่ยว, reference-to-video ของ Seedance |
| รันไทม์ | โฟลว์ submit/status/result ที่ใช้คิวรองรับสำหรับงานที่รันนาน |
โมเดลวิดีโอที่ใช้งานได้
HeyGen video-agent:
fal/fal-ai/heygen/v2/video-agent
Seedance 2.0:
fal/bytedance/seedance-2.0/fast/text-to-videofal/bytedance/seedance-2.0/fast/image-to-videofal/bytedance/seedance-2.0/fast/reference-to-videofal/bytedance/seedance-2.0/text-to-videofal/bytedance/seedance-2.0/image-to-videofal/bytedance/seedance-2.0/reference-to-video
ตัวอย่างคอนฟิก Seedance 2.0
{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/bytedance/seedance-2.0/fast/text-to-video",
},
},
},
}
ตัวอย่างคอนฟิก reference-to-video ของ Seedance 2.0
{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/bytedance/seedance-2.0/fast/reference-to-video",
},
},
},
}
reference-to-video รองรับรูปภาพได้สูงสุด 9 รูป วิดีโอ 3 ไฟล์ และข้อมูลอ้างอิงเสียง 3 รายการ
ผ่านพารามิเตอร์ images, videos และ audioRefs ของ video_generate ที่ใช้ร่วมกัน โดยมีไฟล์อ้างอิงรวมกันได้ไม่เกิน 12 ไฟล์
ตัวอย่างคอนฟิก HeyGen video-agent
{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/fal-ai/heygen/v2/video-agent",
},
},
},
}