For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
        • Overview
          • Blocks reference
            • AI blocks overview
            • AI Agent
            • AI Media
            • Create with AI
            • AI Request
        • Deployed flows overview
        • Connector blocks overview
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • Input
  • Output
  • Setup
  • Example
  • Related blocks
Postman FlowsFlows referenceBlocksAI

The Create with AI block

||View as Markdown|
Was this page helpful?
Previous

The AI Media block

Next

The AI Request block

Built with

The Create with AI block will be deprecated in the future. It will be replaced with the AI Media block.

The Create with AI block uses artificial intelligence (AI) models to generate text, images, and JSON data based on your plain-language prompts. For example, you could enter a prompt like “Create a profile picture for a random person” or “Write a welcome email for a new employee at Postman”.

You can assign another block’s output to the Create with AI block’s built-in variable, or insert data blocks. You can then reference the variable or data block in your prompt using curly braces. To learn how, see Setup.

The number of credits a Create with AI block consumes any given time that it runs depends on which model it’s using. To learn more, see How Flows consume credits.

Input

Connect another block’s output port to the Create with AI block’s single input port to assign incoming data to a variable. Select the variable’s name to edit it. Select Add icon Add data blocks to insert a data block into the Create with AI block. You can then assign a value to the data block and reference it in your prompt with curly braces like {{this}}.

Output

The output port sends the data that the AI model creates. The symbol next to this output port changes depending on the type of data selected.

Setup

You can set up the Create with AI block to generate text, images, or JSON. Select the type of content you want from the dropdown list next to the block’s title. To let the block decide the type of content you want based on your prompt, select Smart from the dropdown list.

Click the text box to enter a prompt in plain language. Click Run to see how the block handles your prompt and if it needs to be reworded.

To insert a variable data block into your Create with AI block, click Add icon Add data blocks. For example, you could insert a String block, name the variable animal, and reference it in a prompt like this: Create an image of {{animal}}. The Create with AI block generates an image of whatever animal is assigned to the variable animal. You can change an inserted block to a different data block by clicking the inserted block’s icon and choosing a block from the dropdown list.

Use Mustache syntax in AI prompts

The Create with AI block supports Mustache syntax. You can use Mustache to dynamically format prompts, iterate over arrays, conditionally display text, and more.

If a referenced variable in your AI prompt contains an object, Mustache syntax in the Create with AI block returns the full JSON representation of the object, including field names, rather than [object Object].

Change the AI model

To change the AI model and adjust its settings, do the following:

  1. Click the Create with AI block, then click Setting icon Additional Settings.

  2. Click Agent Mode icon AI Model, then select a model from the list.

  3. (Optional) Click Predictability or Creativity to adjust their settings for the selected AI model. You can use the slider to set them higher or lower. A higher predictability value increases the chances of results repeating under the same conditions. A higher creativity value returns results with more variety.

Example

To see the Create with AI block in an example flow, check out Flow Snippets: Create with AI.

Related blocks

You can insert a number of blocks into the Create with AI block to process their data including the String, Bool, Number, Null, Select, Now, Date, Date & Time, and Get Variable blocks.