The Create with AI block is a beta feature.
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.
You consume credits each time you run a flow that has a Create with AI block. The block consumes different amounts of credits depending on which model it uses. To learn more, see How flows consume credits.
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 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}}
.
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.
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 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.
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]
.
To change the AI model and adjust its settings, do the following:
Click the Create with AI block, then click Additional Settings.
Click AI Model, then select a model from the list.
(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.
To see the Create with AI block in an example flow, check out Flow Snippets: Create with AI.
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.
Last modified: 2025/09/04