Execute an agent workflow on videos or generate AI content.
video_urls, video_ids, or node_render_ids. For URL inputs, the backend automatically detects URL type, downloads the video, and runs the workflow.
| Field | Type | Required | Description |
|---|---|---|---|
video_urls | string[] | Conditional | Array of video URLs to process. Required if the agent has a video input node. Supports YouTube URLs and signed URLs (HTTP/HTTPS). |
node_render_ids | string[] | Optional list of completed render IDs from prior runs/webhooks. Use this to chain outputs from one Mosaic run into another as Video Input. | |
callback_url | string | Optional webhook URL for status updates | |
update_params | object | Optional parameters to override node parameters in the agent workflow | |
ignore_nodes | string[] | Optional list of agent_node.id values to bypass for this run. Mosaic removes each ignored node from the runtime graph and rewires incoming edges directly to its downstream nodes. |
video_urls field supports two types of URLs:
YouTube URLs:
https://www.youtube.com/watch?v=VIDEO_ID)update_params field. This allows you to dynamically change behavior (like clip duration, prompt text, or number of clips) at runtime.
To find the correct parameters:
Agent node IDupdate_params value in your API request.
ignore_nodes to skip one or more nodes for a single run without editing the saved agent template.
For each ignored node:
node_render_idsGET /agent_run/[run_id] (outputs[].id).
run_id is used to track the progress of your agent run.