video-speed-adjustment について
each::sense を使って動画の再生速度を調整するスキルです。スローモーションやタイムラプスに加え、速度ランプ、逆再生、フレーム補間にも対応します。
主な機能
- 01スローモーションと速度アップ
- 02タイムラプスとハイパーラプス
- 03AI フレーム補間
- 04クリップ内の速度ランプ
- 05逆再生
- 0660fps または 120fps 出力
活用シーン
- 01滑らかなスローモーション映像の作成
- 02長時間の録画をタイムラプスに圧縮
- 031つのクリップ内で速度を変更
- 04映像を逆再生して演出
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ eachlabs/ skills --skill video-speed-adjustmentインストール後、Claude Code で/video-speed-adjustmentを入力して読み込まれたか確認します。
同梱ファイルreferences/SSE-EVENTS.md
詳細
動画の再生速度調整
each::sense を使って動画の再生速度を調整します。このスキルでは、スローモーション、タイムラプス、ハイパーラプス、速度ランプ、逆再生、超滑らかなスローモーションのためのフレーム補間など、クリエイティブな効果を実現する速度操作が可能です。
機能
- スローモーション:再生速度を下げて(0.25x~0.75x)、ドラマチックな効果を生み出します
- 早送り:動画を加速して(1.5x~4x)、短時間で内容を振り返れるようにします
- タイムラプス:速度を大幅に上げて(8x~20x)、長時間のプロセスを表現します
- ハイパーラプス:動きを滑らかにした、手ぶれ補正付きのタイムラプスです
- フレーム補間:AI がフレームを生成し、滑らかなスローモーションを実現します
- 速度ランプ:1 本のクリップ内で速度を変化させます
- 逆再生:動画を逆方向に再生します
- 高 FPS 出力:滑らかな再生のため、60fps または 120fps で出力します
クイックスタート
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Speed up this video to 2x playback speed"}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/my-video.mp4"
}'
速度調整のリファレンス
| 効果 | 速度倍率 | 用途 |
|---|---|---|
| 極スローモーション | 0.25x | スポーツのハイライト、アクションの細部 |
| スローモーション | 0.5x | ドラマチックな瞬間、製品のお披露目 |
| ややスロー | 0.75x | さりげない強調 |
| 通常 | 1x | 元の速度 |
| やや早送り | 1.5x | 退屈な部分を飛ばす |
| 早送り | 2x | 手短な概要 |
| 高速 | 4x | プロセスの要約 |
| タイムラプス | 10x-20x | 建設、料理、旅行 |
使用例
1. 動画を 2 倍速にする
再生速度を 2 倍にして、手短に振り返ったり、短い時間に収まるようにしたりできます。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Speed up this video to 2x playback speed. Keep the audio pitch corrected."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/tutorial-video.mp4"
}'
2. 0.5 倍速のスローモーション
再生速度を半分にして、強調とドラマチックさを生み出します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a 0.5x slow motion version of this video. Apply frame interpolation for smooth playback without stuttering."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/action-clip.mp4"
}'
3. タイムラプス効果(10 倍速)
通常の映像をタイムラプスに変換し、長時間のプロセスを短時間で見せます。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a 10x time-lapse effect from this video. This is footage of a sunset, compress the 30 minute recording into a 3 minute clip. Maintain smooth motion and remove audio."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/sunset-footage.mp4"
}'
4. フレーム補間による滑らかなスローモーション
AI フレーム補間を使って、標準的な 30fps の映像から非常に滑らかなスローモーションを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a smooth 0.25x slow motion video using AI frame interpolation. The source is 30fps footage - interpolate to 120fps first, then slow down to 0.25x for silky smooth playback. This is a skateboard trick that needs to look cinematic."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/skateboard-trick.mp4"
}'
5. 速度ランプ(可変速度)
1 本のクリップ内で速度を動的に変化させます。最初はゆっくり、次に加速し、その後また減速します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Apply a speed ramp effect to this video: Start at 0.5x slow motion for the first 2 seconds (the jump), then ramp up to 2x speed for the middle section (the landing and walk), then back to 0.5x for the final trick. Create smooth transitions between speed changes."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/parkour-clip.mp4"
}'
6. 動画を逆再生する
クリエイティブな効果や見せ場の演出のために、動画を逆方向に再生します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Reverse this video so it plays backwards. This is a glass breaking - I want to show it reassembling. Keep the audio reversed as well for the effect."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/glass-breaking.mp4"
}'
7. ハイパーラプス効果
手持ち撮影の映像を速度アップし、手ぶれを補正して滑らかなハイパーラプスを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a hyperlapse effect from this walking footage. Speed up to 8x while applying stabilization and motion smoothing. This is a walk through a city street - make it look like a professional hyperlapse with smooth camera movement."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/city-walk.mp4"
}'
8. スポーツのハイライトをスローモーションにする
重要な瞬間を強調し、スポーツ映像からドラマチックなスローモーションを作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a slow motion sports highlight from this basketball footage. Apply 0.3x slow motion with frame interpolation for smooth playback. Focus on making the dunk look dramatic and cinematic. Output at 60fps for smooth viewing."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/basketball-dunk.mp4"
}'
9. 退屈な部分を早送りする
一部の区間だけを速度アップし、ほかの区間は通常の速度に保ちます。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "This is a cooking tutorial video. Speed up the waiting/cooking parts to 4x (like when the food is just sitting in the oven or boiling) but keep the active cooking instruction parts at normal 1x speed. Make the speed transitions smooth."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/cooking-tutorial.mp4"
}'
10. 60fps 出力によるシネマティックなスローモーション
高フレームレートで出力し、映画品質のスローモーションをプロフェッショナルな仕上がりで作成します。
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a cinematic slow motion video at 0.4x speed. Use AI frame interpolation to generate smooth intermediate frames and output at 60fps. This is a fashion model walking on a runway - add slight motion blur for a filmic look. The result should look like it was shot with a high-speed camera."}],
"model": "eachsense/beta",
"stream": true,
"mode": "max",
"video_url": "https://example.com/runway-walk.mp4"
}'
複数ターンでの速度調整ワークフロー
session_id を使って速度調整を繰り返し調整できます。
# Initial speed adjustment
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Create a slow motion version of this video at 0.5x speed"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "speed-project-001",
"video_url": "https://example.com/action-scene.mp4"
}'
# Request further adjustment
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "The slow motion looks good but I want it even slower - make it 0.25x with frame interpolation for smoothness"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "speed-project-001"
}'
# Add additional effect
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"messages": [{"role": "user", "content": "Now add a speed ramp at the end - gradually speed up from 0.25x to 2x over the last 3 seconds"}],
"model": "eachsense/beta",
"stream": true,
"session_id": "speed-project-001"
}'
ベストプラクティス
スローモーション
- ソースのフレームレート:ソースの FPS が高いほど(60fps、120fps)、より高品質なスローモーションになります
- フレーム補間:30fps のソースから滑らかな結果を得るには、AI 補間を使用します
- 出力 FPS:最新のディスプレイで滑らかに再生するには、60fps での出力を指定します
- 極端なスローモーションを避ける:0.25x 未満にすると、アーティファクトが発生することがあります
早送り/タイムラプス
- 音声の処理:極端な速度アップ(4x 以上)では音声を削除するか、ピッチ補正を使用します
- モーションブラー:少量のモーションブラーを加えると、早送りがより滑らかに見えます
- 手ぶれ補正:手持ち撮影の映像は、速度を上げる前に手ぶれ補正を適用します
速度ランプ
- 滑らかな移行:0.5~2 秒かけて徐々に速度を変化させるよう指定します
- 重要な瞬間を指定する:どの部分を遅くし、どの部分を速くするかを説明します
- 音声の同期:速度変化が音声や音楽との同期に与える影響を考慮します
品質に関するヒント
- モードの選択:最終出力には
max、プレビューにはecoを使用します - 解像度:高解像度のソースほど、より良い結果が得られます
- 圧縮:品質を維持するには、高ビットレートでの出力を指定します
モードの選択
| モード | 最適な用途 | 速度 | 品質 |
|---|---|---|---|
max | 最終出力、クライアントへの納品物、ポートフォリオ作品 | 遅い | 最高 |
eco | クイックプレビュー、速度設定のテスト、下書き | 速い | 良好 |
速度調整のプロンプトのヒント
速度調整を依頼する際は、次の詳細を含めてください。
- 速度倍率:正確な倍率を指定します(0.5x、2x、10x)
- フレーム補間:滑らかなスローモーションに必要な場合は指定します
- 出力 FPS:希望するフレームレートを指定します(30fps、60fps、120fps)
- 音声の処理:音声を維持する、削除する、ピッチを補正する、または逆再生する
- トランジション:速度ランプを使用する場合は、トランジションの仕上がりを説明します
- 品質の優先度:滑らかさと細部のどちらを重視するかを伝えます
プロンプトの構成例
"[Speed effect] this video to [speed factor].
[Frame interpolation requirement].
Output at [fps] for [use case].
[Audio handling instruction].
[Additional quality requirements]."
エラー処理
| エラー | 原因 | 解決策 |
|---|---|---|
Failed to create prediction: HTTP 422 | 残高不足 | eachlabs.ai でチャージします |
| タイムアウト | 動画の処理に時間がかかる | クライアントのタイムアウトを最低 10 分に設定します |
| スローモーションがカクつく | フレーム補間がない | AI フレーム補間を依頼します |
| 音声のピッチに問題がある | 補正なしで速度を変更した | ピッチ補正を依頼するか、音声を削除します |
技術的な注意事項
- クライアントのタイムアウト:動画処理では、HTTP クライアントのタイムアウトを最低 10 分に設定します
- 動画の長さ:動画が長いほど、処理時間も比例して長くなります
- フレーム補間:処理時間は増えますが、スローモーションの品質が大幅に向上します
- 最大速度:実用的な範囲は、元の映像に応じて 0.1x~20x です
関連スキル
each-sense- コア API のドキュメントvideo-stabilization- 手ブレした映像を安定化しますvideo-editing- 一般的な動画編集機能video-generation- 新しい動画コンテンツを生成します