Custom prompt templates save structured, reusable prompts -- define the logic once and apply it consistently across text and image generation workflows.
This topic is applicable only to the International Edition (Singapore region).
Model Studio supports two template types:
| Template type | Use case |
|---|---|
| Text generation | Content creation, knowledge-based Q&A, code generation, and chat interactions |
| Image generation | Controlling image content and style through positive and negative prompts |
Create a text generation template
Text generation templates support two input modes:
| Input mode | Best for |
|---|---|
| Custom Creation | Converting an existing prompt into an optimized template |
| Create Based on Prompt Framework | Building structured prompts for complex tasks using ICIO, CRISPE, or RASCEF frameworks |
Option A: Custom creation
Paste an existing prompt and Model Studio optimizes it automatically.
-
Go to the Prompts page. Click Create Prompt. Then configure the following information.
-
Template Name: Enter a custom name.
-
Basic Information: Set to Text Generation.
-
Input Mode: Set to Custom Creation.

-
Enter your prompt in the text box and click Optimize Prompt.
Model Studio refines your prompt for clarity, structure, and quality.
Example: Enter
Write a 100-word sales data analysis report.Before optimization After optimization 

-
-
Review the optimized prompt and click Save. Your template now appears on the Prompts page.

Option B: Prompt framework
Build structured prompts by filling in framework-specific fields. This approach works well for complex tasks requiring explicit instructions, context, and output requirements.
-
Go to the Prompts page. Click Create Prompt. Then configure the following information:
-
Template Name: Enter a name for your template.
-
Basic Information: Select Text Generation.
-
Input Mode: Select Create Based on Prompt Framework.
-
-
Select a Prompt Optimization Method. Each framework targets different task complexity levels. See Prompt engineering frameworks for details.
-
Fill in the fields for the selected framework.

-
Click Optimize Prompt. Model Studio refines and enhances your input.
Before optimization After optimization 

-
Review the optimized prompt and click Save. The template is saved and appears on the Prompts page.

Create an image generation template
Image generation templates use positive and negative prompts to control what to include or exclude.
-
Go to the Prompts page. Click Create Prompt. Then configure the following information:
-
Template Name: Enter a name for your template.
-
Basic Information: Select Image Generation.
-
-
Enter the Positive Prompt and Negative Prompt.
-
Positive Prompt: What to include -- subjects, colors, mood, style.
-
Negative Prompt: What to exclude -- unwanted elements, colors, qualities.
Example:
-
Positive Prompt: Generate a brightly colored night sky, with stars twinkling and meteors streaking across. The background is a serene lake surface, where the water reflects the radiance of the stars. The scene gives people a sense of tranquility and dreams.
-
Negative Prompt: Do not generate any dark or blurry backgrounds. Avoid using black or dark gray. There should be no urban buildings, withered trees or any elements that seem depressing in the picture. Make sure the overall atmosphere is bright and pleasant.

-
-
Click Save. The template is ready to use on the Prompts page.

Prompt engineering frameworks
Model Studio provides three prompt engineering frameworks, each suited to different task complexities.
| Framework | Best for | Components |
|---|---|---|
| ICIO | Straightforward tasks like data analysis, content generation, and text summarization | Instruction, Context, Input Data, Output Indicator |
| CRISPE | Role-based interactions like chatbots, creative writing, and interview simulations | Capacity and Role, Insight, Statement, Personality, Experiment |
| RASCEF | Multi-step business processes like project planning, strategic analysis, and process design | Role, Action, Script, Context, Example, Format |
What's next
-
Create a custom prompt template using an API -- programmatic creation
-
Prompt template overview -- view, manage, and use your templates