Skip to main content

Templates

Templates allow you to encapsulate commonly used image/video/music generation parameters into reusable presets. The next time you generate content, load them with a single click, eliminating repetitive tasks like pasting prompts, adjusting aspect ratios, setting durations, etc. Templates support {{variable}} placeholders that open a form when used, allowing you to fill in just a few key fields to produce a consistent, unified set of works.

Access: Left navigation Templates (route /templates).

Use Cases

  • Lock down a set of fine-tuned image styles (e.g., "cyberpunk + 16:9 + 4K + negative prompt") and only change the subject each time
  • Condense video generation parameters into templates for team members to batch produce content directly from templates
  • Save music styles (rhythm / duration / time signature) as templates for multiple characters to share the same tone

Three Template Types

Switch between tabs at the top of the page:

TypeDescriptionMain Fields
Image TemplatePresets for text-to-image / image-to-imagePrompt, negative prompt, model, aspect ratio, resolution, variables, input slots, example images
Video TemplatePresets for text-to-video / image-to-videoPrompt, model, parameters
Audio TemplatePresets for AI music generationPrompt, style, duration, tempo (BPM), time signature

Browsing and Filtering

Each tab shares the same filtering tools:

ControlFunction
Keyword searchMatch in template name, description, etc.
Favorites filterShow only starred templates
Tag filterMulti-select tags, can clear with one click
Sort byDate / usage count / title
Sort directionAscending / descending

The template list supports infinite scroll loading without pagination.

Template Card Operations

Each template is displayed as a card with an operations menu shown on hover:

OperationBehavior
UseLoad template parameters and open generation interface
View DetailsOpen details popup to view complete parameters and example images
EditOpen edit dialog (image templates only)
Favorite / UnfavoriteMark frequently used templates for easy filtering
DeleteDelete template (confirmation required)

Prompt Variables

Image template prompts support {{variable_name}} double-brace placeholders. Variable names can use letters, numbers, underscores, and Unicode characters like Chinese/Japanese (e.g., {{subject}}, {{character_name}}).

When using a template, a form appears for you to fill in each variable. Variable types:

TypeInput Control
Text (text)Single-line text input
Number (number)Number input
Enum (enum)Dropdown selection with preset options

Each variable can be configured with: required/optional, default value, description text, and enum options.

:::tip Auto-detection When saving a template (click "Save as template" in chat), the system automatically detects {{variables}} from your prompt and pre-fills the variable list. Editing the prompt and adding/removing {{variables}} in the editor also syncs to the variable table. :::

Editing Image Templates

Clicking "Edit" on a card or in the details popup opens the image template edit dialog, divided into five sections:

SectionContent
Basic InfoTitle, description, tags (comma-separated)
Generation DefaultsDefault model, aspect ratio, resolution
Prompt and VariablesEdit prompt text and negative prompt; automatically sync {{variables}} to the variable table
Input SlotsManage slot roles (user input / template built-in), name, type (image / mask / pose control / depth control), min/max quantity, hint text
Example OutputsSelect which example images to keep, set cover (star)

:::caution Edit Limitations The current editor does not support adding new images to input slots or example outputs — adding new bundled images requires a file upload flow, not yet provided. To add new images, please use the "Save as template" flow from chat to rebuild a template.

Video and music templates don't support editing after creation; for adjustments, create a new one. :::

Two Ways to Create Templates

1. Save from Chat Results

The most common entry point. After generating images/videos/music with AI in chat and are satisfied with the results:

  1. Click "Save as template" on the result card
  2. Fill in name, description, and tags
  3. System automatically detects {{variables}} from your prompt and pre-fills the variable list
  4. Confirm and save to the corresponding category

2. Create Directly from Templates Page

In some cases, you can also create directly on the templates page. The form is the same as the edit dialog above.

Relationship with Works

ConceptWhat It Is
TemplatePreset of generation parameters (prompt + model + style, etc.)
WorkFinished product generated from a template (actual image/video/audio file)

Templates are for how to generate, works are for collecting finished products. Deleting a template doesn't affect already-generated works; conversely, deleting works doesn't affect templates.

FAQs

QuestionAnswer
Where do I create templates?Clicking "Save as template" after generating content in chat is simplest. The templates page is mainly for browsing and reuse.
How do I write prompt variables?Use {{variable_name}}, for example draw a {{style}} {{subject}}. A form appears when used to fill in fields.
Why can't I add new images to input slots / example images in the editor?Current version only supports editing/deleting existing images; adding new images requires a file upload flow. Please rebuild using "Save as template".
Can I edit video and music templates?Current editor only covers image templates; for videos/music please create new ones.
Does deleting a template affect already-generated works?No. Templates are just parameter presets.
Can image and video templates be converted to each other?No, they have different parameter structures.