Documentation Index
Fetch the complete documentation index at: https://cloudinary.com/documentation/llms.txt
Use this file to discover all available pages before exploring further.
Video Canvas API
Download OpenAPI DocumentUse the Video Canvas API to create and manage applets. An applet is a visual, node-based video transformation pipeline, defined by its inputs, blocks, connections, and outputs; Cloudinary compiles it into a named transformation that you can deliver like any other transformation. See the Video Canvas guide for the Console-based workflow.
The API supports Basic Authentication using your Cloudinary API Key and API Secret (which can be found in the API Keys page of your Cloudinary Console).
Returns the account's saved Video Canvas applets as summaries, without their inputs, blocks, connections, or outputs.
Responses
200 A list of Video Canvas applets.
A response envelope wrapping a list of applet summaries.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data VideoCanvasAppletResponse[]Required
The list of applet summaries.
ShowHide child attributes of data
Items VideoCanvasAppletResponseA summary of a saved applet, without its content.
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer
401 Authentication error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
500 Internal server error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
/video_canvas/appletscurl 'https://api.cloudinary.com/v2/video/CLOUD_NAME/video_canvas/applets' \
-u 'API_KEY:API_SECRET'{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"data": [
{
"id": "string",
"name": "string",
"description": "string",
"named_transformation": "string",
"created_at": 0,
"updated_at": 0
}
]
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}Creates an applet from its content (inputs, blocks, connections, and outputs). Cloudinary compiles the action blocks into a named transformation and returns the stored applet.
Body Required application/json
The applet content to create.
The full content of a Video Canvas applet: its inputs, blocks, connections, and outputs. The blocks are ordered by the connections and their action-group content is compiled into a Cloudinary named transformation.
- name stringRequired
A display name for the applet.
example"Scale to 200px" - description string
An optional description of what the applet does.
- inputs VideoCanvasInputPayload[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputPayloadA declared parameter of the applet. Its id can be referenced by the serializer inline as
$<id>.- id stringRequired
Client-supplied id. Must match
^[a-zA-Z_][a-zA-Z0-9_]*$and be at most 64 characters.example"source" - kind stringRequired
The value type of the input.
example"video"enum"video""image""text" - state stringRequired
How the caller supplies the value.
requiredmeans the caller must provide it,optionalusesvalueas an overridable default, andhiddenbakesvaluein and does not expose it to callers.example"required"enum"required""optional""hidden" - value string
The default (for
optional) or fixed (forhidden) value. - label string
A human-readable label for the input.
example"Source video"
- blocks VideoCanvasBlockPayload[]Required
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockPayloadA node on the canvas. Most blocks are action groups; a kind ending in
_inputor_outputmarks a boundary block, andpreview_nodemarks a preview tap.- id stringRequired
Client-supplied id, unique within the applet.
example"speed" - kind stringRequired
Either a special type or the name of a group of actions, and it determines how
contentis read. Special types: a kind ending in_inputor_outputis a boundary block (content is an{"input":...}/{"output":...}reference) andpreview_nodeis a preview tap (no content). Any other value is an action group whose content is an array of serializer actions; the exact string (e.g.group) only names the actions for the UI and has no backend role beyond that grouping.example"group" - content any
For an action group, an ordered array of serializer action items (opaque to this service), e.g.
[{"actionType":"scale","dimensions":{"width":200}}]. The groups are concatenated in connection order and encoded into a Cloudinary transformation. The action item format (actionType and its fields) is defined by the JSON Schema at https://production-transformations-bff.cloudinary.com/schemas/transformation.json. For an input boundary block (kind ending in_input) it references a declared input ({"input":"<inputId>"}); for an output boundary block (kind ending in_output) a declared output ({"output":"<outputId>"}). - metadata object
Editor state; must contain
position_xandposition_y.
- connections VideoCanvasConnectionPayload[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionPayloadA directed edge between two block ports. Endpoints reference blocks by their client-supplied id. Connections define the order in which action groups are applied.
- id stringRequired
Client-supplied id, unique within the applet.
example"c1" - source_block_id stringRequired
Client-supplied id of the source block.
example"in" - source_port_id stringRequired
The output port on the source block.
example"out" - target_block_id stringRequired
Client-supplied id of the target block.
example"speed" - target_port_id stringRequired
The input port on the target block.
example"in"
- outputs VideoCanvasOutputPayload[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputPayloadA declared result of the applet.
- id stringRequired
Client-supplied id, unique within the applet.
example"result" - kind stringRequired
The type of the result.
example"video"enum"image""video""video_player""raw" - label string
A human-readable label for the output.
example"Scaled video"
Responses
201 The created Video Canvas applet.
A response envelope wrapping a single applet with its content.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data VideoCanvasAppletDetailsResponseRequired
A saved applet with its full content.
ShowHide child attributes of data
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - inputs VideoCanvasInputResponse[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputResponseA declared parameter of the applet, as returned in a response.
- id string
The client-supplied input id.
- kind string
The value type of the input.
enum"video""image""text" - state string
How the caller supplies the value.
enum"required""optional""hidden" - value string
The default or fixed value, if any.
- label string
A human-readable label for the input.
- blocks VideoCanvasBlockResponse[]
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockResponseA node on the canvas, as returned in a response.
- id string
The client-supplied block id.
- kind string
The block kind (see the block payload for how kind is interpreted).
- content any
Block content; mirrors the payload shape (an action-group array or a boundary reference object).
- metadata object
Editor state, including the block's position.
- connections VideoCanvasConnectionResponse[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionResponseA directed edge between two block ports, as returned in a response.
- id string
The client-supplied connection id.
- source_block_id string
The client-supplied id of the source block.
- source_port_id string
The output port on the source block.
- target_block_id string
The client-supplied id of the target block.
- target_port_id string
The input port on the target block.
- outputs VideoCanvasOutputResponse[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputResponseA declared result of the applet, as returned in a response.
- id string
The client-supplied output id.
- kind string
The type of the result.
enum"image""video""video_player""raw" - label string
A human-readable label for the output.
400 The applet could not be compiled into a valid transformation.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
401 Authentication error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
500 Internal server error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
/video_canvas/appletscurl -X POST 'https://api.cloudinary.com/v2/video/CLOUD_NAME/video_canvas/applets' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"name": "Scale to 200px",
"description": "Downscale the source video",
"inputs": [
{
"id": "source",
"kind": "video",
"state": "required",
"label": "Source video"
}
],
"blocks": [
{
"id": "in",
"kind": "video_input",
"content": {
"input": "source"
},
"metadata": {
"position_x": 0,
"position_y": 0
}
},
{
"id": "speed",
"kind": "group",
"content": [
{
"actionType": "scale",
"dimensions": {
"width": 200
}
}
],
"metadata": {
"position_x": 200,
"position_y": 0
}
},
{
"id": "out",
"kind": "video_output",
"content": {
"output": "result"
},
"metadata": {
"position_x": 400,
"position_y": 0
}
}
],
"connections": [
{
"id": "c1",
"source_block_id": "in",
"source_port_id": "out",
"target_block_id": "speed",
"target_port_id": "in"
},
{
"id": "c2",
"source_block_id": "speed",
"source_port_id": "out",
"target_block_id": "out",
"target_port_id": "in"
}
],
"outputs": [
{
"id": "result",
"kind": "video",
"label": "Scaled video"
}
]
}'{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"data": {
"id": "string",
"name": "string",
"description": "string",
"named_transformation": "string",
"created_at": 0,
"updated_at": 0,
"inputs": [
{
"id": "string",
"kind": "video",
"state": "required",
"value": "string",
"label": "string"
}
],
"blocks": [
{
"id": "string",
"kind": "string",
"metadata": {}
}
],
"connections": [
{
"id": "string",
"source_block_id": "string",
"source_port_id": "string",
"target_block_id": "string",
"target_port_id": "string"
}
],
"outputs": [
{
"id": "string",
"kind": "image",
"label": "string"
}
]
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}Returns a single applet with its full content, including its inputs, blocks, connections, and outputs.
Path parameters
- appletId stringRequired
The server-generated id of the applet.
Responses
200 A Video Canvas applet.
A response envelope wrapping a single applet with its content.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data VideoCanvasAppletDetailsResponseRequired
A saved applet with its full content.
ShowHide child attributes of data
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - inputs VideoCanvasInputResponse[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputResponseA declared parameter of the applet, as returned in a response.
- id string
The client-supplied input id.
- kind string
The value type of the input.
enum"video""image""text" - state string
How the caller supplies the value.
enum"required""optional""hidden" - value string
The default or fixed value, if any.
- label string
A human-readable label for the input.
- blocks VideoCanvasBlockResponse[]
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockResponseA node on the canvas, as returned in a response.
- id string
The client-supplied block id.
- kind string
The block kind (see the block payload for how kind is interpreted).
- content any
Block content; mirrors the payload shape (an action-group array or a boundary reference object).
- metadata object
Editor state, including the block's position.
- connections VideoCanvasConnectionResponse[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionResponseA directed edge between two block ports, as returned in a response.
- id string
The client-supplied connection id.
- source_block_id string
The client-supplied id of the source block.
- source_port_id string
The output port on the source block.
- target_block_id string
The client-supplied id of the target block.
- target_port_id string
The input port on the target block.
- outputs VideoCanvasOutputResponse[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputResponseA declared result of the applet, as returned in a response.
- id string
The client-supplied output id.
- kind string
The type of the result.
enum"image""video""video_player""raw" - label string
A human-readable label for the output.
401 Authentication error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
404 No applet exists with the given id.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
500 Internal server error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
/video_canvas/applets/{appletId}curl 'https://api.cloudinary.com/v2/video/CLOUD_NAME/video_canvas/applets/{appletId}' \
-u 'API_KEY:API_SECRET'{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"data": {
"id": "string",
"name": "string",
"description": "string",
"named_transformation": "string",
"created_at": 0,
"updated_at": 0,
"inputs": [
{
"id": "string",
"kind": "video",
"state": "required",
"value": "string",
"label": "string"
}
],
"blocks": [
{
"id": "string",
"kind": "string",
"metadata": {}
}
],
"connections": [
{
"id": "string",
"source_block_id": "string",
"source_port_id": "string",
"target_block_id": "string",
"target_port_id": "string"
}
],
"outputs": [
{
"id": "string",
"kind": "image",
"label": "string"
}
]
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}Replaces the full content of an existing applet and recompiles its backing named transformation.
Path parameters
- appletId stringRequired
The server-generated id of the applet.
Body Required application/json
The new applet content.
The full content of a Video Canvas applet: its inputs, blocks, connections, and outputs. The blocks are ordered by the connections and their action-group content is compiled into a Cloudinary named transformation.
- name stringRequired
A display name for the applet.
example"Scale to 200px" - description string
An optional description of what the applet does.
- inputs VideoCanvasInputPayload[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputPayloadA declared parameter of the applet. Its id can be referenced by the serializer inline as
$<id>.- id stringRequired
Client-supplied id. Must match
^[a-zA-Z_][a-zA-Z0-9_]*$and be at most 64 characters.example"source" - kind stringRequired
The value type of the input.
example"video"enum"video""image""text" - state stringRequired
How the caller supplies the value.
requiredmeans the caller must provide it,optionalusesvalueas an overridable default, andhiddenbakesvaluein and does not expose it to callers.example"required"enum"required""optional""hidden" - value string
The default (for
optional) or fixed (forhidden) value. - label string
A human-readable label for the input.
example"Source video"
- blocks VideoCanvasBlockPayload[]Required
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockPayloadA node on the canvas. Most blocks are action groups; a kind ending in
_inputor_outputmarks a boundary block, andpreview_nodemarks a preview tap.- id stringRequired
Client-supplied id, unique within the applet.
example"speed" - kind stringRequired
Either a special type or the name of a group of actions, and it determines how
contentis read. Special types: a kind ending in_inputor_outputis a boundary block (content is an{"input":...}/{"output":...}reference) andpreview_nodeis a preview tap (no content). Any other value is an action group whose content is an array of serializer actions; the exact string (e.g.group) only names the actions for the UI and has no backend role beyond that grouping.example"group" - content any
For an action group, an ordered array of serializer action items (opaque to this service), e.g.
[{"actionType":"scale","dimensions":{"width":200}}]. The groups are concatenated in connection order and encoded into a Cloudinary transformation. The action item format (actionType and its fields) is defined by the JSON Schema at https://production-transformations-bff.cloudinary.com/schemas/transformation.json. For an input boundary block (kind ending in_input) it references a declared input ({"input":"<inputId>"}); for an output boundary block (kind ending in_output) a declared output ({"output":"<outputId>"}). - metadata object
Editor state; must contain
position_xandposition_y.
- connections VideoCanvasConnectionPayload[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionPayloadA directed edge between two block ports. Endpoints reference blocks by their client-supplied id. Connections define the order in which action groups are applied.
- id stringRequired
Client-supplied id, unique within the applet.
example"c1" - source_block_id stringRequired
Client-supplied id of the source block.
example"in" - source_port_id stringRequired
The output port on the source block.
example"out" - target_block_id stringRequired
Client-supplied id of the target block.
example"speed" - target_port_id stringRequired
The input port on the target block.
example"in"
- outputs VideoCanvasOutputPayload[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputPayloadA declared result of the applet.
- id stringRequired
Client-supplied id, unique within the applet.
example"result" - kind stringRequired
The type of the result.
example"video"enum"image""video""video_player""raw" - label string
A human-readable label for the output.
example"Scaled video"
Responses
200 The updated Video Canvas applet.
A response envelope wrapping a single applet with its content.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data VideoCanvasAppletDetailsResponseRequired
A saved applet with its full content.
ShowHide child attributes of data
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - inputs VideoCanvasInputResponse[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputResponseA declared parameter of the applet, as returned in a response.
- id string
The client-supplied input id.
- kind string
The value type of the input.
enum"video""image""text" - state string
How the caller supplies the value.
enum"required""optional""hidden" - value string
The default or fixed value, if any.
- label string
A human-readable label for the input.
- blocks VideoCanvasBlockResponse[]
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockResponseA node on the canvas, as returned in a response.
- id string
The client-supplied block id.
- kind string
The block kind (see the block payload for how kind is interpreted).
- content any
Block content; mirrors the payload shape (an action-group array or a boundary reference object).
- metadata object
Editor state, including the block's position.
- connections VideoCanvasConnectionResponse[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionResponseA directed edge between two block ports, as returned in a response.
- id string
The client-supplied connection id.
- source_block_id string
The client-supplied id of the source block.
- source_port_id string
The output port on the source block.
- target_block_id string
The client-supplied id of the target block.
- target_port_id string
The input port on the target block.
- outputs VideoCanvasOutputResponse[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputResponseA declared result of the applet, as returned in a response.
- id string
The client-supplied output id.
- kind string
The type of the result.
enum"image""video""video_player""raw" - label string
A human-readable label for the output.
400 The applet could not be compiled into a valid transformation.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
401 Authentication error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
404 No applet exists with the given id.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
500 Internal server error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
/video_canvas/applets/{appletId}curl -X PUT 'https://api.cloudinary.com/v2/video/CLOUD_NAME/video_canvas/applets/{appletId}' \
-u 'API_KEY:API_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"name": "Scale to 200px",
"description": "Downscale the source video",
"inputs": [
{
"id": "source",
"kind": "video",
"state": "required",
"label": "Source video"
}
],
"blocks": [
{
"id": "in",
"kind": "video_input",
"content": {
"input": "source"
},
"metadata": {
"position_x": 0,
"position_y": 0
}
},
{
"id": "speed",
"kind": "group",
"content": [
{
"actionType": "scale",
"dimensions": {
"width": 200
}
}
],
"metadata": {
"position_x": 200,
"position_y": 0
}
},
{
"id": "out",
"kind": "video_output",
"content": {
"output": "result"
},
"metadata": {
"position_x": 400,
"position_y": 0
}
}
],
"connections": [
{
"id": "c1",
"source_block_id": "in",
"source_port_id": "out",
"target_block_id": "speed",
"target_port_id": "in"
},
{
"id": "c2",
"source_block_id": "speed",
"source_port_id": "out",
"target_block_id": "out",
"target_port_id": "in"
}
],
"outputs": [
{
"id": "result",
"kind": "video",
"label": "Scaled video"
}
]
}'{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"data": {
"id": "string",
"name": "string",
"description": "string",
"named_transformation": "string",
"created_at": 0,
"updated_at": 0,
"inputs": [
{
"id": "string",
"kind": "video",
"state": "required",
"value": "string",
"label": "string"
}
],
"blocks": [
{
"id": "string",
"kind": "string",
"metadata": {}
}
],
"connections": [
{
"id": "string",
"source_block_id": "string",
"source_port_id": "string",
"target_block_id": "string",
"target_port_id": "string"
}
],
"outputs": [
{
"id": "string",
"kind": "image",
"label": "string"
}
]
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}Deletes an applet and its stored content. The named transformation that backs the applet isn't deleted, so delivery URLs and SDK calls that reference it keep working. To stop delivering the transformation, delete the named transformation separately.
Path parameters
- appletId stringRequired
The server-generated id of the applet.
Responses
200 The applet was deleted.
A response envelope wrapping a simple message.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data objectRequired
The message payload.
ShowHide child attributes of data
- message string
A human-readable message.
401 Authentication error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
404 No applet exists with the given id.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
500 Internal server error.
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.
/video_canvas/applets/{appletId}curl -X DELETE 'https://api.cloudinary.com/v2/video/CLOUD_NAME/video_canvas/applets/{appletId}' \
-u 'API_KEY:API_SECRET'{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"data": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}{
"request_id": "6ec0bd7f11c043da975e2a8ad9ebae0b",
"error": {
"message": "string"
}
}Models
Show schema
A declared parameter of the applet. Its id can be referenced by the serializer inline as $<id>.
- id stringRequired
Client-supplied id. Must match
^[a-zA-Z_][a-zA-Z0-9_]*$and be at most 64 characters.example"source" - kind stringRequired
The value type of the input.
example"video"enum"video""image""text" - state stringRequired
How the caller supplies the value.
requiredmeans the caller must provide it,optionalusesvalueas an overridable default, andhiddenbakesvaluein and does not expose it to callers.example"required"enum"required""optional""hidden" - value string
The default (for
optional) or fixed (forhidden) value. - label string
A human-readable label for the input.
example"Source video"
Show schema
A node on the canvas. Most blocks are action groups; a kind ending in
_input or _output marks a boundary block, and preview_node marks a
preview tap.
- id stringRequired
Client-supplied id, unique within the applet.
example"speed" - kind stringRequired
Either a special type or the name of a group of actions, and it determines how
contentis read. Special types: a kind ending in_inputor_outputis a boundary block (content is an{"input":...}/{"output":...}reference) andpreview_nodeis a preview tap (no content). Any other value is an action group whose content is an array of serializer actions; the exact string (e.g.group) only names the actions for the UI and has no backend role beyond that grouping.example"group" - content any
For an action group, an ordered array of serializer action items (opaque to this service), e.g.
[{"actionType":"scale","dimensions":{"width":200}}]. The groups are concatenated in connection order and encoded into a Cloudinary transformation. The action item format (actionType and its fields) is defined by the JSON Schema at https://production-transformations-bff.cloudinary.com/schemas/transformation.json. For an input boundary block (kind ending in_input) it references a declared input ({"input":"<inputId>"}); for an output boundary block (kind ending in_output) a declared output ({"output":"<outputId>"}). - metadata object
Editor state; must contain
position_xandposition_y.
Show schema
A directed edge between two block ports. Endpoints reference blocks by their client-supplied id. Connections define the order in which action groups are applied.
- id stringRequired
Client-supplied id, unique within the applet.
example"c1" - source_block_id stringRequired
Client-supplied id of the source block.
example"in" - source_port_id stringRequired
The output port on the source block.
example"out" - target_block_id stringRequired
Client-supplied id of the target block.
example"speed" - target_port_id stringRequired
The input port on the target block.
example"in"
Show schema
A declared result of the applet.
- id stringRequired
Client-supplied id, unique within the applet.
example"result" - kind stringRequired
The type of the result.
example"video"enum"image""video""video_player""raw" - label string
A human-readable label for the output.
example"Scaled video"
Show schema
The full content of a Video Canvas applet: its inputs, blocks, connections, and outputs. The blocks are ordered by the connections and their action-group content is compiled into a Cloudinary named transformation.
- name stringRequired
A display name for the applet.
example"Scale to 200px" - description string
An optional description of what the applet does.
- inputs VideoCanvasInputPayload[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputPayloadA declared parameter of the applet. Its id can be referenced by the serializer inline as
$<id>.- id stringRequired
Client-supplied id. Must match
^[a-zA-Z_][a-zA-Z0-9_]*$and be at most 64 characters.example"source" - kind stringRequired
The value type of the input.
example"video"enum"video""image""text" - state stringRequired
How the caller supplies the value.
requiredmeans the caller must provide it,optionalusesvalueas an overridable default, andhiddenbakesvaluein and does not expose it to callers.example"required"enum"required""optional""hidden" - value string
The default (for
optional) or fixed (forhidden) value. - label string
A human-readable label for the input.
example"Source video"
- blocks VideoCanvasBlockPayload[]Required
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockPayloadA node on the canvas. Most blocks are action groups; a kind ending in
_inputor_outputmarks a boundary block, andpreview_nodemarks a preview tap.- id stringRequired
Client-supplied id, unique within the applet.
example"speed" - kind stringRequired
Either a special type or the name of a group of actions, and it determines how
contentis read. Special types: a kind ending in_inputor_outputis a boundary block (content is an{"input":...}/{"output":...}reference) andpreview_nodeis a preview tap (no content). Any other value is an action group whose content is an array of serializer actions; the exact string (e.g.group) only names the actions for the UI and has no backend role beyond that grouping.example"group" - content any
For an action group, an ordered array of serializer action items (opaque to this service), e.g.
[{"actionType":"scale","dimensions":{"width":200}}]. The groups are concatenated in connection order and encoded into a Cloudinary transformation. The action item format (actionType and its fields) is defined by the JSON Schema at https://production-transformations-bff.cloudinary.com/schemas/transformation.json. For an input boundary block (kind ending in_input) it references a declared input ({"input":"<inputId>"}); for an output boundary block (kind ending in_output) a declared output ({"output":"<outputId>"}). - metadata object
Editor state; must contain
position_xandposition_y.
- connections VideoCanvasConnectionPayload[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionPayloadA directed edge between two block ports. Endpoints reference blocks by their client-supplied id. Connections define the order in which action groups are applied.
- id stringRequired
Client-supplied id, unique within the applet.
example"c1" - source_block_id stringRequired
Client-supplied id of the source block.
example"in" - source_port_id stringRequired
The output port on the source block.
example"out" - target_block_id stringRequired
Client-supplied id of the target block.
example"speed" - target_port_id stringRequired
The input port on the target block.
example"in"
- outputs VideoCanvasOutputPayload[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputPayloadA declared result of the applet.
- id stringRequired
Client-supplied id, unique within the applet.
example"result" - kind stringRequired
The type of the result.
example"video"enum"image""video""video_player""raw" - label string
A human-readable label for the output.
example"Scaled video"
Show schema
A summary of a saved applet, without its content.
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer
Show schema
A node on the canvas, as returned in a response.
- id string
The client-supplied block id.
- kind string
The block kind (see the block payload for how kind is interpreted).
- content any
Block content; mirrors the payload shape (an action-group array or a boundary reference object).
- metadata object
Editor state, including the block's position.
Show schema
A directed edge between two block ports, as returned in a response.
- id string
The client-supplied connection id.
- source_block_id string
The client-supplied id of the source block.
- source_port_id string
The output port on the source block.
- target_block_id string
The client-supplied id of the target block.
- target_port_id string
The input port on the target block.
Show schema
A declared parameter of the applet, as returned in a response.
- id string
The client-supplied input id.
- kind string
The value type of the input.
enum"video""image""text" - state string
How the caller supplies the value.
enum"required""optional""hidden" - value string
The default or fixed value, if any.
- label string
A human-readable label for the input.
Show schema
A declared result of the applet, as returned in a response.
- id string
The client-supplied output id.
- kind string
The type of the result.
enum"image""video""video_player""raw" - label string
A human-readable label for the output.
Show schema
A saved applet with its full content.
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - inputs VideoCanvasInputResponse[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputResponseA declared parameter of the applet, as returned in a response.
- id string
The client-supplied input id.
- kind string
The value type of the input.
enum"video""image""text" - state string
How the caller supplies the value.
enum"required""optional""hidden" - value string
The default or fixed value, if any.
- label string
A human-readable label for the input.
- blocks VideoCanvasBlockResponse[]
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockResponseA node on the canvas, as returned in a response.
- id string
The client-supplied block id.
- kind string
The block kind (see the block payload for how kind is interpreted).
- content any
Block content; mirrors the payload shape (an action-group array or a boundary reference object).
- metadata object
Editor state, including the block's position.
- connections VideoCanvasConnectionResponse[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionResponseA directed edge between two block ports, as returned in a response.
- id string
The client-supplied connection id.
- source_block_id string
The client-supplied id of the source block.
- source_port_id string
The output port on the source block.
- target_block_id string
The client-supplied id of the target block.
- target_port_id string
The input port on the target block.
- outputs VideoCanvasOutputResponse[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputResponseA declared result of the applet, as returned in a response.
- id string
The client-supplied output id.
- kind string
The type of the result.
enum"image""video""video_player""raw" - label string
A human-readable label for the output.
Show schema
A response envelope wrapping a single applet with its content.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data VideoCanvasAppletDetailsResponseRequired
A saved applet with its full content.
ShowHide child attributes of data
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - inputs VideoCanvasInputResponse[]
The applet's declared parameters.
ShowHide child attributes of inputs
Items VideoCanvasInputResponseA declared parameter of the applet, as returned in a response.
- id string
The client-supplied input id.
- kind string
The value type of the input.
enum"video""image""text" - state string
How the caller supplies the value.
enum"required""optional""hidden" - value string
The default or fixed value, if any.
- label string
A human-readable label for the input.
- blocks VideoCanvasBlockResponse[]
The nodes on the canvas.
ShowHide child attributes of blocks
Items VideoCanvasBlockResponseA node on the canvas, as returned in a response.
- id string
The client-supplied block id.
- kind string
The block kind (see the block payload for how kind is interpreted).
- content any
Block content; mirrors the payload shape (an action-group array or a boundary reference object).
- metadata object
Editor state, including the block's position.
- connections VideoCanvasConnectionResponse[]
The directed edges between block ports.
ShowHide child attributes of connections
Items VideoCanvasConnectionResponseA directed edge between two block ports, as returned in a response.
- id string
The client-supplied connection id.
- source_block_id string
The client-supplied id of the source block.
- source_port_id string
The output port on the source block.
- target_block_id string
The client-supplied id of the target block.
- target_port_id string
The input port on the target block.
- outputs VideoCanvasOutputResponse[]
The applet's declared results.
ShowHide child attributes of outputs
Items VideoCanvasOutputResponseA declared result of the applet, as returned in a response.
- id string
The client-supplied output id.
- kind string
The type of the result.
enum"image""video""video_player""raw" - label string
A human-readable label for the output.
Show schema
A response envelope wrapping a list of applet summaries.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data VideoCanvasAppletResponse[]Required
The list of applet summaries.
ShowHide child attributes of data
Items VideoCanvasAppletResponseA summary of a saved applet, without its content.
- id string
The server-generated, immutable applet id.
- name string
The applet's display name.
- description string
The applet's description.
- named_transformation string
The name of the named transformation that backs the applet.
- created_at integer
Creation time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer - updated_at integer
Last-modified time, as a Unix timestamp in seconds.
formatint64Signed 64-bit integer
Show schema
A response envelope wrapping a simple message.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - data objectRequired
The message payload.
ShowHide child attributes of data
- message string
A human-readable message.
Show schema
A response envelope returned when a request fails.
- request_id stringRequired
A unique id for the request, useful when contacting support.
example"6ec0bd7f11c043da975e2a8ad9ebae0b" - error objectRequired
Details about the error.
ShowHide child attributes of error
- message string
A human-readable error message.