Publish Clips to Social Media

This API lets you publish a generated clip (retrieved in the previous step) directly to social medias. Vizard’s AI will automatically generate the post description and relevant hashtags. You can choose to publish immediately or schedule it for a future time.

📌 Currently, publishing is limited to TikTok. Support for more platforms is coming soon.

This feature corresponds to the Auto Schedule functionality described in the Vizard Help Center. You can find the Auto Schedule option when submitting a long video in the web interface.


Example Request

curl -X POST "https://elb-api.vizard.ai/hvizard-server-front/open-api/v1/project/publish" \
     -H "Content-Type: application/json" \
     -H "VIZARDAI_API_KEY: YOUR_API_KEY" \
     -d '{
           "finalVideoId": 14015572,
           "publishTime": 1712956800
         }'

🔢 Parameter Values and Meanings:

FieldTypeRequiredDescription
finalVideoIdlongThe exported video ID from previous step (videoId). Please refer to Example Response
publishTimelongUnix timestamp for scheduled publishing. If not set, the video is published immediately.

Example Response

{
  "code": 2000,
  "errMsg": ""
}

🔢 Parameter Values and Meanings:

FieldTypeDescription
codeintResponse status code. 2000 means publish success, -1000 means invalid request parameter, 4001 means invalid API key, 4006 means illegal parameter.
errMsgstringError message, shown only when code is not 2000