
เครื่องมือสร้างข้อความเป็นรูปภาพ AI
สร้างรูปภาพที่ประณีตจากพรอมต์ด้วยโมเดลภาพ AI ชั้นนำ การตั้งค่าที่ยืดหยุ่น และเวิร์กโฟลว์บนเบราว์เซอร์ที่รวดเร็ว
ทดลองใช้ฟรี API Wan 2.7 Lora สำหรับการแปลงภาพเป็นวิดีโอ สำหรับแอนิเมชันรูปภาพ Alibaba การเคลื่อนไหวแบบภาพยนตร์ ช็อตตัวละคร และเวิร์กโฟลว์วิดีโอที่ปรับขนาดได้
// 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: 'wan-2.7-lora-image-to-video',
prompt: 'The girl is dancing',
image_url: 'https://example.com/source-image.jpg',
resolution: '1080p',
duration: 5,
audio_url: 'https://example.com/background-audio.mp3',
seed: 4,
negative_prompt: 'other people'
})
});
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': 'wan-2.7-lora-image-to-video',
'prompt': 'The girl is dancing',
'image_url': 'https://example.com/source-image.jpg',
'resolution': '1080p',
'duration': 5,
'audio_url': 'https://example.com/background-audio.mp3',
'seed': 4,
'negative_prompt': 'other people'
}
)
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": "wan-2.7-lora-image-to-video",
"prompt": "The girl is dancing",
"image_url": "https://example.com/source-image.jpg",
"resolution": "1080p",
"duration": 5,
"audio_url": "https://example.com/background-audio.mp3",
"seed": 4,
"negative_prompt": "other people"
}'
# 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"
| พารามิเตอร์ | ราคา | ราคาเดิม | ส่วนลด |
|---|
Wan 2.7 Lora Image-to-Video API บน Flaq AI มอบการเข้าถึงแอนิเมชันวิดีโอ Alibaba ขั้นสูงสำหรับทีมที่ต้องการเปลี่ยนภาพนิ่งเป็นการเคลื่อนไหวแบบภาพยนตร์คุณภาพสูง การผสาน Wan Lora API นี้ช่วยให้ developer ทำให้ภาพต้นฉบับเคลื่อนไหวด้วยการเคลื่อนไหวกล้องตาม prompt ไดนามิกของฉาก และการคงตัวแบบที่เสถียร ออกแบบมาสำหรับ production สร้างสรรค์ระดับมืออาชีพ การเคลื่อนไหว ecommerce วิดีโอโซเชียล storyboard และเวิร์กโฟลว์วิดีโอที่ขยายสเกลได้
หมายเหตุ โปรดตรวจสอบให้แน่ใจว่ารูปภาพที่อัปโหลดและ prompt เป็นไปตามข้อกำหนดด้านความปลอดภัยของ Alibaba และ Flaq AI หากเกิดข้อผิดพลาด ให้ปรับรูปภาพหรือ prompt การเคลื่อนไหวแล้วลองอีกครั้ง
สำรวจเครื่องมือสร้างสรรค์ AI หลายรายการสำหรับเวิร์กโฟลว์รูปภาพและวิดีโอที่รวดเร็วในเบราว์เซอร์ จากนั้นขยายไอเดียที่สำเร็จไปยัง model APIs ของ Flaq AI ที่พร้อมสำหรับการผลิต Flaq AI ให้ชั้น API แบบรวมศูนย์สำหรับทุกโมเดล ทำให้ใช้งานและขยายเวิร์กโฟลว์ได้ง่าย

สร้างรูปภาพที่ประณีตจากพรอมต์ด้วยโมเดลภาพ AI ชั้นนำ การตั้งค่าที่ยืดหยุ่น และเวิร์กโฟลว์บนเบราว์เซอร์ที่รวดเร็ว

อัปโหลดรูปภาพอ้างอิง นำทางการแก้ไขด้วยพรอมต์ และแปลงภาพสำหรับงานออกแบบ การตลาด และการผลิตงานสร้างสรรค์

เปลี่ยนไอเดียฉากที่เขียนไว้ให้เป็นวิดีโอ AI สั้นๆ ด้วยการเลือกโมเดล พรอมต์การเคลื่อนไหว และการควบคุมการสร้างที่ใช้งานได้จริง

ทำให้รูปภาพอ้างอิงกลายเป็นคลิปวิดีโอ AI ที่ลื่นไหลสำหรับสินค้า ภาพบุคคล โพสต์โซเชียล และคอนเซ็ปต์สร้างสรรค์