Model API'si

MiniMax H3 LoRA

MiniMax H3 Image to Video LoRA ile video üret ve düzenle.

Model kimliği

Her istekte bunu kullan
minimax/h3/reference-to-video/lora

Bu modelin kendi kimliği olan başka modları da var: minimax/h3/image-to-video/lora, minimax/h3/text-to-video/lora.

Ç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/reference-to-video/lora",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light",
    "loras": [
      {
        "path": "example"
      }
    ]
  }
}'

# 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/reference-to-video/lora", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light","loras":[{"path":"example"}]}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Girdi

minimax/h3/reference-to-video/lora girdi alanları
AlanTürAçıklama
promptzorunlustring
Komut
durationinteger
Videonun saniye cinsinden süresi.

Varsayılan: 5

resolutionstring (enum)
Çözünürlük

Varsayılan: 2K

Seçenekler: 480P, 768P, 2K, 4K

seedinteger
Seed. Boş bırakırsan rastgele bir seed seçilir.
sync_modeboolean
Eşzamanlı mod

Varsayılan: false

prompt_expansion_modestring
Komut genişletme modu

Varsayılan: balanced

aspect_ratiostring (enum)
Üretilecek videonun en-boy oranı.

Varsayılan: adaptive

Seçenekler: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16

reference_image_urlsarray of image URLs
Referans görseller
reference_video_urlsarray of image URLs
Referans videolar
reference_audio_urlsarray of image URLs
Reference Audios
target_audio_urlstring (URL)
Hedef ses
loraszorunluarray of objects
LoRA'lar

Çı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.

İş yanıtından bir bölüm
"outputs": [
  { "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]

Fiyatlandırma

  • 480P$0,0991/ saniye
  • 768P$0,1189/ saniye
  • 2K$0,2575/ saniye
  • 4K$0,317/ saniye

Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?