Nohaya
🎨 AI Prompts 2026-07-25 · 5 min read

The Specificity Trick: How Constraints Make Better AI Outputs

NT

Nohaya Team · Creator Tools & AI Software Reviewer

The Nohaya team researches, tests, and writes about AI tools, creator software, and productivity apps so you don't have to sort through the noise yourself.

Key Takeaways

  • Constraint-based prompts outperform open-ended ones because they eliminate ambiguity and force the AI away from generic defaults.
  • The strongest prompts layer three elements: core task, format/length specifics, and audience or context constraints.
  • Format constraints (word count, structure, bullet points) and tone/style references produce the biggest immediate improvement in output quality.
  • Iterate by identifying what went wrong in the output and adding the corresponding constraint—too generic gets a style reference, wrong format gets explicit structure.
🎨

Why Vague Prompts Fail (And What Actually Works)

Most people approach AI tools the way they'd ask a tired coworker for help: "Can you write me something good?" Then they're surprised when ChatGPT delivers generic, unusable text. Or they ask Midjourney for "a beautiful landscape" and get something that could be stock footage from 2005.

The reason is counterintuitive: the more open-ended your prompt, the more the AI defaults to average patterns in its training data. When you say "write a professional email," you get something that sounds like every other corporate email. When you say "a fantasy book cover," you get dragons and glowing swords—the path of least resistance.

Constraints are the opposite. They force specificity. And specificity is what separates "usable output" from "I'll start from scratch."

The Anatomy of a Strong Constraint-Based Prompt

A working prompt has three layers:

1. The Core Task — What you actually want

  • "Write a job description for a UX researcher"
  • "Generate an image of a brutalist apartment building"

2. Format/Length Constraints — Exactly how it should be shaped

  • "200 words max, bullet points for responsibilities"
  • "Wide-angle photograph, shot from ground level, concrete and steel only, no people, overcast lighting"

3. Context or Audience Constraint — Who it's for or what it excludes

  • "For a startup (not a Fortune 500 company), so energy and growth mindset matter more than hierarchy"
  • "Modern Berlin, not brutalism from the 1970s USSR—this should feel inhabitable, not dystopian"

Here's the difference:

Weak prompt: "Write me a LinkedIn post about AI tools."

Strong prompt: "Write a LinkedIn post (3 short paragraphs, casual but professional) about prompt engineering. Angle it toward resume writers and job seekers who haven't used AI yet. Don't mention specific tools—focus on the mindset shift."

Notice what happened: the second prompt has guardrails that actually eliminate ambiguity. The AI now knows it's writing short paragraphs, knows the audience (hesitant beginners), and knows what not to include (tool names). Those guardrails produce better output.

Constraints That Actually Matter

Not all constraints are equal. Here are the ones that shift output quality:

  • Word/token count — "50-75 words" or "under 100 tokens." This forces conciseness and removes fluff.
  • Format specifics — "Use a numbered list." "Write as a conversation between two people." "Structure as intro + 3 examples + conclusion."
  • Tone descriptors — Instead of "professional," try "urgent but calm" or "conversational like you're texting a friend."
  • Audience exclusions — "Explain this to someone with no technical background" or "Assume they don't know Figma."
  • Style references — For images: "shot like a lifestyle Instagram photo" or "in the style of early Wes Anderson films." For text: "write like a TechCrunch headline" or "adopt the tone of a mentor, not a teacher."
  • Specific details — Instead of "a nice office," say "a small startup office with natural light, standing desks, and plants in corners."

Practical Examples Across Tools

ChatGPT/Gemini (Text)

Weakly constrained: "Give me interview tips."

Well-constrained: "Give me 5 interview questions I should ask the hiring manager about company culture. Format as a numbered list. Each question should be 1-2 sentences. Assume this is for a tech role at a mid-size company where culture actually varies across teams. Don't ask generic things like 'what's your culture?'—make each question specific enough they have to think."

Notice the second prompt tells the AI what role it plays (questioner, not interviewee), how long each answer should be, who it's for, and what to avoid.

Midjourney (Image)

Weakly constrained: "A cozy home office."

Well-constrained: "A home office in a small apartment, morning light from a single window, minimalist desk (natural wood, no clutter), one plant on a shelf, cool tones, photo quality, shot from sitting height, shows the whole desk and chair, plants in corners, no people, natural daylight, modern but lived-in."

The second version specifies: time of day, materials, composition (what's in frame and from where), mood (lived-in, not pristine), and format (photo not render). You get something usable instead of something generic.

The Iterative Shortcut

You won't get it perfect on the first prompt. That's fine. The trick is knowing which constraint to tighten next.

If the output is still too generic: add a specific exclusion ("don't use...") or narrow the audience.

If it's off-tone: add a tone reference or comparison ("like a [specific creator], not like [generic thing].").

If it's the wrong format: specify the structure explicitly.

Each iteration teaches the AI something new about what you don't want, which narrows toward what you do want.

Why This Matters for Your Work

If you're using AI to draft resumes, cover letters, or portfolio descriptions, vague prompts waste your time—you'll edit heavily. A constrained prompt cuts editing time by 60-70% because the AI is already targeting your actual use case.

If you're generating images for a project, you're not looking for "pretty." You're looking for "on-brand, the right mood, right composition." Constraints deliver that.

Closing

The secret to better AI output isn't better AI—it's better prompts. Specificity wins every time. Start by adding one constraint you're not currently using: format, audience, or style reference. Watch how the output shifts. From there, you'll develop instinct for which constraints matter for your specific work.

Want more tactical prompt templates and engineering techniques? Explore ready-to-use AI prompts on Nohaya PromptAi, where you'll find frameworks for everything from job applications to creative projects.

Best for

  • Content creators and marketers using ChatGPT or Gemini for copy and social media
  • Designers and creative professionals using Midjourney or image generators
  • Job seekers and resume writers who want AI-assisted drafts that require minimal editing
  • Anyone frustrated with generic AI outputs who wants actionable tactics to improve them

Not a great fit for

  • People looking for a tool recommendation or ranking—this is about technique, not which tool to use

ChatGPT

Conversational AI for text generation, answering questions, and content drafting across any domain.

Pros

  • ✓ Highly responsive to detailed constraints and context
  • ✓ Easy iteration and refinement
  • ✓ Works across professional, creative, and technical writing

Cons

  • ✗ Cannot generate images natively (uses DALL-E integration in Plus plan)
  • ✗ Knowledge cutoff means some current information unavailable
  • ✗ Quality can still be generic without explicit constraints
Free (limited usage) and ChatGPT Plus (subscription-based); also available via OpenAI API Visit site →

Midjourney

AI image generator specialized in creating high-quality images from text prompts, accessed via Discord.

Pros

  • ✓ Exceptional at rendering specific styles and moods when prompts are detailed
  • ✓ Strong community sharing effective prompt techniques
  • ✓ Composition and lighting details translate well into visual output

Cons

  • ✗ Discord-only interface, steeper learning curve than ChatGPT
  • ✗ Subscription required for serious use
  • ✗ Requires more detailed constraints than text-based AI to avoid generic results
Subscription-based (roughly $10-120/month depending on usage tier), free trial available Visit site →

Google Gemini

Google's conversational AI for text generation, reasoning, and multimodal tasks including image understanding.

Pros

  • ✓ Strong at following multi-part constraints and detailed instructions
  • ✓ Integrated with Google Workspace for workflow use
  • ✓ Competitive with ChatGPT on most text tasks

Cons

  • ✗ Slightly less established prompt-engineering community than ChatGPT
  • ✗ Multimodal capabilities still developing compared to competitors
Free version available; Gemini Advanced (subscription) offers higher usage limits and access to latest models Visit site →
#prompt engineering#chatgpt#midjourney#ai tools#practical ai

Keep exploring

See what AI Prompts has to offer on Nohaya

🎨 Explore AI Prompts →
Why does adding constraints make AI outputs better? +

Constraints eliminate ambiguity and force specificity. Without them, AI defaults to average patterns in its training data. By specifying format, audience, tone, and what to exclude, you guide the AI away from generic defaults and toward outputs tailored to your actual need.

What's the most important constraint to include in every prompt? +

Format and audience constraints matter most. Telling the AI exactly how long the output should be (words, bullet points, paragraphs) and who it's for removes the most guesswork and produces the biggest quality jump in outputs.

How do I know which constraints to add if my first prompt misses the mark? +

Add constraints based on what went wrong: if it's too generic, add a style reference or exclusion ("don't use..."). If it's the wrong tone, add a specific tone descriptor or comparison. If the format is wrong, explicitly state the structure. Each iteration reveals which constraint matters next.

Does this work the same way for image and text prompts? +

Yes, the principle is identical, but the constraints differ slightly. For text, emphasize format, word count, tone, and audience. For images, specify composition, lighting, time of day, materials, mood, and format (photo vs. illustration). Both rely on eliminating vagueness.