Optimize and evaluate prompts for any AI model or service. Accepts a draft prompt and the intended AI platform (e.g., GPT-4, Claude, Midjourney, and many more), analyzes best practices and context, and returns a revised, model-tailored prompt with rationale and reasoning for improved results.
I want to generate speech that can switch between whispers and shouting. The text should be delivered with clear vocal intensity variations - some parts whispered very softly and other parts shouted loudly and energetically.
usageTarget
ElevenLabs v3
sessionKey
elevenlabs-v3
This is a static example using sample inputs. Remix the template to run it with your own values.
Output
Read me
BuildShip AI Prompt Optimizer
A BuildShip workflow that automatically optimizes your prompts for specific AI models and platforms using real-time research to get better results.
What it does
This tool takes your existing prompt and intelligently rewrites it to work better with your target AI model (like GPT-4, Claude, Midjourney, etc.). Unlike static optimization tools, this workflow dynamically researches current best practices for your specific target model, then applies those insights to optimize your prompt accordingly.
Two-Step Process:
Research Phase: Analyzes current prompting best practices for your target AI model
Optimization Phase: Applies research findings to rewrite your prompt for maximum effectiveness
Input Parameters
draftPrompt (string, Required) - Your original prompt that you want to optimize
usageTarget (string, Required) - The AI model you're targeting (e.g., "GPT-4", "Claude", "Midjourney", "DALL-E", "Jasper")
sessionKey (string, Optional) - Use this for follow-up requests to maintain conversation context
Example Request
{
"draftPrompt": "Make me a picture of a dog playing in a park",
"usageTarget": "Midjourney",
"sessionKey": ""
}
Response Format
The API returns:
{
"response": {
"revisedPrompt": "Optimized version of your prompt",
"rationale": "Explanation of what changes were made and why",
"reasoning": "Detailed thinking process behind the optimization"
}
}
How to Use
First Request
Send your original prompt with your target AI model
Leave sessionKey empty ("")
Get back an optimized prompt plus a session key for follow-ups
Follow-up Requests
Use the sessionKey from the previous response
Send refinement requests or ask for variations
The tool will remember your previous conversation
Example Usage
Original prompt: "Write a story about space"
For GPT-4:
{
"draftPrompt": "Write a story about space",
"usageTarget": "GPT-4",
"sessionKey": ""
}
Optimized result might be: "Write a compelling 500-word science fiction short story set in space. Include: a specific protagonist with clear motivations, a central conflict or challenge they face, vivid descriptions of the space environment, and a satisfying resolution. Focus on character development and immersive world-building."
Supported AI Models
GPT-4, ChatGPT
Claude (Anthropic)
Midjourney
DALL-E
Stable Diffusion
Jasper
And many others (dynamically researched)
Key Features
Real-time Research: Dynamically finds current best practices for any AI model
Adaptive Optimization: Tailors prompts based on latest prompting techniques
Session Memory: Maintains context across multiple optimization requests
Detailed Explanations: Provides reasoning behind each optimization decision
Multi-modal Support: Works for both text and image generation prompts
Tips
Be specific about your target model for best results
Use session keys for iterative improvements
Check the rationale field to understand what changes were made
The tool adapts to new AI models automatically through research