Import Single Image Post
postnitro_import_imageCreate a single-image post (postType IMAGE) from one slide of your own content. Returns an embedPostId to track progress.
Unlike a carousel, an image post is ONE slide — pass slide as a single object, NOT an array, with no slide type. Only heading is required. An infographic layout IS supported: set layoutType 'infographic' + layoutConfig on the slide (same shape as carousel infographics).
templateId, brandId, and responseType are optional if you've saved defaults via postnitro_set_defaults.
Use postnitro_check_status to monitor, then postnitro_get_output to retrieve. Or use postnitro_import_image_and_wait for one step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slide | Yes | The single image slide (one object, not an array). Only 'heading' is required. | |
| brandId | No | Brand ID (optional if saved via postnitro_set_defaults) | |
| templateId | No | Template ID (optional if saved via postnitro_set_defaults) | |
| requestorId | No | Optional custom tracking ID | |
| responseType | No | Output format. 'DESIGN' (default) creates the design with no rendered file — fastest, and enough for scheduling/editing. Use 'PDF' or 'PNG' when you need a rendered file back. Optional if saved via postnitro_set_defaults. | |
| generateImages | No | Optional AI image generation — include this object to enable it, omit it for no images. When included, `context` is required and you (the agent) must author it from the post. Best-effort: the post still COMPLETES if images fail or aren't permitted (free plan / exhausted AI-image quota); check the GENERATE_IMAGES step via postnitro_check_status. Requires a paid plan, consumes the org's AI-image quota (separate from post credits), and adds latency. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Initial job status ('PENDING') | |
| message | No | Message returned by the PostNitro API | |
| success | Yes | True when the job was accepted | |
| nextStep | Yes | The suggested follow-up call | |
| warnings | No | Non-fatal issues worth surfacing to the user (e.g. AI image generation did not complete) | |
| embedPostId | Yes | Generation-job ID — pass to postnitro_check_status, then postnitro_get_output | |
| usedDefaults | Yes | The values actually applied — explicit arguments, saved defaults, or an auto-selected sole candidate |