{"uid":"cap_K4hno8nwTmEP1eBjGgSTR","slug":"prompt-optimizer-831f052e","name":"Prompt Optimizer","description":"Prompt Optimizer","url":"https://prompt-optimizer.johntaylor1online.workers.dev/optimize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"body":{},"enum":["POST"],"type":"string","bodyType":"json"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HHcIJy3IgYYZhnrfeuRHO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Optimizes and improves user-provided prompts for better AI model performance via a paid API endpoint","exampleAgentPrompt":"Can you optimize this prompt I've been using so it gets better results from my AI model: 'Summarize the following article in a professional tone and highlight the key takeaways'?","exampleUseCases":[{"title":"Refining a chatbot system prompt","prompt":"I have a system prompt for my customer service chatbot that's getting inconsistent responses — can you run it through the prompt optimizer to make it clearer and more effective? Here it is: 'You are a helpful assistant that answers questions about our products and returns policy.'"},{"title":"Improving an image generation prompt","prompt":"This prompt for my image generator isn't producing what I want — can you optimize it to be more specific and effective? The prompt is: 'a futuristic city at night with neon lights.'"},{"title":"Polishing a writing assistant instruction","prompt":"I'm building a writing tool and my instruction prompt feels too vague — can you optimize it so the AI follows it more reliably? The prompt is: 'Help the user write better emails that are concise and professional.'"}],"resultDescription":"Returns an optimized version of the submitted prompt, refined for clarity, specificity, and performance when used with AI models. The response includes the improved prompt text and potentially additional metadata about the changes made.","failureModes":["Missing required input fields returns a 400 error","Malformed JSON body causes request rejection","Payment failure via x402 protocol results in 402 Payment Required response","Empty or extremely short prompt text may yield low-quality optimization","Rate limiting or worker timeout may occur for very long prompts"],"whenToPreferThis":"Choose this endpoint when you need to programmatically improve AI prompts at scale, especially in automated pipelines where prompt quality directly impacts downstream model output. Useful for developers building prompt management tools, fine-tuning workflows, or agent frameworks where prompt quality is critical. Best for single-prompt optimization with immediate results rather than batch processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:35:27.145Z","isFirstParty":false,"canonicalSlug":"prompt-optimizer-831f052e"}