Model API'si
MiniMax H3 Max
Metinden yeni bir video oluştur veya elindeki fotoğrafı hareketlendir. Mevcut bir klibi değiştirmek için ilgili video düzenleme işlemini seç; her işlem kendi model kimliğini kullanır.
Model kimliği
minimax/h3-max/insert-videoBu modelin kendi kimliği olan başka modları da var: minimax/h3-max/text-to-video, minimax/h3-max/image-to-video, minimax/h3-max/camera-controls, minimax/h3-max/extend-video, minimax/h3-max/3d-to-video.
Çalıştır
Girdiye ücret teklifi al, bu teklifle üretimi başlat, ardından işin durumunu sorgula. Önce RAYWAKE_API_KEY değişkenini ayarla; ayrıntılar için Kimlik doğrulama sayfasına bak.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/h3-max/insert-video",
"input": {
"video_url": "https://example.com/input.mp4",
"prompt": "A red ceramic cup on a wooden table, soft morning light",
"start_time": 1.625,
"resume_time": 1
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "minimax/h3-max/insert-video", "quote_id": "QUOTE_ID", "input": {"video_url":"https://example.com/input.mp4","prompt":"A red ceramic cup on a wooden table, soft morning light","start_time":1.625,"resume_time":1}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Girdi
| Alan | Tür | Açıklama |
|---|---|---|
video_urlzorunlu | string (URL) | Video |
prompt | string | Komut |
reference_image_urls | array of image URLs | Referans görseller |
start_timezorunlu | number | Start Time |
resume_timezorunlu | number | Resume Time |
duration | number | Süre |
resolution | string (enum) | Çözünürlük |
seed | integer | Seed |
enable_prompt_expansion | boolean | Komutu genişlet |
color_match | boolean | Color Match |
Çıktı
Başarılı bir iş, sonuçlarını outputs altında listeler; dosyalar bizim tarafımızda saklanır. Tüm alanlar için İşler sayfasına bak.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]Fiyatlandırma
- 480p · saniye başına · en az$0,0793/ saniye
- 768p · saniye başına · en az$0,0951/ saniye
Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?