One-call agent context: composition + media + transcript + brand
Everything an authoring agent needs to open a project, in ONE read: the active composition (with its format and markers hoisted), the project's media pool with a `hasTranscript` flag per item, the first transcribed item's word-timed transcript, and the brand kit bound to the project. Replaces the get_composition + get_media_context + get_profile opening sequence. A freshly created project reads back with `composition: null` — that is the empty state, not an error; 404 means the project doesn't exist for your org. Transcript BODIES are never inlined per media item — read another item's with GET /v1/media/{id}/transcript, and its faces/beat/word grids with GET /v1/media/{id}/context. The media pool is capped at 50; mediaPagination reports whether more exists. Continue with paginated GET /v1/media?projectId=... (list_media in MCP) to see the rest.
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/projects/string/context"{ "composition": { "v": 1, "format": { "aspectRatio": "16:9", "fps": 24, "resolution": "hd", "platform": "string" }, "tracks": [ { "id": "string", "kind": "video", "name": "string", "enabled": true, "volume": 0, "contents": [ { "id": "string", "startTime": 0, "duration": 1, "source": { "kind": "media", "mediaId": "string", "trim": { "start": 0, "end": 0 }, "excludedRanges": [ { "start": 0, "end": 0, "reason": "string" } ], "volume": 0, "muted": true, "playbackRate": 1, "sync": "video", "kenBurns": "in", "volumeDb": 0, "fadeInMs": 0, "fadeOutMs": 0, "loop": true, "audioRole": "sfx", "duck": { "duckDb": 0, "attackMs": 0, "releaseMs": 0, "windows": [ { "startMs": 0, "endMs": 0 } ] }, "anchor": { "clipId": "string", "offsetMs": 0 }, "reframe": { "segments": [ { "startSec": 0, "endSec": 1, "focus": { "mode": "frame-center" }, "intent": "string", "zoom": 0.1, "ease": { "in": 0, "out": 0 }, "bias": { "x": -0.3, "y": -0.3 } } ] } }, "kind": "video", "opacity": 0, "scale": 1, "rotation": 0, "position": { "x": -1, "y": -1 }, "region": { "x": 0, "y": 0, "w": 1, "h": 1 }, "fit": "cover", "captionVisibility": "visible", "effects": [ { "id": "string", "component": { "version": 3, "componentId": "string", "sourceVersionId": "string", "params": { "property1": "string", "property2": "string" }, "seed": "string", "assets": { "property1": "string", "property2": "string" }, "mediaBindings": { "property1": [ "string" ], "property2": [ "string" ] } }, "window": { "startTime": 0, "duration": 1 }, "primitiveId": "string", "params": { "property1": null, "property2": null } } ], "transitionIn": { "type": "string", "duration": 1, "id": "string", "component": { "version": 3, "componentId": "string", "sourceVersionId": "string", "params": { "property1": "string", "property2": "string" }, "seed": "string", "assets": { "property1": "string", "property2": "string" }, "mediaBindings": { "property1": [ "string" ], "property2": [ "string" ] } }, "fromClipId": "string", "toClipId": "string", "handlePolicy": "outgoing-overrun-at-cut-v1" }, "linkGroupId": "string", "tweens": [ { "id": "string", "propertyGroup": "visual", "position": 0, "duration": 1, "keyframes": { "format": "percentage", "easeEach": "none", "keyframes": [ { "percentage": 0, "properties": { "property1": 0, "property2": 0 }, "ease": "string" }, { "percentage": 0, "properties": { "property1": 0, "property2": 0 }, "ease": "string" } ] } } ], "automation": { "version": 1, "lanes": [ { "target": "volume", "points": [ { "t": 0, "v": 0 }, { "t": 0, "v": 0 } ] } ] }, "color": { "version": 1, "enabled": true, "grade": { "exposure": -4, "contrast": -1, "highlights": -1, "shadows": -1, "whites": -1, "blacks": -1, "temperature": -1, "tint": -1, "vibrance": -1, "saturation": -1 }, "looks": [ { "mediaId": "string", "sha256": "string", "enabled": true } ], "display": { "mediaId": "string", "sha256": "string", "enabled": true }, "creative": { "mediaId": "string", "sha256": "string", "enabled": true, "strength": 0 }, "halation": { "enabled": true, "amount": 0, "radius": 0.0005, "threshold": 0, "tint": [ 0, 0, 0 ] }, "grain": { "enabled": true, "profile": "daylight-negative", "gauge": "super8", "amount": 0, "size": 0.5, "seed": 0 } }, "legacyKeyframes": { "needsUpgrade": true, "channels": [ "string" ], "record": null } } ] } ], "markers": [ { "id": "string", "startTime": 0, "endTime": 0, "kind": "string", "name": "string", "metadata": { "property1": null, "property2": null } } ], "captions": { "source": "derived", "from": { "clipId": "string" }, "segments": [ { "words": [ { "text": "string", "startMs": 0, "endMs": 0, "emphasis": true, "annotate": "circle" } ] } ], "style": { "fontFamily": "string", "fontSize": 1, "fontWeight": 100, "color": "string", "highlightColor": "string", "backgroundColor": "string", "plate": "glass", "position": "top", "region": { "x": 0, "y": 0, "w": 1, "h": 1 }, "textTransform": "none", "letterSpacing": -5, "wordGapEm": 0, "lineGapEm": 0, "emphasisColor": "string", "emphasisGradient": "string", "emphasisScale": 1, "emphasisFontFamily": "string", "emphasisFontWeight": 100, "emphasisTextTransform": "none", "emphasisLetterSpacing": 0, "emphasisFontStyle": "normal", "entrance": "none", "entranceMs": 0, "entranceStaggerMs": 0, "exitMs": 0, "emphasisPlate": true, "emphasisPlateColor": "string", "emphasisPlateTextColor": "string", "emphasisPlateAltColor": "string", "emphasisPlateAltTextColor": "string", "emphasisPlateRadius": 0, "emphasisPlatePadX": 0, "emphasisPlatePadY": 0, "emphasisPlateReveal": true, "annotationColor": "string", "annotationStrokeWidth": 0.5, "annotationTexture": "clean", "maxWidthPercent": 1 }, "layouts": [ { "segmentIndex": 0, "wordStartIndex": 0, "wordEndIndex": 1, "region": { "x": 0, "y": 0, "w": 1, "h": 1 }, "scale": 0.25, "rotation": -45, "style": { "fontFamily": "string", "fontSize": 1, "fontWeight": 100, "color": "string", "highlightColor": "string", "backgroundColor": "string", "plate": "glass", "textTransform": "none", "letterSpacing": -5, "wordGapEm": 0, "lineGapEm": 0, "emphasisColor": "string", "emphasisScale": 1, "emphasisFontFamily": "string", "emphasisFontWeight": 100, "emphasisTextTransform": "none", "emphasisLetterSpacing": 0, "emphasisFontStyle": "normal", "emphasisPlate": true, "emphasisPlateColor": "string", "emphasisPlateTextColor": "string", "emphasisPlateAltColor": "string", "emphasisPlateAltTextColor": "string", "emphasisPlateRadius": 0, "emphasisPlatePadX": 0, "emphasisPlatePadY": 0, "emphasisPlateReveal": true, "annotationColor": "string", "annotationStrokeWidth": 0.5, "annotationTexture": "clean", "entrance": "none", "entranceMs": 0, "entranceStaggerMs": 0, "exitMs": 0 }, "holdThroughWordIndex": 0, "wordMarks": [ { "wordIndex": 0, "emphasis": true, "annotate": "circle" } ], "wordSignature": "string" } ], "zPlane": "front" }, "sourceSuggestionId": "string", "license": { "type": "string", "source": "string", "notes": "string" }, "licenseVerification": "attested", "accessibility": { "audioDescriptionTrackId": "string", "captionsTrackId": "string", "signLanguageTrackId": "string", "notes": "string" }, "ownerOrgId": "string", "acl": { "public": true, "readerOrgIds": [ "string" ], "writerOrgIds": [ "string" ] }, "media": { "property1": { "inputTransform": { "version": 1, "id": "rec709", "table": { "mediaId": "string", "sha256": "string", "enabled": true }, "ycbcr": { "matrix": "bt709", "range": "limited" } } }, "property2": { "inputTransform": { "version": 1, "id": "rec709", "table": { "mediaId": "string", "sha256": "string", "enabled": true }, "ycbcr": { "matrix": "bt709", "range": "limited" } } } } }, "format": { "aspectRatio": "16:9", "fps": 24, "resolution": "hd", "platform": "string" }, "media": [ { "id": "string", "name": "string", "kind": "string", "durationSec": 0, "hasTranscript": true } ], "mediaPagination": { "hasMore": true, "nextCursor": "string" }, "transcript": { "status": "ready", "mediaId": "string", "words": [ { "text": "string", "start": 0, "end": 0 } ], "totalWords": 0, "hasMore": true }, "brandKit": { "id": "string", "name": "string", "description": "string", "tagline": "string", "colors": { "property1": "string", "property2": "string" }, "extraColors": [ { "name": "string", "value": "string" } ], "fonts": { "heading": { "family": "string", "weight": 0 }, "body": { "family": "string", "weight": 0 } }, "voiceGuidelines": "string", "captions": { "sync": true, "profile": { "property1": null, "property2": null } }, "motion": { "duration": 0, "easing": "linear", "entrance": "none", "staggerMs": 0, "exitMs": 0 }, "logo": { "src": "string", "alt": "string", "placement": "tl", "sizePct": 0 }, "intro": { "kind": "card", "src": "string", "title": "string", "subtitle": "string", "durationMs": 0 }, "outro": { "kind": "card", "src": "string", "title": "string", "subtitle": "string", "durationMs": 0 }, "watermark": { "src": "string", "opacity": 0, "placement": "tl" }, "spacing": { "base": 0, "lg": 0, "sm": 0 }, "sizing": { "fontSizeHeading": 0, "fontSizeBody": 0, "fontSizeLabel": 0, "borderRadius": 0 }, "audio": { "sfxIntensity": "off", "musicEnabled": true, "musicMood": "string", "sonicLogo": { "ref": "string", "placement": "intro", "offsetMs": 0 }, "uiSoundSet": { "tick": "string", "pop": "string", "impact": "string", "confirm": "string", "error": "string", "whoosh": "string", "riser": "string" }, "bedStyle": { "bedId": "string", "genre": "string", "bpmRange": { "min": 0, "max": 0 } }, "ambiencePreference": { "ref": "string" } }, "exemplarKeys": [ "string" ], "contactSheetKey": "string", "motifs": [ { "id": "string", "observed": "string", "body": { "kind": "card", "html": "string", "tokens": { "property1": "string", "property2": "string" } }, "motion": { "preset": "fade-up", "enterMs": 0, "exitMs": 0, "staggerMs": 0, "confidence": "high" }, "role": "title-card", "zone": { "x": 0, "y": 0, "w": 0, "h": 0 }, "evidence": [ 0 ], "diffScore": 0, "coverage": "reproduced", "skipReason": "string" } ], "styleRubric": "string", "density": { "graphicsPerMin": 0, "maxSimultaneous": 1 }, "inspiration": { "sources": [ "string" ], "extractedAt": 0, "extractionVersion": "string" }, "createdAt": "string", "updatedAt": "string" }, "markers": [ { "id": "string", "startTime": 0, "endTime": 0, "kind": "string", "name": "string", "metadata": { "property1": null, "property2": null } } ]}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "x402Version": 2, "accepts": [ {} ], "error": "string"}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}Get a project by id GET
Read one video project's name, output format, brand kit, active composition summary, and latest render. Call it to check settings or fetch the last render's output URL before editing or rendering again.
List projects GET
Page through the video projects this account owns to find the id that composition, media, render, and compose calls need. Call it when resuming earlier work instead of creating a new project.