How to configure Midjourney v6 variables in templates

Configure bracket placeholders like [aspect_ratio] or [subject] in templates.

Using PromptsMay 12, 20263 min read

Prompt templates in PromptLabHub are powerful tools. By setting bracket placeholders (e.g. [subject], [aspect_ratio]), you can dynamically compile prompt configurations without manually rewriting strings.

1. Declaring Placeholder Blocks

To register a customizable placeholder inside your prompt template text, wrap the target word in standard brackets. Avoid spaces inside the bracket. For example:

A professional headshot of [name] wearing [outfit] in [location] with natural lighting --ar [ratio]

2. Rendering parameters

When users click Use Template, our parsing engine scans the prompt for all bracket items and builds a custom form fields list in real time, allowing immediate interactive typing.

このガイドは役に立ちましたか?