
เครื่องมือสร้างสื่อ AI
สร้างรูปภาพและวิดีโอ AI ในพื้นที่ทำงานเดียว
สร้างวิดีโอ 4–15 วินาทีด้วย API Seedance 2.0 Mini บน Best Image AI คุมการเคลื่อนไหวจากภาพหรือคลิป เพิ่มเสียง ส่งออก 480p หรือ 720p
Seedance V2.0 Mini Reference-to-Video คือโมเดลที่คุ้มค่าจาก ByteDance สำหรับสร้างวิดีโอจากรูปภาพ วิดีโอ และเสียงอ้างอิง โดยผสานการกำกับแบบมัลติโหมดเข้ากับการควบคุมเอาต์พุตที่ยืดหยุ่น จึงเหมาะสำหรับครีเอเตอร์และนักพัฒนาที่ต้องการทิศทางภาพที่สอดคล้องกันโดยไม่จำเป็นต้องใช้เอาต์พุตความละเอียดสูงกว่าของโมเดล Seedance V2.0 รุ่นมาตรฐาน
เมื่ออัปโหลดวิดีโออ้างอิงอย่างน้อยหนึ่งรายการ ค่าบริการสร้างจะเพิ่มเป็นสองเท่าหนึ่งครั้ง ตัวคูณนี้เท่ากันไม่ว่าวิดีโออ้างอิงที่อัปโหลดจะมีจำนวนหรือความยาวเท่าใด
หมายเหตุ: ทุกคำขอต้องมีรูปภาพหรือวิดีโออ้างอิงอย่างน้อยหนึ่งรายการ วิดีโอและคลิปเสียงแต่ละรายการที่อัปโหลดต้องมีความยาวระหว่าง 2 ถึง 15 วินาที ไม่รองรับคำขอที่มีเฉพาะเสียง
สำรวจเครื่องมือสร้างสรรค์ด้วย AI หลายรายการสำหรับเวิร์กโฟลว์รูปภาพและวิดีโอที่รวดเร็วในเบราว์เซอร์ แล้วขยายแนวคิดที่ประสบความสำเร็จด้วย API โมเดลที่พร้อมใช้งานจริงจาก Best Image AI โดย Best Image AI มีชั้น API แบบรวมสำหรับทุกโมเดล ทำให้ใช้และขยายเวิร์กโฟลว์ได้ง่าย

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

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

สร้างวิดีโอที่สอดคล้องกันจากสื่ออ้างอิง

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

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

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

ทำให้รูปภาพเคลื่อนไหวเป็นวิดีโอ AI
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model_name: 'seedance-v2.0-mini-reference-to-video',
prompt:
'Use <<<image_1>>> as the character and visual reference, follow the camera movement in <<<video_1>>>, and synchronize the scene with <<<audio_1>>>.',
images: ['https://example.com/character-reference.jpg'],
videos: ['https://example.com/motion-reference.mp4'],
audios: ['https://example.com/audio-reference.mp3'],
resolution: '720p',
: ,
: ,
: ,
}),
});
{ data } = response.();
taskId = data.;
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'model_name': 'seedance-v2.0-mini-reference-to-video',
'prompt': 'Use <<<image_1>>> as the character and visual reference, follow the camera movement in <<<video_1>>>, and synchronize the scene with <<<audio_1>>>.',
'images': ['https://example.com/character-reference.jpg'],
'videos': ['https://example.com/motion-reference.mp4'],
'audios': ['https://example.com/audio-reference.mp3'],
'resolution': '720p',
'duration': 8,
'aspect_ratio': '16:9',
: ,
},
)
result = response.json()
task_id = result[][]
curl -X POST 'https://api.flaq.ai/api/v1/video/task' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model_name": "seedance-v2.0-mini-reference-to-video",
"prompt": "Use <<<image_1>>> as the character and visual reference, follow the camera movement in <<<video_1>>>, and synchronize the scene with <<<audio_1>>>.",
"images": ["https://example.com/character-reference.jpg"],
"videos": ["https://example.com/motion-reference.mp4"],
"audios": ["https://example.com/audio-reference.mp3"],
"resolution": "720p",
"duration": 8,
"aspect_ratio": "16:9",
"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"
// 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 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)