MarketingSandbox · bring your own key
Test “Discount Code” with your own key
Paste an Anthropic, OpenAI, or OpenRouter key. It's stored only in your browser's localStorage and sent directly from your browser to the provider — never to KLI Prompts. We have no backend that can see it.
How this works (honestly)
- Your key lives in
localStorageon this device only. - The HTTP request to the LLM goes from your browser straight to
api.anthropic.com/api.openai.com/openrouter.ai. - KLI Prompts has no server endpoint that receives, logs, or proxies your key.
- Clear it any time — there's a button below.
Step 1 · Provider
Recommended for this prompt: any · temperature 0.4
Step 2 · Your API key
Saved to
localStorage on this device. Never sent to KLI servers.Step 3 · Fill the variables
Final prompt (sent to anthropic)
Generate exactly 5 unique, realistic discount codes for the following product promotion.
Product Name: {{product_name}}
Discount Type: {{discount_type}}
Discount Value: {{discount_value}}
Requirements:
- Each code should be memorable and relevant to the product/discount
- Use uppercase letters and numbers only
- Include hyphens for readability where appropriate
- Each code should be unique and creative
- Mix different formats (e.g., word-based, alphanumeric combos)
Respond with ONLY a JSON array of exactly 5 strings. Example format:
["CODE1", "CODE2", "CODE3", "CODE4", "CODE5"]Output — will stream here
Nothing yet. Fill in variables and click Run.
Prompt slug: discount-code
Prefer copy-paste? Back to the prompt page →