
ข้อความเป็นรูปภาพ
สร้างรูปภาพ AI จากพรอมต์ข้อความ
ทำให้ตัวละครเคลื่อนไหวด้วย Kling 2.6 Motion Control API จาก Kuaishou ใช้ภาพและวิดีโออ้างอิงเพื่อกำหนดการเคลื่อนไหวและทิศทางของตัวละครผ่าน API ของ Flaq AI
// Step 1: Submit generation request
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'kling-2.6-motion-control',
prompt: 'Animate the character in the reference image using the dance movements from the reference video',
images: ['https://example.com/character.jpg'],
videos: ['https://example.com/dance-reference.mp4'],
character_orientation: 'video',
resolution: '720p',
keep_original_sound: true
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/video/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
# Step 1: Submit generation request
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'kling-2.6-motion-control',
'prompt': 'Animate the character in the reference image using the dance movements from the reference video',
'images': ['https://example.com/character.jpg'],
'videos': ['https://example.com/dance-reference.mp4'],
'character_orientation': 'video',
'resolution': '720p',
'keep_original_sound': True
}
)
result = response.json()
task_id = result['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/video/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
# Step 1: Submit generation request
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "kling-2.6-motion-control",
"prompt": "Animate the character in the reference image using the dance movements from the reference video",
"images": ["https://example.com/character.jpg"],
"videos": ["https://example.com/dance-reference.mp4"],
"character_orientation": "video",
"resolution": "720p",
"keep_original_sound": true
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| พารามิเตอร์ | ราคา | ราคาเดิม | ส่วนลด |
|---|
Kling 2.6 Motion Control API จาก Kuaishou มอบความสามารถในการถ่ายโอนการเคลื่อนไหวของตัวละครด้วย AI อย่างคุ้มค่าสำหรับนักพัฒนาและทีมสร้างสรรค์ การเชื่อมต่อ API ควบคุมการเคลื่อนไหวราคาประหยัดนี้ช่วยให้คุณนำการเคลื่อนไหวจากวิดีโออ้างอิงมาใช้กับภาพตัวละครอ้างอิง โดยมีพรอมป์ต์ภาษาธรรมชาติช่วยกำหนดทิศทาง โมเดล Kling 2.6 Motion Control สร้างขึ้นบนกระบวนการควบคุมการเคลื่อนไหว Kling ของ Kuaishou และมุ่งเน้นเวิร์กโฟลว์แอนิเมชันตัวละคร ขณะที่ API ให้การเชื่อมต่อที่เชื่อถือได้พร้อมตัวเลือกเก็บเสียงต้นฉบับสำหรับใช้งานจริงบน Flaq AI
หมายเหตุ โปรดตรวจสอบว่าพรอมป์ต์และสื่อที่อัปโหลดสอดคล้องกับแนวทางความปลอดภัยของเนื้อหาของ Kuaishou หากเกิดข้อผิดพลาด ให้ตรวจสอบเนื้อหาที่ถูกจำกัด ปรับอินพุต แล้วลองอีกครั้ง
Kling 2.6 Motion Control เทียบกับ Kling 3.0 Motion Control
Kling 3.0 Motion Control มีชุดพารามิเตอร์ควบคุมการเคลื่อนไหวเหมือนกันบน Flaq AI ในระดับราคาที่สูงกว่า ส่วน Kling 2.6 Motion Control เน้นความประหยัดสำหรับเวิร์กโฟลว์ถ่ายโอนการเคลื่อนไหวด้วยภาพร่วมกับวิดีโอแบบเดียวกัน จึงเหมาะกับงบประมาณสำหรับงานแอนิเมชันตัวละครปริมาณมาก
Kling 2.6 Motion Control เทียบกับ Kling Image-to-Video
Kling Image-to-Video สร้างภาพเคลื่อนไหวจากภาพนิ่งโดยใช้พรอมป์ต์เพียงอย่างเดียว ส่วน Kling 2.6 Motion Control API ต้องใช้วิดีโออ้างอิง เพื่อให้การเคลื่อนไหว จังหวะเวลา และรายละเอียดการแสดงมาจากฟุตเทจจริง จึงเหมาะกว่าเมื่อคุณต้องการถ่ายทอดการเคลื่อนไหวลงบนภาพตัวละครอย่างแม่นยำ
Kling 2.6 Motion Control เทียบกับ Runway Act-One / เครื่องมือด้านการเคลื่อนไหว
Runway มีเครื่องมือสร้างสรรค์ที่อิงการแสดงอันทรงพลังในอินเทอร์เฟซที่เน้นงานสตูดิโอ ส่วน Kling 2.6 Motion Control API เน้นการถ่ายโอนการเคลื่อนไหวด้วยภาพและวิดีโอผ่านการเขียนโปรแกรม พร้อมการควบคุมทิศทางและตัวเลือกเก็บเสียงต้นฉบับสำหรับกระบวนการของนักพัฒนา
Kling 2.6 Motion Control เทียบกับการเคลื่อนไหวตัวละครของ Pika
Pika เน้นแอนิเมชันที่มีสไตล์และอินเทอร์เฟซสร้างสรรค์ที่เข้าถึงง่าย ส่วน Kling 2.6 Motion Control ให้การเข้าถึงที่เน้น API เป็นหลัก ตัวเลือกความละเอียด HD และการถ่ายโอนการเคลื่อนไหวอย่างคุ้มค่า สำหรับระบบผลิตคอนเทนต์ตัวละครที่ขยายขนาดได้
Kling 2.6 Motion Control เทียบกับแอนิเมชันตัวละครของ Luma
Luma เป็นที่รู้จักด้านประสบการณ์สร้างวิดีโอด้วย AI ที่รวดเร็ว ส่วน Kling 2.6 Motion Control API แตกต่างด้วยตัวเลือกทิศทางตัวละครที่ชัดเจน การถ่ายโอนการเคลื่อนไหวตามวิดีโออ้างอิง และการเชื่อมต่อ Flaq AI ที่คาดการณ์ได้สำหรับการผลิตอัตโนมัติ
สำรวจเครื่องมือสร้างสรรค์ AI หลายรายการสำหรับเวิร์กโฟลว์รูปภาพและวิดีโอที่รวดเร็วในเบราว์เซอร์ จากนั้นขยายไอเดียที่สำเร็จไปยัง model APIs ของ Flaq AI ที่พร้อมสำหรับการผลิต Flaq AI ให้ชั้น API แบบรวมศูนย์สำหรับทุกโมเดล ทำให้ใช้งานและขยายเวิร์กโฟลว์ได้ง่าย

สร้างรูปภาพ AI จากพรอมต์ข้อความ

สร้างรูปภาพ AI จากรูปภาพและพรอมต์ข้อความ

สร้างวิดีโอ AI จากพรอมต์ข้อความ

ทำให้รูปภาพเคลื่อนไหวเป็นวิดีโอ AI

สร้างรูปภาพและวิดีโอ AI ในพื้นที่ทำงานเดียวที่ครบวงจร

สร้างวิดีโอที่สม่ำเสมอจากสื่ออ้างอิง

สร้างเวิร์กโฟลว์ภาพและวิดีโอ AI แบบภาพบนแคนวาสไร้ขอบเขต