仕組み
- ジョブ作成時に
webhookUrlを送信します。 - API が FFmpeg または FFprobe ジョブを非同期で実行します。
- 完了時に、署名付きイベントがあなたのエンドポイントに送信されます。
webhook 付きジョブを作成する
webhook エンドポイントをテストする
次へ
- 認証方式とレスポンス規約は
/ja/api-reference/overviewを参照してください。 - 正確なフィールド構造は自動生成された API ページを参照してください。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
ジョブ完了時に署名付き HTTP コールバックを受け取ります。
webhookUrl を送信します。curl -X POST https://ffmpeg-api.cloud/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"binary": "ffprobe",
"webhookUrl": "https://your-app.example.com/webhooks/ffmpeg",
"input": [
{
"type": "url",
"url": "https://example.com/input.mp4"
}
],
"ffmpegArgs": [
"-v",
"error",
"-show_format",
"-show_streams",
"-of",
"json",
"input0"
]
}'
curl -X POST https://ffmpeg-api.cloud/v1/webhooks/test \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.example.com/webhooks/ffmpeg"
}'
/ja/api-reference/overview を参照してください。