latestOpenAPI 3.1.12026-08-22330162.7 KB
35448566f143
Publishing
Publish a video to social media
Publishes a completed video to one or more connected social media channels (YouTube, TikTok, Instagram, Facebook, Threads, and X).
Prerequisites:
- Connect channels via the AITuber dashboard (cannot be done via API).
- Video must have status: completed (check via GET /videos/{id}).
- Active paid subscription with the Publish feature (Creator plan or higher).
How it works:
- If the video has not been exported to MP4 yet, an export is automatically started.
- Once the MP4 is ready, it is uploaded to each selected platform.
- Each channel gets its own publication with independent status tracking.
After publishing: Poll GET /publications/{publicationId} for each publication ID until it reaches a terminal state. Immediate publishes typically end in published or failed. Scheduled publishes may enter scheduled first, depending on platform behavior. Typical time: 2-10 minutes (longer if export is needed first).
Platform-specific settings: Each entry in the channels array can include platform-specific metadata. Only include settings relevant to the channel's platform.
Cost: Free. Publishing does not consume credits.
post/publications
Request body
Response
OK