パラメータ
prompt必須タイプ
text
値
text description
デフォルト
required
価格
—
Seedance 2.0 Face — 一時的に利用できません。
seedance-2.0-face:whiteSeedance 2.0 Face — 一時的に利用できません。
生成は非同期で実行されます。ジョブを作成し、完了するまでステータスをポーリングします。
Bearerヘッダーにキーを渡します。APIはjobIdステータスをポーリングするために使用します。
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"seedance-2.0-face:white","prompt":"a beautiful landscape","opts":{"duration":"5","resolution":"480P"}}'const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "seedance-2.0-face:white",
"prompt": "a beautiful landscape",
"opts": {
"duration": "5",
"resolution": "480P"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);GetVibe API経由でSeedance 2.0 Faceにリクエストする際のパラメータ。
prompt必須image_urlvideo_urldurationresolutionimage_file_idimage_base64video_file_idvideo_base64| パラメータ | タイプ | 値 | デフォルト | 価格 |
|---|---|---|---|---|
prompt必須 | text | text description | required | — |
image_url | URL | Public image URL | — | — |
video_url | URL | Public video URL | — | — |
duration | option selection | 5 (default) | 5 | Included in the base price |
resolution | option selection | 480P (default) · 720P · 1080P | 480P | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
video_file_id | text | Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
video_base64 | text | Alternative to video_url: the file inline, as base64 or a data: URI | — | Included in the base price |
リクエスト: POST https://getvibeapi.com/api/media/generate。価格はUSDです。
Seedance 2.0 Faceの価格を確認中です。この契約について、プロバイダーは初回確定価格をまだ公開していません。価格が確定すると生成を利用できるようになります。
Seedance 2.0 Faceの機械可読な契約には、リクエストスキーマ、操作、制限、ポーリング、レスポンスの例が含まれています。
# Seedance 2.0 Face
公開モデル: seedance-2.0-face:white
ジョブを作成: POST /api/media/generate
ステータスを確認: GET /api/media/jobs/{jobId}
## 入力パラメータ
- `prompt` (text): text description; デフォルト: required
- `image_url` (URL): Public image URL; デフォルト: —
- `video_url` (URL): Public video URL; デフォルト: —
- `duration` (option selection): 5 (default); デフォルト: 5
- `resolution` (option selection): 480P (default) · 720P · 1080P; デフォルト: 480P
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; デフォルト: —
- `video_file_id` (text): Alternative to video_url: the id of your own file from POST /v1/files (file-pv-…); デフォルト: —
- `video_base64` (text): Alternative to video_url: the file inline, as base64 or a data: URI; デフォルト: —
## 公開バリアント
- `seedance-2.0-face:white`: デフォルトSeedance 2.0 Faceの料金はリクエスト時です。料金は現在の為替レートに基づいて動的に計算されます。
はい、APIは完全にOpenAI互換です。base_urlをhttps://getvibeapi.com/v1に変更してキーを設定するだけで、コードの他の部分はそのまま使えます。