addedInput schema / properties / edges / description
Added value: +"The complete new wire list, e.g. {\"source\":\"music\",\"sourceHandle\":\"audio\",\"target\":\"sequence\",\"targetHandle\":\"shots\"}. Pass together with nodes; [] for none."
changedInput schema / properties / edges / items / additionalProperties
Previous value: -{}New value: +false
addedInput schema / properties / edges / items / description
Added value: +"A wire from one node's output port to another node's input port. An edge is {\"source\": node id, \"sourceHandle\": output port id, \"target\": node id, \"targetHandle\": input port id, \"id\": optional unique id}, e.g. {\"source\":\"music\",\"sourceHandle\":\"audio\",\"target\":\"sequence\",\"targetHandle\":\"shots\"}. Port ids are the ones get_node_type lists under outputs and inputs."
addedInput schema / properties / edges / items / properties
Added value: +{
+ "id": {
+ "description": "Unique id for this wire. Assigned when omitted.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "description": "Id of the node the wire leaves, as given in `nodes`.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceHandle": {
+ "description": "Output port on the source node: an `outputs` id from get_node_type, e.g. \"audio\" on music-gen or \"video\" on sequence. \"out\" is the generic output the canvas draws.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "description": "Id of the node the wire enters, as given in `nodes`.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetHandle": {
+ "description": "Input port on the target node: an `inputs` id from get_node_type, e.g. \"shots\" on sequence or \"prompt\" on music-gen. \"in\" is the generic input the canvas draws, which picks a port by media type at run time; name the port whenever the target has more than one input.",
+ "minLength": 1,
+ "type": "string"
+ }
+}
removedInput schema / properties / edges / items / propertyNames
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / edges / items / required
Added value: +[
+ "source",
+ "sourceHandle",
+ "target",
+ "targetHandle"
+]
addedInput schema / properties / nodes / description
Added value: +"The complete new node list. Pass together with edges; the graph is replaced whole."
addedInput schema / properties / nodes / items / description
Added value: +"One node: an id, a type from list_node_types, and its config."
addedInput schema / properties / nodes / items / properties
Added value: +{
+ "config": {
+ "additionalProperties": {},
+ "description": "Settings, as get_node_type's configSchema describes them. A node this call adds starts from its type's defaults, and what you pass overrides them.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "id": {
+ "description": "Unique id. Edges, and run_pipeline inputs, refer to the node by it.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "description": "Name shown on the canvas.",
+ "type": "string"
+ },
+ "position": {
+ "description": "Canvas position. Laid out automatically when omitted.",
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "description": "A node type from list_node_types, e.g. \"file\", \"music-gen\", \"sequence\", \"output\".",
+ "minLength": 1,
+ "type": "string"
+ }
+}
removedInput schema / properties / nodes / items / propertyNames
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / nodes / items / required
Added value: +[
+ "id",
+ "type"
+]