optimize_prompt
Reorders tags, places quality tags last, and appends missed composition, environment, and quality categories for Animagine XL prompts. Accepts natural language descriptions or existing tag-based prompts.
Instructions
Optimize a prompt for Animagine XL.
Provide either a natural language description or an existing prompt. The optimizer will:
Reorder tags by canonical category order
Move quality tags to the end
Add missing essential categories (composition, environment, quality)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "optimize_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Existing tag-based prompt to optimize | |
| description | No | Natural language description to convert to tags |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||