Create a scene
Create a scene in a chapter.
A prompt-only body makes a draft composition scene (generation pending); a media_url body makes a resolved "uploaded" scene with its background already set. Shares scene-crud-service with the Director chat.
Authorization
bearerAuth Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….
In: header
Request 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" \ -H "Content-Type: application/json" \ -d '{ "chapter_id": "string" }'{
"data": {
"scene": null
}
}{
"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"
}
}Store harvested still frames of a scene POST
Multipart. Part meta (JSON): { composition_version, duration_ms, source: "agent"|"editor"|"worker", frames: [{ t_ms, width, height }] }; then one frames file per entry, in order (webp, jpeg or png, sn
Get a scene GET
Read one scene in full, including its composition and composition_version.