From 2d10bd99b8fe6ef27f36c059e7e826cbb3d9ae21 Mon Sep 17 00:00:00 2001 From: Abdelrahman Essawy Date: Tue, 23 Jun 2026 00:54:09 +0300 Subject: [PATCH] docs(compose): use the hosted sea clip as the example source --- jobs/compose.mdx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/jobs/compose.mdx b/jobs/compose.mdx index 296a4fb..955ebe7 100644 --- a/jobs/compose.mdx +++ b/jobs/compose.mdx @@ -44,7 +44,7 @@ const job = await client.jobs.create({ schemaVersion: 1, output: { format: "mp4", - resolution: { width: 1280, height: 720 }, + resolution: { width: 1080, height: 1920 }, fps: 30, }, timeline: { @@ -54,7 +54,7 @@ const job = await client.jobs.create({ { asset: { type: "video", - src: "https://cdn.rendobar.com/assets/examples/sample.mp4", + src: "https://cdn.rendobar.com/assets/examples/sea.mp4", }, start: 0, length: 3, @@ -82,7 +82,7 @@ res = requests.post( "schemaVersion": 1, "output": { "format": "mp4", - "resolution": {"width": 1280, "height": 720}, + "resolution": {"width": 1080, "height": 1920}, "fps": 30, }, "timeline": { @@ -92,7 +92,7 @@ res = requests.post( { "asset": { "type": "video", - "src": "https://cdn.rendobar.com/assets/examples/sample.mp4", + "src": "https://cdn.rendobar.com/assets/examples/sea.mp4", }, "start": 0, "length": 3, @@ -116,7 +116,7 @@ curl -X POST https://api.rendobar.com/jobs \ "schemaVersion": 1, "output": { "format": "mp4", - "resolution": { "width": 1280, "height": 720 }, + "resolution": { "width": 1080, "height": 1920 }, "fps": 30 }, "timeline": { @@ -126,7 +126,7 @@ curl -X POST https://api.rendobar.com/jobs \ { "asset": { "type": "video", - "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" + "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" }, "start": 0, "length": 3 @@ -155,9 +155,9 @@ Put a second clip on the same track and a transition between them. The clips ove ```json "clips": [ - { "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" }, "start": 0, "length": 3 }, + { "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" }, "start": 0, "length": 3 }, { "type": "transition", "transition": "crossfade", "duration": 1 }, - { "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" }, "start": 2, "length": 3 } + { "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" }, "start": 2, "length": 3 } ] ``` @@ -201,7 +201,7 @@ A second track renders over the first. This lays an animated title over the vide ```json "tracks": [ { "clips": [ - { "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" }, "start": 0, "length": 5 } + { "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" }, "start": 0, "length": 5 } ] }, { "clips": [ { "asset": { "type": "text", "text": "Coastal Escape", "style": { "size": 84 } }, @@ -216,7 +216,7 @@ Effects are fields on a clip. Stack as many as you like on one clip. Each exampl ```json { - "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" }, + "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" }, "start": 0, "length": 5, "color": { "saturation": 1.2, "temperature": 6800 }, @@ -311,8 +311,8 @@ Tracks give you precise multi-track control. For a sequential edit, you can inst { "scenes": [ { "duration": 4, "transition": { "transition": "crossfade", "duration": 0.6 }, - "clips": [{ "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" } }] }, - { "duration": 4, "clips": [{ "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sample.mp4" } }] } + "clips": [{ "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" } }] }, + { "duration": 4, "clips": [{ "asset": { "type": "video", "src": "https://cdn.rendobar.com/assets/examples/sea.mp4" } }] } ], "overlays": [ { "asset": { "type": "image", "src": "https://cdn.rendobar.com/assets/brand/logo-mark.png" }, "start": 0, "length": 8,