CreateVideo​Create​Video

Create and publish a video post to Instagram

Publish a video with caption to an Instagram professional account

yaml
type: "io.kestra.plugin.meta.instagram.media.CreateVideo"

Create a video post

yaml
id: instagram_create_video_post
namespace: company.team

tasks:
  - id: create_video_post
    type: io.kestra.plugin.meta.instagram.media.CreateVideo
    igId: "{{ secret('INSTAGRAM_ACCOUNT_ID') }}"
    accessToken: "{{ secret('INSTAGRAM_ACCESS_TOKEN') }}"
    videoUrl: "https://example.com/video.mp4"
    caption: "Check out this amazing video!"
    VideoType: REELS
Properties

Access Token

Instagram access token with appropriate permissions (instagram_basic, instagram_content_publish, etc.)

Instagram Account ID

The ID of the Instagram professional account

Video URL

Public URL of the video to upload

Default v24.0

API Version

Instagram Graph API version to use

Caption

Caption text for the post

Default https://graph.facebook.com

Host URL

The host URL for the Instagram Graph API

Default VIDEO
Possible Values
VIDEOREELSSTORIES

Media Type

Type of video media to create