Publish Clips to Social Media

Publish a generated clip to a connected social account.


Vizard automatically creates the post caption and relevant hashtags for you. You can publish the video immediately or schedule it for a future time.

Supported platforms

  • TikTok
  • YouTube
  • Instagram
  • Facebook
  • Twitter(X)
  • LinkedIn

This endpoint corresponds to the Auto Schedule feature in the Vizard web app, which appears when you submit a long video for clipping.


Example Request

curl -X POST "https://elb-api.vizard.ai/hvizard-server-front/open-api/v1/project/publish-video" \
  -H "Content-Type: application/json" \
  -H "VIZARDAI_API_KEY: YOUR_API_KEY" \
  -d '{
    "finalVideoId": 14015572,
    "publishTime": 1767605047792,
    "socialAccountId": "123456",
    "post": "Your post content here",
    "title": "Your YouTube title here"
  }'

If publishTime is not provided, the video will be published immediately. title is only used when publishing to YouTube and can be omitted for other platforms.

Parameter Values and Meanings

FieldTypeRequiredDescription
finalVideoIdlongThe ID of the generated video returned from Retrieve Output Videos endpoint.
publishTimelongUnix timestamp for scheduled publishing. If not set, the video is published immediately.
socialAccountIdStringThe ID of the connected social account returned by the Retrieve Social Accounts endpoint.
postStringVideo description for the social post. Empty string is allowed — AI will generate content automatically. Character limits vary by platform.
titleStringYouTube video title. Only used for YouTube. If empty, an AI-generated title will be used.

Example Response

{
  "code": 2000
}

Parameter Values and Meanings

FieldTypeDescription
codeintStatus code of the request.
errMsgstringError message, shown only when code is not 2000

Status Codes

CodeMeaning
2000Publish succeeded
-1000Invalid request parameters
4001Invalid API key
4004Feature requires upgrade
4006Illegal parameter
4011Invalid social account ID

Video Post Character Limits

PlatformCharacter limit
TikTok2,200
YouTube5,000 (post), 100 (title)
Instagram2,200
Facebook2,200
Twitter (X)280
LinkedIn3,000