Import Single Image Post and Wait for Output
postnitro_import_image_and_waitConvenience tool: creates a single-image post (postType IMAGE) from one slide, polls until completion, and returns the final output. May take 15-60 seconds.
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.
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 |
|---|---|---|---|
| data | No | Public URL of the rendered file — a single URL for PDF and MP4, an array of them for PNG (one per page). Omitted for responseType 'DESIGN'. | |
| name | No | Design name | |
| status | Yes | Job status, e.g. 'COMPLETED' | |
| success | Yes | True when the post finished processing | |
| designId | No | Design ID — the value to pass as designId when scheduling. Absent only when it could not be resolved from the output. | |
| mimeType | No | MIME type of the rendered file. Omitted for responseType 'DESIGN' (no file is rendered). | |
| warnings | No | Non-fatal issues worth surfacing to the user (e.g. AI image generation did not complete) | |
| editorUrl | Yes | Deep link that opens the design in the PostNitro editor; null when it cannot be resolved | |
| outputType | No | Rendered output type: 'pdf', 'png', or 'mp4'. Omitted for responseType 'DESIGN'. | |
| aspectRatio | No | Design aspect ratio, e.g. '4:5' | |
| creditsUsed | No | Credits consumed by this post | |
| embedPostId | Yes | The generation-job ID | |
| responseType | Yes | Output format of the post: 'PDF', 'PNG', 'DESIGN', or 'MP4' (video posts) | |
| usedDefaults | Yes | The values actually applied — explicit arguments, saved defaults, or an auto-selected sole candidate |