API referenceScenes

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.

POST
/scenes

Authorization

bearerAuth
AuthorizationBearer <token>

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"
  }
}