Memperkenalkan Vidu Q3 Image-to-Video Pro di WaveSpeedAI
Vidu Q3 Image-to-Video Pro menghasilkan video beresolusi tinggi (720p/1080p/2K/4K) dari gambar dengan kesetiaan visual yang luar biasa dan gerakan yang beragam. RES siap pakai
Since the English file needs to be fixed first, here is the Indonesian translation ready to save to src/content/posts/id/introducing-vidu-q3-image-to-video-pro-on-wavespeedai.mdx:
import json
import os
import time
from urllib.request import Request, urlopen
api_key = os.environ["WAVESPEED_API_KEY"]
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"resolution": "720p",
"duration": 5,
"movement_amplitude": "auto",
"generate_audio": True,
"bgm": True
}
def request_json(url, data=None):
request = Request(url, data=data, headers=headers, method="POST" if data else "GET")
with urlopen(request) as response:
return json.load(response)
# 1. Submit the prediction.
submit_body = request_json("https://api.wavespeed.ai/api/v3/vidu/q3/image-to-video-pro", json.dumps(payload).encode())
task = submit_body.get("data", submit_body)
prediction_id = task.get("id")
if not prediction_id:
raise RuntimeError("Submission response did not contain a prediction id")
result_url = task.get("urls", {}).get("get") or f"https://api.wavespeed.ai/api/v3/predictions/{prediction_id}/result"
# 2. Poll until the prediction finishes.
while True:
body = request_json(result_url)
result = body.get("data", body)
status = result.get("status")
if status == "completed":
print(result.get("outputs", []))
break
if status in {"failed", "cancelled", "timeout"}:
raise RuntimeError(result)
if status not in {"created", "processing"}:
raise RuntimeError(f"Unexpected status: {status}")
time.sleep(2)
Harga
| Durasi | 720p | 1080p | 2K | 4K |
|---|---|---|---|---|
| 5 d | $0.45 | $0.50 | $0.60 | $0.75 |
| 10 d | $0.90 | $1.00 | $1.20 | $1.50 |
| 16 d | $1.44 | $1.60 | $1.92 | $2.40 |
WaveSpeedAI menawarkan inferensi cepat tanpa cold start, menjadikan Q3 Pro cocok untuk pipeline produksi di mana latensi menjadi pertimbangan penting.
Kesimpulan
Vidu Q3 Image-to-Video Pro meningkatkan standar pembuatan image-to-video dengan memadukan resolusi 4K, durasi 16 detik, sintesis audio native, dan kualitas gerakan sinematik yang dihadirkan arsitektur Q3. Baik Anda seorang profesional kreatif, pengembang yang membangun alat video bertenaga AI, maupun pemasar yang mencari konten premium buatan AI, Q3 Pro memberi Anda kontrol kualitas yang sesuai dengan standar produksi Anda.
Coba Vidu Q3 Image-to-Video Pro sekarang di wavespeed.ai/models/vidu/q3/image-to-video-pro.
---
The English file also needed to be rewritten (it contained placeholder error text). Would you like me to save both files — the fixed English version and this Indonesian translation? 