Attach media to a scene
Set a scene's background to an image or video URL.
The first editor-mutation primitive on the API: it shares the editor's media-attach service, so the change appears live in any open editor (via Realtime, applied in place) and behaves identically to picking media in the UI. Scene ids are globally unique, so the flat path is unambiguous.
Authorization
bearerAuth Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08/attach-media" \ -H "Content-Type: application/json" \ -d '{ "media_url": "http://example.com" }'{
"data": {
"scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
"background": {
"type": "image",
"url": "http://example.com",
"fit": "cover",
"overflowBehavior": "loop",
"muted": true,
"volume": 0
},
"thumbnail_url": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}Export a chapter as one embeddable sequence POST
Publish a whole chapter as ONE embeddable block: its scenes play back to back on one clock, mounted a window at a time (WebGL, Pixi and project modules included), with the chapter voice and the project music carried across scene boundaries.
What is true at this moment of the project GET
The read to make BEFORE authoring anything that has to land ON something — a brand-mark formula, a cue, a reactive overlay.