Model API'si
MiniMax H3 LoRA
MiniMax H3 Image to Video LoRA ile video üret ve düzenle.
Model kimliği
minimax/h3/image-to-video/loraBu modelin kendi kimliği olan başka modları da var: 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/image-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/image-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
| Alan | Tür | Açıklama |
|---|---|---|
promptzorunlu | string | Text prompt for video generation |
duration | integer | The duration of the video in seconds. |
resolution | string (enum) | The resolution of the generated video. 480P and 768P are native generation modes; 2K and 4K upscale a 768P base result. |
seed | integer | Random seed. A random seed is selected when omitted. |
sync_mode | boolean | Return the generated video as base64 instead of a CDN URL. |
prompt_expansion_mode | string | How much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'fast' returns in about a second. 'balanced' picks per request. 'quality' spends up to ~30s on a richer prompt. |
target_audio_url | string (URL) | Optional URL of an audio clip at least 2 seconds long (maximum 15 MB) to pin to the generated soundtrack. Longer clips are trimmed to the generated video's length, keeping the beginning. The original audio replaces the output soundtrack, padded with silence if shorter than the video, without changing playback speed. Exceptionally high sample rates may be resampled to 96 kHz. Accepts an HTTP(S) URL or a base64 data URI. |
image_url | string (image URL) | Optional URL of the image to use as the first frame. When provided, the output canvas follows this image. If only end_image_url is provided, the canvas follows that last frame instead. If both images are omitted, the request is handled as text-to-video (16:9 by default). |
end_image_url | string (image URL) | Optional URL of the image to use as the last frame. It may be provided alone for end-only keyframe generation; in that case the output canvas follows this image. |
loraszorunlu | array of objects | List of LoRA adapters to apply to the transformer. |
Çı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$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?