Operation
Enhance Location Prompt
Sharpen setting and environment prompts while preserving continuity intent.
Operation: prompt.enhance.location
Submit via POST /api/v1/requests
Credits: 1
Request fields
promptrewriteRequest
Example request
{
"operation": "prompt.enhance.location",
"input": {
"prompt": "A cozy breakfast nook in a small suburban home.",
"rewriteRequest": "Make the visible environment concrete and easy to maintain across angles."
}
}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-location-001" \
-d @- <<'JSON'
{
"operation": "prompt.enhance.location",
"input": {
"prompt": "A cozy breakfast nook in a small suburban home.",
"rewriteRequest": "Make the visible environment concrete and easy to maintain across angles."
}
}
JSONNotes
- Biases toward literal visible environment content.
- Useful for location, zone, and continuity-friendly setting prompts.
- Avoids abstract meta language where possible.
Success output
{
"enhancedPrompt": "A cozy suburban breakfast nook with a worn wooden table, two mismatched chairs, pale morning window light, scuffed flooring, and lived-in kitchen clutter.",
"model": "gpt-5-mini",
"operation": "prompt.enhance.location"
}