Model API
Workflow Utilities Blend Video
FFMPEG Utility for Blending Videos
Model id
workflow-utilities/blend-videoRun it
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "workflow-utilities/blend-video",
"input": {
"top_video_url": "https://example.com/input.mp4",
"bottom_video_url": "https://example.com/input.mp4"
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "workflow-utilities/blend-video", "quote_id": "QUOTE_ID", "input": {"top_video_url":"https://example.com/input.mp4","bottom_video_url":"https://example.com/input.mp4"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"Input
| Name | Type | Description |
|---|---|---|
top_video_urlrequired | string (URL) | URL of the top layer video |
bottom_video_urlrequired | string (URL) | URL of the bottom layer video |
blend_mode | string (enum) | Blend mode to use for combining the videos |
opacity | number | Opacity of the top layer (0.0-1.0) |
shortest | boolean | End output when the shortest input ends |
Output
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]Pricing
- up to$1.43/ run
The exact charge for your input comes from a quote. How charges settle