streamlabs_create_and_add_source
Create a new source and add it to a scene in one step, supporting image, browser, webcam, media, and other source types.
Instructions
Create a brand new source and add it to a scene in one step. Common types: 'image_source', 'color_source', 'browser_source', 'text_gdiplus', 'dshow_input' (webcam), 'window_capture', 'monitor_capture', 'ffmpeg_source' (media).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the new source | |
| type | Yes | Source type, e.g. 'browser_source', 'image_source', 'color_source', 'text_gdiplus' | |
| sceneId | Yes | ||
| settings | No | Optional type-specific settings, e.g. { url: '...' } for browser_source |