Set an image control node by URL
singular_set_imageAssign a publicly reachable image URL to an image-type control node in a Singular composition, with optional URL validation.
Instructions
Set an image-type control node to a hosted image URL (the only way to place imagery — Singular has no upload API, so the asset must already be reachable at a public URL). Validates that the target node is type 'image' (via get_model) and, by default, that the URL is reachable and looks like an image before sending.
Args: app/appToken; subCompositionName | subCompositionId; nodeId (the image node's id) OR nodeTitle (matched from the model); imageUrl; validate_url (default true); force (default false — set true to send even if validation fails); response_format. Returns { success, subComposition, nodeId, imageUrl, urlCheck }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Alias of a registered app instance (see register_app / list_apps). Preferred over a raw token. | |
| force | No | Send even if URL validation fails. | |
| nodeId | No | Id of the image control node (preferred). | |
| appToken | No | Raw Singular control-app token for a one-off/unregistered instance. If both 'app' and 'appToken' are given, 'appToken' wins. | |
| imageUrl | Yes | Publicly reachable image URL to set. | |
| nodeTitle | No | Title of the image node, matched against the model if nodeId is omitted. | |
| validate_url | No | Check the URL is reachable and looks like an image before sending. | |
| response_format | No | Output format: 'markdown' (human-readable) or 'json' (machine-readable). Default 'markdown'. | markdown |
| subCompositionId | No | Target sub-composition by id (from get_model). Use one of name/id. | |
| subCompositionName | No | Target sub-composition by name (as shown in Composer). |