happyhorse-1.1-r2v API
happyhorse-1.1-r2v を OpenAI 互換 API から利用して 動画 を生成できます。
機能
- モデル
- 動画
- APIモデル
happyhorse-1.1-r2v- エンドポイント
- openai-video
- パラメータ
- 長さ, 解像度, アスペクト比, 参照素材
現在の料金
料金はリクエストのパラメータによって異なります。
クイックスタート
curl https://api.seedance.nz/v1/video/generations \
-H "Authorization: Bearer $SEEDANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"happyhorse-1.1-r2v","prompt":"A clear description of the scene","metadata":{"video_url":["https://cdn.example.com/reference.mp4"]}}'import os, requests
response = requests.post("https://api.seedance.nz/v1/video/generations", headers={"Authorization": f"Bearer {os.environ['SEEDANCE_API_KEY']}"}, json={"model":"happyhorse-1.1-r2v","prompt":"A clear description of the scene",**{"metadata":{"video_url":["https://cdn.example.com/reference.mp4"]}}})const response = await fetch('https://api.seedance.nz/v1/video/generations', { method: 'POST', headers: { Authorization: 'Bearer ' + process.env.SEEDANCE_API_KEY, 'Content-Type': 'application/json' }, body: JSON.stringify({ model: 'happyhorse-1.1-r2v', prompt: 'A clear description of the scene', metadata: { video_url: ['https://cdn.example.com/reference.mp4'] } }) });よくある質問
このモデルを呼び出すには?
API キーを作成し、下のモデル名を使ってドキュメントの OpenAI 互換エンドポイントにリクエストを送信してください。