Wan 2.1 Synthetic to Real API
もっと見る
開発元:Alibaba。 このモデルはMartLLMが運用しているものではありません。 MartLLMでは、販売者が自身のプロバイダーアカウントを通じて提供しています。
リクエスト
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/wan-2-1-synthetic-to-real",
"video_url": "https://example.com/clip.mp4"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}UBERLLM_API_KEYにAPIキーを設定してください。 statusが"succeeded"になるまで5秒ごとに/v1/video/generations/<job id>を確認し、キーを使ってファイルをダウンロードします。失敗したジョブは理由が返され、料金はかかりません。 API詳細ガイド
オプション
- タスク
- 送った動画を加工
- 課金単位
- 送った動画1秒あたり
- モデルID
wan/wan-2-1-synthetic-to-real
Wan 2.1 Synthetic to Realを試す
設定
動画
MP4またはMOV。パソコンからは10 MBまで。それより大きい動画(50 MBまで)はリンクを貼ってください。
左の設定と同じリクエストです。そのままコピーできます。
curl https://api.martllm.com/v1/video/generations \
-H "Authorization: Bearer $UBERLLM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/wan-2-1-synthetic-to-real"
}'
# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}Wan 2.1 Synthetic to Real APIパラメーター
| パラメーター | 型 | 説明 |
|---|---|---|
| model | wan/wan-2-1-synthetic-to-real | 必須 |
| video_url | string | 必須. The video to change: an https:// link, a data: URI or a file id from POST /v1/files. MP4 or MOV, up to 50 MB. Billed per second of this video. |
GET https://api.martllm.com/v1/models/wan/wan-2-1-synthetic-to-realから取得。APIが各リクエストの検証に使うのと同じルールです。
Wanモデル比較
| モデル | モデルID | 最低価格(1秒あたり) | 最大 | 最長 |
|---|---|---|---|---|
| Wan 2.1 Synthetic to Real | wan/wan-2-1-synthetic-to-real | |||
| Wan 2.7 Text-to-Video | wan/wan-2-7-text-to-video | $0.11 | 15秒 | |
| Wan 2.2 A14B Text-to-Video | wan/wan-2-2-a14b-text-to-video | $0.0286 | 5秒 | |
| Wan 2.5 Preview Text-to-Video | wan/wan-2-5-preview-text-to-video | $0.0336 | 10秒 | |
| Wan 2.6 Text-to-Video | wan/wan-2-6-text-to-video | $0.11 | 15秒 | |
| Wan 2.6 Flash Image-to-Video | wan/wan-2-6-flash-image-to-video | $0.034 | 1080p | 15秒 |
| Wan 2.7 (image-to-video) | wan/wan-2-7-image-to-video | $0.0862 | 1080p | 15秒 |
| Wan 2.5 Preview (image-to-video) | wan/wan-2-5-preview-image-to-video | $0.0671 | 1080p | 10秒 |
| Wan 2.6 (image-to-video) | wan/wan-2-6-image-to-video | $0.0671 | 1080p | 15秒 |
| Wan 2.7 (reference-to-video) | wan/wan-2-7-reference-to-video | $0.0336 | 1080p | 10秒 |
Wan 2.1 Synthetic to Real APIのよくある質問
Wan 2.1 Synthetic to Realの料金はいくらですか?
Wan 2.1 Synthetic to Realは表示価格で請求され、MartLLMの手数料は上乗せされません。失敗したリクエストは無料です。
Wan 2.1 Synthetic to Realで動画を生成するには?
MartLLMキー、モデルに「wan/wan-2-1-synthetic-to-real」、「video_url」に対象の動画(https://リンク、data: URI、または/v1/filesのファイルID。MP4またはMOV、最大50 MB)を指定して、https://api.martllm.com/v1/video/generationsにPOSTリクエストを送信します。料金は動画の秒数に応じて課金されます。返されたジョブIDを使って、ステータスが「succeeded」になるまでhttps://api.martllm.com/v1/video/generations/<job id>に問い合わせ、完了後にhttps://api.martllm.com/v1/media/artifacts/<job id>/0からダウンロードしてください。