CreateVideo
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"Examples
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
accessToken *Requiredstring
Access Token
Instagram access token with appropriate permissions (instagram_basic, instagram_content_publish, etc.)
igId *Requiredstring
Instagram Account ID
The ID of the Instagram professional account
videoUrl *Requiredstring
Video URL
Public URL of the video to upload
apiVersion string
Default
v24.0API Version
Instagram Graph API version to use
caption string
Caption
Caption text for the post
host string
Default
https://graph.facebook.comHost URL
The host URL for the Instagram Graph API
videoType string
Default
VIDEO Possible Values
VIDEOREELSSTORIESMedia Type
Type of video media to create