Skip to main content
MindStudio
Pricing
Blog About
My Workspace
AI Generation

Generate Image

The Generate Image block takes a text prompt and uses an AI model to produce an image, returning a CDN-hosted URL that can be used elsewhere in your workflow.

Generate AI images from text prompts

The Generate Image block takes a text prompt and uses an AI model to produce an image, returning a CDN-hosted URL that can be used elsewhere in your workflow. The primary input is a prompt string describing the image you want to create, and the output is an imageUrl field containing either a single URL or an array of URLs when multiple variants are requested. You can optionally specify which image model to use via an override setting, or leave it unset to fall back on the workflow's default model.

The block supports generating multiple image variants in a single step by enabling the generateVariants option and setting numVariants to a value up to 10. When variants are generated, the output imageUrl becomes an array of CDN URLs, one per variant. You can also control whether the generated asset appears in the gallery using the intermediateAsset flag, and optionally add a MindStudio watermark to the output.

This block fits into workflows that need visual content produced on demand, such as applications that generate custom illustrations based on user input, pipelines that create product imagery from descriptions, or automated content workflows where images are passed downstream to other blocks for display, storage, or further processing. The destination variable field lets you capture the output URL or URL array into a named variable for use later in the workflow.

What you can build

Real-world workflows powered by the Generate Image block.

Custom Illustration from User Input

Accept a user's text description and generate a matching illustration on the fly, displaying or saving the result within the same workflow.

Product Image Generation

Take a product description from a data source and generate a corresponding product image, storing the CDN URL for use in a catalog or storefront workflow.

Multiple Variant Previews

Generate up to 10 image variants from a single prompt in parallel, allowing downstream blocks to compare or select from the resulting URL array.

Automated Content Pipeline

Incorporate image generation into a content creation workflow where AI-written text is paired with a generated image before being published or sent to users.

Background Asset Creation

Generate images silently in the background during a workflow, saving the URL to a variable without surfacing the asset in the gallery for use in later steps.

Social Media Visual Creation

Generate on-brand social media graphics from campaign briefs or ad copy, producing ready-to-post images sized for each platform without manual design work.

Ready to add Generate Image to your workflow?

Get Started Free

Common questions about Generate Image

What are the required parameters for this block?

The only required parameter is prompt, a string describing the image to generate. All other fields — including destinationVar, imageModelOverride, generateVariants, numVariants, intermediateAsset, and addWatermark — are optional.

What does the block return?

The block outputs an imageUrl field. When generating a single image, this is a string containing the CDN URL of the generated image. When generateVariants is enabled with numVariants greater than 1, imageUrl is an array of CDN URL strings, one for each variant.

How do I generate multiple image variants at once?

Set generateVariants to true and specify numVariants with a value up to a maximum of 10. The block will generate that many images in parallel and return their URLs as an array in the imageUrl output field.

Can I choose which AI model is used to generate the image?

Yes. The imageModelOverride field accepts an ImageModelSettings value to specify a particular model. If this field is left unset, the block uses the workflow's default image model.

What kinds of workflows commonly use the Generate Image block?

It is used in workflows that produce visual content based on dynamic text input, such as user-facing creative tools, automated content pipelines that pair text with imagery, and data processing workflows that need to generate and store image assets via the output CDN URL.

Add Generate Image to your workflow

Build powerful AI workflows with drag-and-drop blocks. No coding required.