コンテンツへスキップ

MAGI-1 (Distilled)

統合

モデルID magi-distilled
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/magi-distilled?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

例と同様のファイル: $0.32 320 APIクレジット · ≈ ₽33.75 実行前にファイルを計測します このページで実行

APIキーを取得
Sand AI テキストから動画 高速720pまで #text-to-video

480pまたは720p出力と、4~32から選択できるステップ数に対応するdistilled MAGI-1 text-to-video

Sand AI · 動画

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須

動画生成を導くテキスト指示。

resolution デフォルト 720p

出力動画の解像度。480pまたは720p。

num_inference_steps デフォルト 16

サンプリングステップ数。増やすほど処理時間が長くなる代わりに品質が向上します。

aspect_ratio デフォルト auto

生成動画の縦横比。'auto'に設定すると入力画像から自動選択されます。

デフォルト 96

出力フレーム数。最小96、最大192です。

詳細設定 seed · enable_safety_checker

生成を再現可能にするシード。None に設定するとシードをランダムに選択します。

POST /run/magi-distilled?wait=20 見積もり → $0.32
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/magi-distilled?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

MAGI-1 (Distilled)について

テキスト`prompt`から動画を生成します。`num_frames`は96~192、`resolution`は480pまたは720p、`aspect_ratio`はauto、16:9、9:16、1:1です。`num_inference_steps`は4、8、16、32から選択し、品質と速度を調整できます。`seed`で再現可能な結果を生成できます。

パラメータ

名前型 デフォルト許可される値 説明
prompt必須
型string
動画生成を導くテキスト指示。
num_frames任意
型integer | null
デフォルト96
96 – 192
出力フレーム数。最小96、最大192です。
seed任意
型integer | null
生成を再現可能にするシード。None に設定するとシードをランダムに選択します。
resolution任意
型enum
デフォルト720p
480p720p
出力動画の解像度。480pまたは720p。
num_inference_steps任意
型enum
デフォルト16
481632
サンプリングステップ数。増やすほど処理時間が長くなる代わりに品質が向上します。
enable_safety_checker任意
型boolean
デフォルトtrue
安全性チェックの切り替え。オフにするにはアカウント認証が必要です。認証がない場合、設定に関係なくすべてのリクエストがチェックされます。trueでチェッカーを有効にします。
aspect_ratio任意
型enum
デフォルトauto
auto16:99:161:1
生成動画の縦横比。'auto'に設定すると入力画像から自動選択されます。
必須

出力

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "magi-distilled",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 320,
    "usd": "0.32",
    "charged": 320,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
video
object {url, content_type, file_name, file_size}生成された動画ファイル。
seed
integer生成時に適用したシード値。

その他のモデル: テキストから動画

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/magi-distilled.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt