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

Her istekte bunu kullan
minimax/h3-max/3d-to-video

Bu 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/insert-video, minimax/h3-max/extend-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/3d-to-video",
  "input": {
    "video_url": "https://example.com/input.mp4",
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 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/3d-to-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"}}'

# 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-max/3d-to-video girdi alanları
AlanTürAçıklama
video_urlzorunlustring (URL)
Blender video, up to 15 seconds and 32 shots, at a public HTTPS URL.
promptstring
Optional clarification of what your proxies represent or how they move, for example: 'The moving block represents a running person.' Camera, trajectories, timing and object count remain defined by the video.
reference_image_urlsarray of image URLs
Optional environment, subject, interior or detail references. When supplied, uses these images directly without visual planning or generating new images; Scene Intent is optional. Without references, automatically creates appearance references within your new-image limit. Camera and movement always come from the video.
max_generated_reference_imagesinteger
Maximum NEW images to generate when no reference images are supplied. Ignored when reference images are supplied. Uses fewer when enough views are covered. Uncovered shots stay in the video.

Varsayılan: 2

resolutionstring (enum)
Output quality. Duration is taken automatically from the video.

Varsayılan: 768P

Seçenekler: 480P, 768P, 1080P

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

  • 1080P · saniye başına · en az$0,2536/ saniye
  • 480P · saniye başına · en az$0,0793/ saniye
  • 768P · saniye başına · en az$0,1268/ saniye

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