Skip to content

Auto Content Engine

An Auto Content Engine is the top-level workspace that contains everything needed to produce videos:

  • Sheet — the data grid (columns, rows, cells) where you write scripts, assign voices, etc.
  • Video composition — layers (text, sound, clip overlays) that make up each video
  • Automations — pipelines with triggers and actions
  • Global variables — template values for dynamic substitution
  • Final video — the rendered output
{
"id": 100,
"slug": "my-first-engine",
"title": "March Campaign",
"project_type": "spreadsheet_v2",
"is_default": false,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "active",
"created_at": "2026-03-01T12:00:00.000Z",
"created_at_ts": 1709294400000,
"updated_at_ts": 1709380800000,
"spreadsheet_columns": [],
"spreadsheet_rows": [],
"global_variables_sheet": null
}

The spreadsheet_columns and spreadsheet_rows arrays are populated when fetching a single engine. The global_variables_sheet is null unless variables have been imported.


Creates a new Auto Content Engine for the specified agent.

POST /v1/vidsheet?agent_id={agent_id}
FieldTypeRequiredDescription
spreadsheet.titlestringYesName for the engine.
spreadsheet.is_defaultbooleanNoSet as the agent’s default engine. Defaults to false.

Returns the created engine object.

Terminal window
curl -X POST "https://api.gen.pro/v1/vidsheet?agent_id=42" \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"spreadsheet": {"title": "March Campaign"}}'
{
"id": 101,
"slug": "march-campaign",
"title": "March Campaign",
"project_type": "spreadsheet_v2",
"is_default": false,
"uuid": "f1e2d3c4-b5a6-7890-fedc-ba0987654321",
"status": "active",
"created_at": "2026-03-09T10:00:00.000Z",
"created_at_ts": 1741510800000,
"updated_at_ts": 1741510800000,
"spreadsheet_columns": [],
"spreadsheet_rows": [],
"global_variables_sheet": null
}
StatusError codeDescription
401unauthorizedInvalid API key.
422validation_errorMissing title or invalid parameters.

Returns a single Auto Content Engine with all its columns, rows, cells, and layers.

GET /v1/vidsheet/{id}?agent_id={agent_id}
ParameterTypeDescription
idintegerThe engine ID.
ParameterTypeRequiredDescription
agent_idintegerYesThe agent that owns this engine.
with_execution_costbooleanNoInclude credit cost breakdowns on cells and layers.

Returns the full engine object including nested spreadsheet_columns, spreadsheet_rows (each containing spreadsheet_cells), and global_variables_sheet.

Terminal window
curl "https://api.gen.pro/v1/vidsheet/101?agent_id=42&with_execution_cost=true" \
-H "X-API-Key: your-api-key"

Use gen_discover, then call gen_vidsheet_action with action: "duplicate" and target.kind: "vidsheet". See Work with a Vidsheet for the current schema.


Updates the title of an Auto Content Engine. PUT and PATCH are equivalent.

PATCH /v1/vidsheet/{id}?agent_id={agent_id}
ParameterTypeDescription
idinteger or uuidThe engine ID.
FieldTypeRequiredDescription
project.titlestringYesNew name for the engine.
project.is_defaultbooleanNoSet as the agent’s default engine. Clears the flag on the agent’s other engines.

Returns the updated engine object (id, uuid, title, is_default, timestamps) without nested columns or rows.

Terminal window
curl -X PATCH "https://api.gen.pro/v1/vidsheet/101?agent_id=42" \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"project": {"title": "April Campaign"}}'
StatusError codeDescription
404project_not_foundEngine not found or agent does not have access.
422validation_errorMissing or blank title.

Permanently deletes an Auto Content Engine together with all of its columns, rows, cells, layers, global variables, and automations. This cannot be undone. Rendered output resources are detached, not deleted (see Download).

DELETE /v1/vidsheet/{id}?agent_id={agent_id}
ParameterTypeDescription
idinteger or uuidThe engine ID to delete.

Empty body.

Terminal window
curl -X DELETE "https://api.gen.pro/v1/vidsheet/101?agent_id=42" \
-H "X-API-Key: your-api-key"
StatusError codeDescription
404project_not_foundEngine not found or agent does not have access.