Operation
Enhance Variant Prompt
Refine character variant edits while biasing toward in-place continuity.
Operation: prompt.enhance.variant
Submit via POST /api/v1/requests
Credits: 1
Request fields
promptrewriteRequest
Example request
{
"operation": "prompt.enhance.variant",
"input": {
"prompt": "Turn this base hero look into a rain-soaked tactical variant.",
"rewriteRequest": "Preserve framing and character identity; only change wardrobe and material details."
}
}curl -X POST https://www.cannonstudio.app/api/v1/requests \
-H "Content-Type: application/json" \
-H "x-api-key: $CANNON_API_KEY" \
-H "x-idempotency-key: prompt-enhance-variant-001" \
-d @- <<'JSON'
{
"operation": "prompt.enhance.variant",
"input": {
"prompt": "Turn this base hero look into a rain-soaked tactical variant.",
"rewriteRequest": "Preserve framing and character identity; only change wardrobe and material details."
}
}
JSONNotes
- Targets in-place changes while preserving subject continuity.
- Best for wardrobe, styling, or material variant work.
- Keeps framing and identity stable where possible.
Success output
{
"enhancedPrompt": "Convert the base hero look into a rain-soaked tactical variant with matte black outerwear, damp layered fabric, subtle grime, and preserved facial identity.",
"model": "gpt-5-mini",
"operation": "prompt.enhance.variant"
}