Publish Clips to Social Media

Changed on

Publish a generated clip to a connected social account.

post/publish-video

Request

  • Base URL
    https://elb-api.vizard.ai/hvizard-server-front/open-api/v1/project
  • URL
    https://elb-api.vizard.ai/hvizard-server-front/open-api/v1/project/publish-video
  • Auth
    API key in header VIZARDAI_API_KEY

Headers

VIZARDAI_API_KEYstring required

Request body

finalVideoIdinteger

The ID of the generated video returned from Retrieve Video Clips endpoint. Exactly one of videoUrl or finalVideoId must be provided.

videoUrlstring

Video file resource address that can be directly downloaded. Exactly one of videoUrl or finalVideoId must be provided. When using videoUrl, Vizard does not automatically generate post captions or hashtags.

publishTimeinteger

Unix timestamp for scheduled publishing. If not set, the video is published immediately.

socialAccountIdstring required

The ID of the connected social account returned by the Retrieve Social Accounts endpoint.

poststring

Video description for the social post. Empty string is allowed — AI will generate content automatically. Character limits vary by platform.

titlestring

YouTube video title. Only used for YouTube. If empty, an AI-generated title will be used.

Changes

    • info

      added the new optional request property

    • info

      the request property became optional