Instagram

INSTAGRAM_CREATE_MEDIA_CONTAINER

Create a draft media container for photos/videos/reels before publishing.

Remote instagram

Other tools also called INSTAGRAM_CREATE_MEDIA_CONTAINER? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "caption": {
      "type": "string",
      "title": "Caption",
      "default": null,
      "nullable": true,
      "description": "Post caption"
    },
    "cover_url": {
      "type": "string",
      "title": "Cover Url",
      "default": null,
      "nullable": true,
      "description": "Optional cover image URL for reels/videos"
    },
    "image_url": {
      "type": "string",
      "title": "Image Url",
      "default": null,
      "nullable": true,
      "description": "Public URL of the image. Must be a directly downloadable URL (no redirects) accessible to Meta crawlers. Supported formats: JPG, PNG (WebP not supported). Must pass correct Content-Type header, Content-Length header, max 8MB file size, minimum 320px width, aspect ratio between 4:5 and 1.91:1. URL must return the image file directly, not an HTML page."
    },
    "video_url": {
      "type": "string",
      "title": "Video Url",
      "default": null,
      "nullable": true,
      "description": "Public URL of the video. Must be a directly downloadable URL (no redirects) accessible to Meta crawlers. Supported formats: MP4, MOV. Must pass correct Content-Type header, Content-Length header, max 100MB file size for feed videos, max 1GB for IGTV, minimum 3 seconds duration. URL must return the video file directly, not an HTML page."
    },
    "ig_user_id": {
      "type": "string",
      "title": "Ig User Id",
      "description": "Instagram Business Account ID"
    },
    "image_file": {
      "type": "string",
      "title": "FileUploadable",
      "format": "path",
      "description": "Local image file to upload. File will be uploaded to a public URL automatically. Use this instead of image_url for local files.",
      "file_uploadable": true
    },
    "media_type": {
      "type": "string",
      "title": "Media Type",
      "default": null,
      "nullable": true,
      "description": "Explicit media type override, e.g., REELS or CAROUSEL."
    },
    "video_file": {
      "type": "string",
      "title": "FileUploadable",
      "format": "path",
      "description": "Local video file to upload. File will be uploaded to a public URL automatically. Use this instead of video_url for local files.",
      "file_uploadable": true
    },
    "content_type": {
      "enum": [
        "photo",
        "video",
        "reel",
        "carousel_item"
      ],
      "type": "string",
      "title": "Content Type",
      "default": null,
      "nullable": true,
      "description": "What you want to post: 'photo', 'video', 'reel', or 'carousel_item' (for carousel drafts)"
    },
    "is_carousel_item": {
      "type": "boolean",
      "title": "Is Carousel Item",
      "default": null,
      "nullable": true
    },
    "graph_api_version": {
      "type": "string",
      "title": "Graph Api Version",
      "default": "v21.0",
      "nullable": true
    }
  }
}