# MiniMax H3

> MiniMax H3, MiniMax'in 15 saniyeye kadar klipler için geliştirdiği video modelidir. 768p veya 2K çözünürlükte çalışır ve stereo sesi videoyla birlikte kendisi üretir. Videonuzu bir istemden, ilk ve son kareden ya da referans görsellerden, videodan ve sesten oluşturun. Çözünürlüğü ve süreyi seçmek ve oluşturmadan önce fiyatı görmek için modeli Studio'da açın.

MiniMax H3, MiniMax tarafından geliştirilen bir yapay zeka video oluşturma aracıdır. minimax/h3 model kimliğiyle Kerox API'ye istek göndererek kullanın veya kod yazmadan Studio'da oluşturun. Kerox'ta fiyatları şu tutardan başlar: $0.0400 / saniye, resmî fiyatın %50 altında; abonelik gerekmez.

## Fiyatlandırma

| Model | ID | Faturalandırma | Kerox fiyatı | İndirim |
| --- | --- | --- | --- | --- |
| MiniMax H3 | `minimax/h3` | Saniye başına | 2K: $0.0650, 768p: $0.0400 | Resmi fiyatın %50 altında |

- [MiniMax H3 fiyatlandırması](https://kerox.ai/tr/pricing#pricing-minimax/h3)
- [MiniMax H3 API belgeleri](https://kerox.ai/tr/docs/models/minimax/h3)
- [MiniMax H3](https://kerox.ai/tr/models/minimax/h3)

## MiniMax H3 hakkında

MiniMax H3, MiniMax'in 31 Temmuz 2026'da piyasaya sürdüğü bir video oluşturma modelidir. MiniMax onu genel amaçlı, çok modlu bir oluşturma modeli olarak tanımlıyor. Model metni, görselleri, videoyu ve sesi tek bir bağlam olarak okur ve videoyu, kendi ürettiği stereo sesle birlikte oluşturur. Şirketin önceki Hailuo 01 ve Hailuo 02 modellerinin devamıdır.

### MiniMax'e göre H3'ün getirdikleri

- **Her görev için tek model.** Metinden videoya, görselden videoya, referansa dayalı oluşturma ve düzenleme işlemlerinin tümü H3 üzerinde çalışır. Önceki modeller ise bu görevlerin her biri için ayrı ayrı tasarlanmıştı.
- **Görüntüyle birlikte üretilen ses.** Konuşma, ses efektleri ve müzik birlikte modellenir ve stereo olarak üretilir.
- **2K çıktı.** H3, kendi düşük çözünürlüklü sonucunu yeniden oluşturarak 2K'ya ulaşır. MiniMax'e göre bu yöntem küçük metinleri ve ince ayrıntıları geri kazandırır.
- **Esnek referanslar.** Bir referans dosyası bir karakteri, bir hareketi, bir kamera hareketini, bir stili, bir sesi veya bir kurgu ritmini temsil edebilir.
- **İsteme sıkı uyum.** MiniMax; talimatlara uyumu, metinleri ve marka öğelerini görüntüde doğru yansıtmayı ve referans videodan hareket aktarımını güçlü yönleri arasında sayıyor.

MiniMax, H3'ün gelişmeye açık olduğu alanları da belirtiyor: çok modlu anlama, mevcut model boyutunun sınırladığı yetenekler ve bazı sahnelerdeki görsel ayrıntılar.

Kerox'ta MiniMax H3; 768p ve 2K çözünürlükte, 4 ile 15 saniye arası sürelerde, altı en boy oranında veya otomatik modda çalışır. Model ve H3 Max hakkında daha fazla bilgi için şu yazıya göz atın: [MiniMax H3 nedir?](https://kerox.ai/tr/blog/what-is-minimax-h3)

## MiniMax H3 nasıl kullanılır

1. **Bakiye yükleyin** En az $10 tutarında bakiye ekleyin. Abonelik gerekmez ve bakiyenizin süresi dolmaz.
2. **Videoyu ayarlayın** Bir istem yazın; çözünürlüğü, süreyi ve en boy oranını seçin. Gerekirse bir ilk kare veya referans dosyaları ekleyin. Bu ayarların fiyatı başlamadan önce gösterilir.
3. **Oluştur ve indir** Tutar, oluşturmayı başlattığınızda bloke edilir ve video tamamlandığında tahsil edilir. Oluşturma başarısız olursa bloke edilen tutarın tamamı iade edilir.

## MiniMax H3 ile neler yapabilirsiniz

- **Metinden sesli video.** Yalnızca bir istemle konuşma sesi, efektler ve müzik içeren bir klip elde edersiniz.
- **Görselden videoya.** Bir ilk kareyle başlayın, model onu canlandırsın.
- **İlk ve son kare.** Klibin başlangıç ve bitiş karelerini belirleyin, model aradaki hareketi tamamlasın.
- **Referanslarınıza uyan videolar.** En fazla 9 görsel, 3 video klip ve 3 ses klibi ekleyin ve her birinin ne için olduğunu istemde belirtin: bir karakter, bir kamera hareketi, bir kişinin sesi.
- **Mevcut bir klibi değiştirin.** Bir videoyu referans olarak verin ve neyin farklı olması gerektiğini anlatın.

## MiniMax H3 ile Kerox'taki diğer modellerin karşılaştırması

Bu modellerin tümü aynı bakiyeyi kullanır ve aynı API üzerinden erişilebilir. Geçiş yapmak için model kimliğini değiştirin ve diğer modelin desteklediği ayarlarda kalın. Başlangıç fiyatları tabloda yer alır.

| Model | Ne zaman seçmelisiniz | Başlangıç fiyatı |
| --- | --- | --- |
| [MiniMax H3](https://kerox.ai/tr/models/minimax/h3) | 768p veya 2K çözünürlükte, 4 ila 15 saniyelik sesli klipler. Nihai klip için ve 2K gerektiğinde tercih edin. | 2K: $0.0650, 768p: $0.0400 |
| [MiniMax H3 Max](https://kerox.ai/tr/models/minimax/h3-max) | H3 üzerine kurulu hızlı model; 480p veya 768p çözünürlükte 5 ila 15 saniyelik klipler. 768p yeterli olduğunda hızlı taslaklar için tercih edin. | 480p: $0.0450, 768p: $0.0720 |
| [Seedance 2.5](https://kerox.ai/tr/models/bytedance/seedance-2.5) | ByteDance'in video modeli; 1080p'ye kadar çözünürlükte 4 ila 30 saniyelik klipler. Tek bir klibin 15 saniyeden uzun olması gerektiğinde tercih edin. | Yaklaşık $0.0977 / sn'den başlayan fiyatlarla (480p) |
| [Seedance 2.0](https://kerox.ai/tr/models/bytedance/seedance-2.0) | ByteDance'in video modeli; 4 ila 15 saniyelik klipler, 4K çıktı seçeneğiyle. 4K gerektiğinde tercih edin. | Yaklaşık $0.0668 / sn'den başlayan fiyatlarla (480p) |
| [Kling 4.0](https://kerox.ai/tr/models/kuaishou/kling-4.0) | Kuaishou'nun video modeli; 720p, 1080p veya 4K çözünürlükte 3 ila 30 saniyelik klipler. 4K çözünürlükte uzun klipler için tercih edin. | 4K: $0.4941, 720p: $0.1413, 1080p: $0.2115 |
| [Wan 3.0](https://kerox.ai/tr/models/alibaba/wan-3.0) | Alibaba'nın video modeli; 1080p'ye kadar çözünürlükte 2 ila 30 saniyelik klipler. Çok kısa klipler için tercih edin. | 480p: $0.0400, 720p: $0.0800, 1080p: $0.1600 |

## SSS

### MiniMax H3 modelinin ücreti ne kadar?

Kerox'ta MiniMax H3 modelinin fiyatları şu tutardan başlar: $0.0400 / saniye, resmî fiyatın %50 altında. Oluşturma başına ödersiniz ve oluşturma işlemi başarısız olursa ücret alınmaz. Bu sayfadaki fiyat tablosu tüm seçenekleri listeler.

### MiniMax H3 modelinin API'si var mı?

Evet. minimax/h3 model kimliğiyle Kerox API'ye bir görev isteği gönderin; ardından görevin durumunu düzenli aralıklarla sorgulayın veya görev tamamlandığında bir Webhook bildirimi alın. MiniMax H3 için API belgeleri, tüm parametreleri kod örnekleriyle birlikte listeler.

### MiniMax H3 modelini kod yazmadan çevrimiçi kullanabilir miyim?

Evet. MiniMax H3 modelini Kerox Studio içinde açın, bir istem yazın ve tarayıcınızda oluşturun. Studio ve API aynı bakiyeyi kullanır.

### MiniMax H3 modelini kullanmak için abonelik gerekir mi?

Hayır. Abonelik planı veya aylık ücret yoktur. En az $10 tutarında bakiye yükleyerek başlayın ve yalnızca oluşturduğunuz içerikler için ödeme yapın.

### MiniMax H3 modelini nasıl kullanırım?

Kerox'ta oturum açın, MiniMax H3 modelini Studio'da açın, bir istem yazın ve tarayıcınızda oluşturun. Kod üzerinden kullanmak için bir API anahtarı oluşturun ve minimax/h3 model kimliğiyle bir görev isteği gönderin.

### MiniMax H3 ne için kullanılır?

Metinden, bir görselden veya referanslardan oluşturulan sesli kısa videolar için. MiniMax bunu oluşturma, referansa dayalı üretim ve video düzenleme için tek bir model olarak sunar. Tipik kullanımlar arasında durağan bir görselden ürün klibi, bir karakterin sahne boyunca tutarlı kaldığı bir sahne veya bir referans klibin hareketine ya da kamera hareketine uyan bir video yer alır.

### MiniMax H3'ü ücretsiz kullanabilir miyim?

Kerox'ta hayır. Şu anda ücretsiz plan veya ücretsiz deneme bulunmuyor. $10 tutarından itibaren bakiye yükleyin ve yalnızca oluşturduğunuz içerik için ödeme yapın.

### MiniMax H3 açık kaynak mı?

Kısmen. MiniMax, 768p çözünürlükte sesli video oluşturan H3 Base'in ağırlıklarını MiniMax H3 Community License kapsamında yayımladı. Tam sistemin iki bölümü yayımlanmadı: istemleri ve referansları hazırlayan adım ile 2K çıktıyı üreten adım. Kerox'ta H3 barındırılan bir modeldir: Studio'da veya API üzerinden oluşturursunuz; indirmeniz ya da kendi ortamınıza kurmanız gereken hiçbir şey yoktur.

### MiniMax H3 ile H3 Max arasındaki fark nedir?

Çözünürlük ve hız. H3, 768p veya 2K çözünürlükte 4 ila 15 saniyelik klipler oluşturur. H3 Max, H3 üzerine kurulu hızlı modeldir: 480p veya 768p çözünürlükte 5 ila 15 saniyelik klipler oluşturur ve 2K desteği yoktur. Her ikisi de aynı türde girdileri kabul eder, bu nedenle bir istem ve referansları ikisi arasında taşınabilir. Çözünürlük ve süre, diğer modelin desteklediği değerler olmalıdır. Her birinin kendi fiyatı vardır ve yukarıdaki karşılaştırma tablosunda gösterilir.

### MiniMax H3 bir görseli videoya dönüştürebilir mi?

Evet. Bir ilk kare yükleyip hareketi tarif edin ya da bir ilk ve bir son kare belirleyip aradakileri modelin tamamlamasına izin verin. İlk kare, aynı istekte referans görseller, video veya sesle birlikte kullanılamaz.

### MiniMax H3 ses oluşturuyor mu?

Evet. Ses, varsayılan olarak videoyla birlikte oluşturulur. Sessiz bir klip için Studio'da Ses oluştur seçeneğini kapatın veya API'de `generate_audio` değerini false olarak ayarlayın.


---

## Request example

Submit a task and get its id at once; get the result by polling (below) or by [webhook](https://kerox.ai/tr/docs/webhooks.md). `webhook_url` and `metadata` are optional. To use a webhook, provide your own public HTTPS address in `webhook_url`. Every field is in [Submit a task](https://kerox.ai/tr/docs/tasks.md#submit-body).

Set `KEROX_API_KEY` first. Polling requires Bash, curl and jq. For Python, run `pip install requests` first.

### cURL

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'
```

### Python

```python
import os
import requests

resp = requests.post(
    "https://api.kerox.ai/v1/tasks",
    headers={
        "Authorization": f"Bearer {os.environ['KEROX_API_KEY']}",
        "Content-Type": "application/json",
    },
    json={
        "model": "minimax/h3",
        "input": {
            "prompt": "a red fox running through fresh snow, cinematic lighting",
            "resolution": "768p",
            "duration": 5,
            "aspect_ratio": "16:9",
        },
    },
    timeout=60,
)
resp.raise_for_status()
task = resp.json()
print(task["id"], task["status"])  # Save the id for polling
```

### Node.js

```javascript
const res = await fetch('https://api.kerox.ai/v1/tasks', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.KEROX_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "minimax/h3",
    "input": {
      "prompt": "a red fox running through fresh snow, cinematic lighting",
      "resolution": "768p",
      "duration": 5,
      "aspect_ratio": "16:9"
    }
  }),
});
const task = await res.json();
if (!res.ok) throw new Error(JSON.stringify(task));
console.log(task.id, task.status); // Save the id for polling
```

### Go

```go
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
	"os"
	"time"
)

func main() {
	body := []byte(`{
  "model": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}`)
	req, _ := http.NewRequest("POST", "https://api.kerox.ai/v1/tasks", bytes.NewReader(body))
	req.Header.Set("Authorization", "Bearer "+os.Getenv("KEROX_API_KEY"))
	req.Header.Set("Content-Type", "application/json")
	client := &http.Client{Timeout: 60 * time.Second}
	resp, err := client.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()
	out, _ := io.ReadAll(resp.Body)
	if resp.StatusCode >= 400 {
		fmt.Fprintln(os.Stderr, string(out))
		os.Exit(1)
	}
	fmt.Println(string(out))
}
```

### Reference image

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "Image 1: the lighthouse beam sweeps slowly across the water",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "images": [
      "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
    ]
  }
}'
```

### First frame

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "A lighthouse beam sweeps slowly across the waves",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "auto",
    "first_frame": "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
  }
}'
```

### First and last frames

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "Slowly dissolve from the coast to the cabin by the lake",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "auto",
    "first_frame": "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp",
    "last_frame": "https://cdn.kerox.ai/assets/samples/seedream-5.0-pro/alpine-cabin-dawn.webp"
  }
}'
```

### Reference video

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "Use the camera motion of Video 1 for a flyover of a rocky coastline",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "videos": [
      "https://cdn.kerox.ai/assets/samples/seedance-2.0/sea-stacks-fog.mp4"
    ]
  }
}'
```

### Reference audio

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "Show a dinosaur at dusk and time its roar to Audio 1",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "images": [
      "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
    ],
    "audios": [
      "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"
    ]
  }
}'
```

## Parameters

The [parameter names](https://kerox.ai/tr/docs/models.md) mean the same on every model.

| Parameter | Type | Required | Default | Values | Description | Example |
| --- | --- | --- | --- | --- | --- | --- |
| `prompt` | string | Yes | — | at least one non-whitespace character; 1–7000 characters | Text describing what to generate. | `"A lighthouse at dawn"` |
| `images` | string \| string[] | No | — | one public HTTPS URL; one string or an array of 1–9 items; Model file limits: JPG, JPEG, PNG, WebP, HEIC or HEIF, up to 30 MB each, 256–5760 px per side, aspect ratio 0.4–2.5 | Images for the model to draw on, in the order the prompt refers to them. | `"https://example.com/photo.png"` |
| `videos` | string \| string[] | No | — | one public HTTPS URL; one string or an array of 1–3 items; Model file limits: MP4 or MOV (H.264/H.265), up to 50 MB each, 256–5760 px per side, aspect ratio 0.4–2.5, 23.976–60 fps, 2–15 s per clip and at most 15 s total | Videos for the model to draw on, in the order the prompt refers to them. | `"https://example.com/clip.mp4"` |
| `audios` | string \| string[] | No | — | one public HTTPS URL; one string or an array of 1–3 items; Model file limits: WAV or MP3, up to 15 MB each, 2–15 s per clip and at most 15 s total | Audio clips for the model to draw on, in the order the prompt refers to them. | `"https://example.com/music.wav"` |
| `first_frame` | string | No | — | one public HTTPS URL; Model file limits: JPG, JPEG, PNG, WebP, HEIC or HEIF, up to 30 MB each, 256–5760 px per side, aspect ratio 0.4–2.5 | The image a video starts from. | `"https://example.com/start.png"` |
| `last_frame` | string | No | — | one public HTTPS URL; Model file limits: JPG, JPEG, PNG, WebP, HEIC or HEIF, up to 30 MB each, 256–5760 px per side, aspect ratio 0.4–2.5 | The image a video ends on. Needs `first_frame`. | `"https://example.com/end.png"` |
| `aspect_ratio` | string | No | `"auto"` | auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Width to height of the output. | `"16:9"` |
| `resolution` | string | No | `"768p"` | 768p, 2K | Output resolution tier. The exact pixels follow from it and `aspect_ratio`. | `"768p"` |
| `duration` | integer | No | `5` | 4–15 | Length of the output in whole seconds. | `5` |
| `generate_audio` | boolean | No | `true` | true, false | Whether the video comes with generated sound (voice, effects, music). | `true` |
| `n` | integer | No | `1` | 1 | How many outputs one task may produce. | `1` |

- last_frame requires first_frame
- When first_frame: omit images or videos or audios
- When audios: supply images or videos

Use a public HTTPS URL directly for images, audio and video. For local media, upload with `POST /v1/files` and pass the returned `url`. For upload MIME and size limits, see [Files & inputs](https://kerox.ai/tr/docs/files.md#presigned).

Not supported yet: `watermark`.

## Polling and output

Poll `GET /v1/tasks/{id}`, or pass `webhook_url` when you submit and receive the same task object when it finishes: see [Webhooks](https://kerox.ai/tr/docs/webhooks.md) for the setup. Output files expire at `expires_at` (7 days after completion), so download anything you want to keep. See every task field in [Tasks & polling](https://kerox.ai/tr/docs/tasks.md#submit-response).

Set `TASK_ID` to the `id` returned on submission. The script waits up to 10 minutes, prints `error` on failure and downloads every `outputs[].url` on success.

```bash
(
  set -eu
  # Set TASK_ID to the id returned by the submit request.
  : "${TASK_ID:?Set TASK_ID}"
  deadline=$((SECONDS + 600))
  while (( SECONDS < deadline )); do
    task=$(curl --fail-with-body --silent --show-error --max-time "$((deadline - SECONDS))" https://api.kerox.ai/v1/tasks/"$TASK_ID" \
      -H "Authorization: Bearer $KEROX_API_KEY")
    case $(jq -er .status <<< "$task") in
      succeeded)
        if ! jq -e '.outputs | length > 0' <<< "$task" >/dev/null; then
          echo "Result files are unavailable." >&2
          exit 1
        fi
        i=0
        while IFS= read -r url; do
          file_path=${url%%\?*}
          filename="output-${i}.${file_path##*.}"
          curl --fail-with-body --silent --show-error --max-time 120 "$url" -o "$filename"
          printf "%s\n" "$filename"
          i=$((i + 1))
        done < <(jq -r '.outputs[].url' <<< "$task")
        exit 0 ;;
      failed) jq -c .error <<< "$task" >&2; exit 1 ;;
      processing) sleep 2 ;;
      *) echo "Unexpected task status." >&2; exit 1 ;;
    esac
  done
  echo "Poll timed out. Keep TASK_ID to check again later." >&2
  exit 1
)
```

### Success response JSON

Actual charges depend on your account price and task result.

```json
{
  "id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
  "object": "task",
  "model": "minimax/h3",
  "status": "succeeded",
  "source": "api",
  "format": "unified",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://cdn.kerox.ai/t/task_01JD8X9B4Q2M7T8N3K5P6R1S0V/5f2b8c1e9d3a4f6b8a7c0d1e2f3a4b5c/0.mp4",
      "content_type": "video/mp4",
      "duration": 5
    }
  ],
  "outputs_deleted": false,
  "error": null,
  "cost": {
    "amount": "0.2000",
    "currency": "USD",
    "status": "settled"
  },
  "metadata": null,
  "warnings": [],
  "created_at": "2026-11-20T08:00:00Z",
  "started_at": "2026-11-20T08:00:01Z",
  "completed_at": "2026-11-20T08:01:10Z",
  "expires_at": "2026-11-27T08:01:10Z"
}
```

## Pricing

| Tier | Official / second | Kerox / second | Below official price |
| --- | --- | --- | --- |
| 2K | $0.1300 | $0.0650 | 50% |
| 768p | $0.0800 | $0.0400 | 50% |

- **Reference images**: the first 5 are free; each one after that adds $0.0200 (official $0.0400).
- **Reference videos**: their length is billed at the same per-second rate as the output: billed seconds = reference video seconds + output seconds.

### Estimate before submitting

The returned `amount` is what submitting would hold. An estimate creates no task and charges nothing. When `exact` is `false`, the final charge may differ from the hold.

### Without a reference video

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/estimate \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'
```

### With a reference video

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/estimate \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "videos": [
      "https://cdn.kerox.ai/assets/samples/seedance-2.0/sea-stacks-fog.mp4"
    ]
  }
}'
```

## Common usage

| Clip | Official price | Kerox | You save |
| --- | --- | --- | --- |
| 5 s · 2K | $0.6500 | $0.3250 | 50% |
| 10 s · 2K | $1.3000 | $0.6500 | 50% |
| 15 s · 2K | $1.9500 | $0.9750 | 50% |
| 5 s · 768p | $0.4000 | $0.2000 | 50% |
| 10 s · 768p | $0.8000 | $0.4000 | 50% |
| 15 s · 768p | $1.2000 | $0.6000 | 50% |

- **$10 gets you**: 250 seconds of 768p video

## Input schema (JSON)

### Parameters (`unified.input_schema`)

```json
{
  "type": "object",
  "allOf": [
    {
      "if": {
        "required": [
          "first_frame"
        ],
        "properties": {
          "first_frame": true
        }
      },
      "then": {
        "not": {
          "anyOf": [
            {
              "required": [
                "images"
              ],
              "properties": {
                "images": true
              }
            },
            {
              "required": [
                "videos"
              ],
              "properties": {
                "videos": true
              }
            },
            {
              "required": [
                "audios"
              ],
              "properties": {
                "audios": true
              }
            }
          ]
        }
      }
    },
    {
      "if": {
        "required": [
          "audios"
        ],
        "properties": {
          "audios": true
        }
      },
      "then": {
        "anyOf": [
          {
            "required": [
              "images"
            ],
            "properties": {
              "images": true
            }
          },
          {
            "required": [
              "videos"
            ],
            "properties": {
              "videos": true
            }
          }
        ]
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "pattern": "\\S",
      "maxLength": 7000,
      "minLength": 1,
      "description": "Text describing what to generate.",
      "x-label-en": "Prompt",
      "x-label-zh": "提示词",
      "x-tier": "common"
    },
    "images": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          },
          "maxItems": 9,
          "minItems": 1
        }
      ],
      "description": "Images for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference images",
      "x-label-zh": "参考图",
      "x-tier": "common"
    },
    "videos": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          },
          "maxItems": 3,
          "minItems": 1
        }
      ],
      "description": "Videos for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference videos",
      "x-label-zh": "参考视频",
      "x-tier": "advanced"
    },
    "audios": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          },
          "maxItems": 3,
          "minItems": 1
        }
      ],
      "description": "Audio clips for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference audio",
      "x-label-zh": "参考音频",
      "x-tier": "advanced"
    },
    "first_frame": {
      "type": "string",
      "pattern": "^https://",
      "description": "The image a video starts from.",
      "x-label-en": "First frame",
      "x-label-zh": "首帧",
      "x-tier": "common"
    },
    "last_frame": {
      "type": "string",
      "pattern": "^https://",
      "description": "The image a video ends on. Needs `first_frame`.",
      "x-label-en": "Last frame",
      "x-label-zh": "尾帧",
      "x-tier": "advanced"
    },
    "aspect_ratio": {
      "enum": [
        "auto",
        "21:9",
        "16:9",
        "4:3",
        "1:1",
        "3:4",
        "9:16"
      ],
      "type": "string",
      "default": "auto",
      "description": "Width to height of the output.",
      "x-label-en": "Aspect ratio",
      "x-label-zh": "画面比例",
      "x-tier": "common"
    },
    "resolution": {
      "enum": [
        "768p",
        "2K"
      ],
      "type": "string",
      "default": "768p",
      "description": "Output resolution tier. The exact pixels follow from it and `aspect_ratio`.",
      "x-label-en": "Resolution",
      "x-label-zh": "分辨率",
      "x-tier": "common"
    },
    "duration": {
      "type": "integer",
      "default": 5,
      "maximum": 15,
      "minimum": 4,
      "description": "Length of the output in whole seconds.",
      "x-label-en": "Duration",
      "x-label-zh": "时长",
      "x-tier": "common"
    },
    "generate_audio": {
      "type": "boolean",
      "default": true,
      "description": "Whether the video comes with generated sound (voice, effects, music).",
      "x-label-en": "Generate audio",
      "x-label-zh": "生成声音",
      "x-tier": "common"
    },
    "n": {
      "type": "integer",
      "const": 1,
      "default": 1,
      "description": "How many outputs one task may produce.",
      "x-label-en": "Number of outputs",
      "x-label-zh": "生成数量",
      "x-tier": "advanced"
    }
  },
  "x-unsupported": [
    "watermark"
  ],
  "dependentRequired": {
    "last_frame": [
      "first_frame"
    ]
  },
  "additionalProperties": false
}
```
