
เครื่องมือสร้างข้อความเป็นรูปภาพ AI
สร้างรูปภาพที่ประณีตจากพรอมต์ด้วยโมเดลภาพ AI ชั้นนำ การตั้งค่าที่ยืดหยุ่น และเวิร์กโฟลว์บนเบราว์เซอร์ที่รวดเร็ว
ทดลองใช้ Wan 2.7 Reference-to-Video API ฟรี พร้อมรูปภาพหรือวิดีโออ้างอิงสูงสุดห้ารายการ ตัวเลือกเสียงอ้างอิง เอาต์พุต 1080p และการควบคุม seed เหมาะสำหรับเวิร์กโฟลว์สร้างสรรค์
// 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-reference-to-video',
prompt: 'Use image one for the hero and video one for the motion; keep the hero voice consistent with audio one',
resolution: '1080p',
duration: 8,
aspect_ratio: '16:9',
images: ['https://example.com/hero-reference.jpg'],
videos: ['https://example.com/motion-reference.mp4'],
audios: ['https://example.com/voice-reference.mp3'],
negative_prompt: 'flicker, distorted hands, duplicate subjects',
seed: 42
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
// Placeholder numbering is 1-based for each media array:
// <<<image_1>>> = images[0], <<<image_2>>> = images[1]
// <<<video_1>>> = videos[0], <<<audio_1>>> = audios[0]
const mediaReferenceResponse = 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-reference-to-video',
prompt: 'Place the presenter from <<<image_1>>> in the studio from <<<image_2>>>, follow the camera path in <<<video_1>>>, and use the reference voice from <<<audio_1>>>',
resolution: '1080p',
duration: 8,
aspect_ratio: '16:9',
images: [
'https://example.com/presenter-reference.jpg',
'https://example.com/studio-reference.jpg'
],
videos: ['https://example.com/camera-path-reference.mp4'],
audios: ['https://example.com/voice-reference.mp3'],
negative_prompt: 'flicker, distorted hands, duplicate subjects',
seed: 42
})
});
const { data: mediaReferenceData } = await mediaReferenceResponse.json();
const mediaReferenceTaskId = mediaReferenceData.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-reference-to-video',
'prompt': 'Use image one for the hero and video one for the motion; keep the hero voice consistent with audio one',
'resolution': '1080p',
'duration': 8,
'aspect_ratio': '16:9',
'images': ['https://example.com/hero-reference.jpg'],
'videos': ['https://example.com/motion-reference.mp4'],
'audios': ['https://example.com/voice-reference.mp3'],
'negative_prompt': 'flicker, distorted hands, duplicate subjects',
'seed': 42
}
)
result = response.json()
task_id = result['data']['task_id']
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based for each media array:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1]
# <<<video_1>>> = videos[0], <<<audio_1>>> = audios[0]
media_reference_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-reference-to-video',
'prompt': 'Place the presenter from <<<image_1>>> in the studio from <<<image_2>>>, follow the camera path in <<<video_1>>>, and use the reference voice from <<<audio_1>>>',
'resolution': '1080p',
'duration': 8,
'aspect_ratio': '16:9',
'images': [
'https://example.com/presenter-reference.jpg',
'https://example.com/studio-reference.jpg'
],
'videos': ['https://example.com/camera-path-reference.mp4'],
'audios': ['https://example.com/voice-reference.mp3'],
'negative_prompt': 'flicker, distorted hands, duplicate subjects',
'seed': 42
}
)
media_reference_result = media_reference_response.json()
media_reference_task_id = media_reference_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-reference-to-video",
"prompt": "Use image one for the hero and video one for the motion; keep the hero voice consistent with audio one",
"resolution": "1080p",
"duration": 8,
"aspect_ratio": "16:9",
"images": ["https://example.com/hero-reference.jpg"],
"videos": ["https://example.com/motion-reference.mp4"],
"audios": ["https://example.com/voice-reference.mp3"],
"negative_prompt": "flicker, distorted hands, duplicate subjects",
"seed": 42
}'
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based for each media array:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1]
# <<<video_1>>> = videos[0], <<<audio_1>>> = audios[0]
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-reference-to-video",
"prompt": "Place the presenter from <<<image_1>>> in the studio from <<<image_2>>>, follow the camera path in <<<video_1>>>, and use the reference voice from <<<audio_1>>>",
"resolution": "1080p",
"duration": 8,
"aspect_ratio": "16:9",
"images": [
"https://example.com/presenter-reference.jpg",
"https://example.com/studio-reference.jpg"
],
"videos": ["https://example.com/camera-path-reference.mp4"],
"audios": ["https://example.com/voice-reference.mp3"],
"negative_prompt": "flicker, distorted hands, duplicate subjects",
"seed": 42
}'
# 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"
| พารามิเตอร์ | ราคา | ราคาเดิม | ส่วนลด |
|---|
Alibaba Wan 2.7 Reference-to-Video API มอบการสร้างวิดีโอ AI ระดับพร้อมใช้งานจริงสำหรับนักพัฒนาและทีมครีเอทีฟ ที่ต้องการให้ตัวแบบ เสียง และทิศทางภาพมีความสอดคล้องกันในทุกคลิปที่สร้าง การเชื่อมต่อ Reference-to-Video API ขั้นสูงนี้ รองรับภาพและวิดีโออ้างอิงพร้อมคำแนะนำด้านเสียงที่เลือกใช้ได้ จากนั้นจึงเปลี่ยนคำสั่งภาษาธรรมชาติ ให้เป็นวิดีโอ 720p หรือ 1080p ที่สมบูรณ์แบบ Wan 2.7 สร้างขึ้นเพื่อการผลิตงานครีเอทีฟที่ควบคุมได้ โดยผสานความเข้าใจ สื่ออ้างอิงแบบมัลติโมดัล การตั้งค่าเอาต์พุตที่ยืดหยุ่น และการเข้าถึง API ที่ปรับขนาดได้บน Flaq AI
หมายเหตุ โปรดตรวจสอบว่าพรอมต์และสื่ออ้างอิงของคุณเป็นไปตามหลักเกณฑ์ด้านความปลอดภัยของ Alibaba หากเกิดข้อผิดพลาด ให้ตรวจสอบอินพุตเพื่อหาเนื้อหาที่ถูกจำกัด ปรับแก้ แล้วลองอีกครั้ง
Wan 2.7 Reference-to-Video เทียบกับ Wan 2.7 Image-to-Video Wan 2.7 Image-to-Video ทำให้ภาพเริ่มต้นเคลื่อนไหว ส่วน Wan 2.7 Reference-to-Video รองรับการผสานภาพและวิดีโออ้างอิง การกำกับหลายตัวแบบ และเสียงอ้างอิงที่เลือกใช้ได้ เพื่อการผลิตที่ขับเคลื่อนด้วยเอกลักษณ์และควบคุมได้มากขึ้น
Wan 2.7 Reference-to-Video เทียบกับ Seedance V2.0 Reference-to-Video Seedance V2.0 รองรับการสร้างแบบมัลติโมดัลที่ใช้สื่ออ้างอิง อย่างกว้างขวางจากอินพุตภาพ วิดีโอ และเสียง ส่วน Wan 2.7 เน้นสื่ออ้างอิงตัวแบบแบบมีโครงสร้าง การกำกับ เอกลักษณ์เสียงที่เลือกใช้ได้ เนกาทีฟพรอมต์ และการสร้างวิดีโอความละเอียดสูงของ Alibaba
Wan 2.7 Reference-to-Video เทียบกับ Vidu Q3 Reference-to-Video Vidu Q3 เน้นความสอดคล้องของตัวแบบจากหลายภาพและ เสียงเนทีฟที่ซิงค์กัน ส่วน Wan 2.7 เพิ่มการรองรับภาพและวิดีโออ้างอิงแบบผสม พร้อมการกำกับเสียง ระดับตัวแบบที่เลือกใช้ได้สำหรับเวิร์กโฟลว์มัลติโมดัลที่ยืดหยุ่น
Wan 2.7 Reference-to-Video เทียบกับ Kling Video O3 Reference-to-Video Kling Video O3 มอบการสร้างที่กำกับด้วยสื่ออ้างอิง พร้อมการให้เหตุผลด้านการเคลื่อนไหวที่ยอดเยี่ยม ส่วน Wan 2.7 โดดเด่นด้วยสื่ออ้างอิงแบบผสม การกำกับเสียงตัวแบบ การควบคุม ซีด และเนกาทีฟพรอมต์สำหรับไปป์ไลน์การผลิตที่ควบคุมได้
Wan 2.7 Reference-to-Video เทียบกับเครื่องมือวิดีโอ Runway Runway มีชุดเครื่องมือแก้ไขและสร้างที่หลากหลาย สำหรับครีเอเตอร์ ส่วน Wan 2.7 Reference-to-Video API ออกแบบมาเพื่อเวิร์กโฟลว์สื่ออ้างอิงแบบมัลติโมดัลผ่านโปรแกรม การนำตัวแบบมาใช้ซ้ำ อย่างสอดคล้อง และการเชื่อมต่อแอปพลิเคชันที่ปรับขนาดได้
สำรวจเครื่องมือสร้างสรรค์ AI หลายรายการสำหรับเวิร์กโฟลว์รูปภาพและวิดีโอที่รวดเร็วในเบราว์เซอร์ จากนั้นขยายไอเดียที่สำเร็จไปยัง model APIs ของ Flaq AI ที่พร้อมสำหรับการผลิต Flaq AI ให้ชั้น API แบบรวมศูนย์สำหรับทุกโมเดล ทำให้ใช้งานและขยายเวิร์กโฟลว์ได้ง่าย

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

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

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

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