Prompt

How do I use negative prompts in an image generation endpoint?

Artificial Intelligence / AI Content Generation2 observationsLast seen Oct 19, 2026

Latest observation

Oct 19, 2026OpenAI APIWeb search: off

Negative prompts are usually used to describe what you don’t want in the generated image. In an image generation endpoint, you typically pass them as a separate field alongside the main prompt.

Basic idea

  • Prompt: what you want
  • Negative prompt: what to avoid

Example:

{
  "prompt": "a photorealistic portrait of a woman in a red dress",
  "negative_prompt": "blurry, low quality, extra fingers, distorted face"
}

Typical usage

Depending on the API, the parameter may be named:

  • negative_prompt
  • negativePrompt
  • avoid
  • exclude

Example request

response = client.images.generate(
    model="your-model",
    prompt="a futuristic city at sunset",
    negative_prompt="dark, foggy, low detail, blurry"
)

Tips

  • Keep the negative prompt specific and concise.
  • Common exclusions:
    • blurry
    • low quality
    • bad anatomy
    • extra limbs
    • watermark
    • text
  • Too many negatives can sometimes hurt image quality or make the result less creative.

If your endpoint doesn’t support negative prompts

Some image generation APIs don’t offer a dedicated negative prompt field. In that case, you may need to:

  • incorporate exclusions into the main prompt, or
  • use model-specific guidance parameters if available.

If you want, I can show you how to do this for a specific API or SDK.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (2 observations for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.