
Generator AI Text to Image
Buat gambar halus dari prompt dengan model gambar AI terkemuka, pengaturan fleksibel, dan alur kerja berbasis browser yang cepat.
Coba MiniMax H3 Reference-to-Video API dengan hingga sembilan gambar, tiga video, dan tiga referensi audio, ditambah output 2K serta durasi fleksibel 5–15 detik.
// Step 1: Submit generation request with image, video, and audio references
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: 'minimax-h3-reference-to-video',
prompt: 'Use image one for the subject, video one for the movement, and audio one for the atmosphere',
resolution: '2k',
duration: 8,
aspect_ratio: '16:9',
images: ['https://example.com/subject-reference.jpg'],
videos: ['https://example.com/motion-reference.mp4'],
audios: ['https://example.com/atmosphere-reference.mp3']
})
});
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: 'minimax-h3-reference-to-video',
prompt: 'Place the explorer from <<<image_1>>> in the environment from <<<image_2>>>, following the camera movement in <<<video_1>>> and speaking with the reference voice from <<<audio_1>>>',
resolution: '2k',
duration: 10,
aspect_ratio: '16:9',
images: [
'https://example.com/explorer-reference.jpg',
'https://example.com/environment-reference.jpg'
],
videos: ['https://example.com/camera-movement-reference.mp4'],
audios: ['https://example.com/voice-reference.mp3']
})
});
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 with image, video, and audio references
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': 'minimax-h3-reference-to-video',
'prompt': 'Use image one for the subject, video one for the movement, and audio one for the atmosphere',
'resolution': '2k',
'duration': 8,
'aspect_ratio': '16:9',
'images': ['https://example.com/subject-reference.jpg'],
'videos': ['https://example.com/motion-reference.mp4'],
'audios': ['https://example.com/atmosphere-reference.mp3']
}
)
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': 'minimax-h3-reference-to-video',
'prompt': 'Place the explorer from <<<image_1>>> in the environment from <<<image_2>>>, following the camera movement in <<<video_1>>> and speaking with the reference voice from <<<audio_1>>>',
'resolution': '2k',
'duration': 10,
'aspect_ratio': '16:9',
'images': [
'https://example.com/explorer-reference.jpg',
'https://example.com/environment-reference.jpg'
],
'videos': ['https://example.com/camera-movement-reference.mp4'],
'audios': ['https://example.com/voice-reference.mp3']
}
)
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 with image, video, and audio references
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": "minimax-h3-reference-to-video",
"prompt": "Use image one for the subject, video one for the movement, and audio one for the atmosphere",
"resolution": "2k",
"duration": 8,
"aspect_ratio": "16:9",
"images": ["https://example.com/subject-reference.jpg"],
"videos": ["https://example.com/motion-reference.mp4"],
"audios": ["https://example.com/atmosphere-reference.mp3"]
}'
# 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": "minimax-h3-reference-to-video",
"prompt": "Place the explorer from <<<image_1>>> in the environment from <<<image_2>>>, following the camera movement in <<<video_1>>> and speaking with the reference voice from <<<audio_1>>>",
"resolution": "2k",
"duration": 10,
"aspect_ratio": "16:9",
"images": [
"https://example.com/explorer-reference.jpg",
"https://example.com/environment-reference.jpg"
],
"videos": ["https://example.com/camera-movement-reference.mp4"],
"audios": ["https://example.com/voice-reference.mp3"]
}'
# 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"
| Parameter | Harga | Harga asli | Diskon |
|---|
API MiniMax H3 Reference-to-Video membuat rangkaian video dari prompt dan sekumpulan referensi visual atau audio. Aplikasi dapat menggunakan input gambar, video, dan audio untuk memandu identitas subjek, gaya, arahan adegan, dan gerakan, sekaligus menjaga alur kerja tetap sesuai untuk produksi kreatif terstruktur di Flaq AI.
Input Referensi Multimodal: Gabungkan referensi gambar, video, dan audio untuk memberikan konteks kreatif yang lebih kaya pada tugas pembuatan.
Kontrol Peran Referensi: Jelaskan bagaimana setiap referensi harus memengaruhi subjek, lingkungan, gaya, suara, atau gerakan dalam rangkaian yang diminta.
Konsistensi Subjek dan Gaya: Gunakan materi referensi agar subjek yang mudah dikenali, bahasa visual, dan arahan kampanye tetap selaras di seluruh klip yang dibuat.
Pengembangan Adegan Berpanduan Prompt: Tambahkan instruksi bahasa alami untuk tindakan, pergerakan kamera, komposisi, tempo, dan suasana.
Alur Kerja Referensi Fleksibel: Bangun alat kreatif yang menggabungkan beberapa aset referensi sambil mempertahankan alur tugas yang dikendalikan aplikasi.
Dukungan Peninjauan Produksi: Lacak tugas pembuatan dan tinjau klip hasilnya untuk memeriksa konsistensi visual, artefak yang tidak diinginkan, dan kepatuhan terhadap referensi.
Masukan: Satu atau beberapa referensi gambar, video, atau audio yang didukung, bersama prompt pembuatan dalam bahasa alami.
Pemetaan Referensi: Deskripsikan peran setiap input dan tentukan karakteristik subjek, gaya, gerakan, atau suara yang harus dipandunya.
Keluaran: Rangkaian video yang dibuat dan dikembalikan melalui alur kerja tugas Flaq AI untuk ditinjau serta diproses lebih lanjut.
Penanganan Tugas: Simpan pengidentifikasi tugas, lakukan polling hingga selesai, dan periksa klip sebelum menerbitkan atau mengeditnya lebih lanjut.
Kontrol Kreatif: Gunakan pengaturan durasi, resolusi, rasio aspek, dan referensi yang tersedia untuk alur kerja tujuan.
Kesinambungan Karakter dan Subjek: Jaga konsistensi karakter, produk, atau subjek visual yang mudah dikenali di seluruh adegan baru.
Produksi Kampanye Bermerek: Gabungkan referensi gaya, aset kampanye, dan arahan audio untuk mengeksplorasi variasi kreatif yang terkoordinasi.
Pengembangan Storyboard dan Shot: Gunakan beberapa referensi untuk memandu komposisi adegan, pergerakan kamera, dan kesinambungan visual.
Alat Kreatif Multimodal: Bangun aplikasi yang memungkinkan pengguna memandu pembuatan dengan gambar, video, dan audio, bukan hanya teks.
Alur Kerja Variasi Aset: Buat alternatif terkontrol sambil mempertahankan kosakata visual dari sumber kreatif yang sudah ada.
Catatan Kualitas referensi, kejelasan prompt, dan peran yang diberikan pada setiap input memengaruhi hasil akhir. Tinjau konsistensi visual dan audio sebelum menggunakan media yang dibuat dalam produksi.
MiniMax H3 vs. Kling 3.0 Reference-to-Video: Kling menawarkan pembuatan video berpanduan referensi yang kuat. MiniMax H3 membedakan diri melalui alur kerja multimodal yang dapat menggabungkan referensi gambar, video, dan audio dalam satu arahan kreatif.
MiniMax H3 vs. Seedance 2.0 Reference-to-Video: Seedance 2.0 mendukung beberapa mode pembuatan audio-visual. MiniMax H3 merupakan opsi terfokus bagi aplikasi yang membutuhkan penyusunan adegan berbasis referensi dan kontrol tugas.
MiniMax H3 vs. Vidu Q3 Reference-to-Video: Vidu Q3 dirancang untuk pembuatan video berbasis referensi yang konsisten. MiniMax H3 menekankan pemetaan prompt yang fleksibel di berbagai jenis media referensi.
MiniMax H3 vs. Wan 2.7 Reference-to-Video: Wan 2.7 mendukung referensi gambar, video, dan audio untuk alur kerja multimodal. MiniMax H3 menawarkan konsep berbasis referensi yang sebanding dengan jalur integrasi MiniMax tersendiri.
MiniMax H3 vs. Runway Gen-4 References: Runway menyediakan ruang kerja visual yang luas seputar referensi. MiniMax H3 sesuai bagi tim yang ingin menghadirkan pembuatan berbasis referensi melalui produk API atau pipeline konten mereka sendiri.
Jelajahi beberapa alat pembuatan AI untuk alur kerja gambar dan video cepat di browser Anda, lalu skalakan ide yang berhasil dengan API model siap produksi dari Flaq AI. Flaq AI menyediakan lapisan API terpadu untuk semua model, sehingga alur kerja Anda mudah digunakan dan diskalakan.

Buat gambar halus dari prompt dengan model gambar AI terkemuka, pengaturan fleksibel, dan alur kerja berbasis browser yang cepat.

Unggah gambar referensi, arahkan pengeditan dengan prompt, dan transformasikan visual untuk desain, pemasaran, serta produksi kreatif.

Ubah ide adegan tertulis menjadi video AI pendek dengan pemilihan model, prompt gerakan, dan kontrol generasi praktis.

Animasikan gambar referensi menjadi klip video AI yang mulus untuk produk, potret, posting sosial, dan konsep kreatif.