Stability AI - Invalid Prompts Detected

Stability AI's REST API has a very simple way of handling prompts that it may deem as NSFW: simply check if the prompt contains a keyword from a list of keywords and, if true, raise an Invalid Prompts detected error as an HTTP 400.

What's worse is that the company has been unresponsive to numerous issues filed by developers since January 2023!

Here's a sample of incredibly innocent prompts that will cause their API to raise this exception:

A group of children excitedly gathered around a storyteller or a stack of books

Risk assessment matrix or scale to showcase different levels of risk

A lighthouse or beacon, symbolizing guidance and protection against potential threats

An airplane ascending into the sky, symbolizing the successful execution of the 30-60-90 day sales plan

Diffute's REST API does not have this same problem. You are responsible for the prompts you generate -- we do not filter them.

We support Stable Diffusion XL 1.0, custom image resolutions and nearly every knob you could possibly want to turn.

Get an API key here