publish_to_youtube
Publish an existing video from a transcribe or summarize job to YouTube. Creates a paid publish job (flat $1.75 price) and stores the OAuth token. Captions are auto-generated from the session transcript if available. Workflow: create_job → pay → trigger_youtube_publish → poll get_youtube_publish_status. Requires a YouTube OAuth2 access token obtained independently via Google OAuth (scope: youtube.upload).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | YouTube video title (max 100 characters) | |
| visibility | Yes | YouTube video visibility: "private" (default), "unlisted", or "public" | private |
| description | No | YouTube video description (max 5000 characters) | |
| access_token | Yes | YouTube OAuth2 access token — the caller is responsible for obtaining this via Google OAuth | |
| refresh_token | No | YouTube OAuth2 refresh token — if provided, the Workflow will refresh the access token automatically before uploading | |
| session_token | Yes | Session token from create_session, create_transcript, or create_summary | |
| source_job_id | Yes | Job ID of an existing transcribe or summarize job in this session whose video to publish. The Workflow will auto-generate captions if no transcript is found. |