Spicy AI Image API

Add image generation to an adult creative app without building a model pipeline. Send a prompt to Brainbaby's image endpoint and receive a result URL. Eligible adult requests use the dedicated Wan image route.

How it works

  1. Create a key

    Sign in, open API settings, and keep your bb1x_ key on your server. Never expose it in client-side code.

  2. Send a prompt

    POST a JSON prompt to /v1/images/generate. Set spicy to true when you want the dedicated adult image route.

  3. Use the result

    A successful request returns an image URL and remaining image credits. One image credit is reserved per request and refunded if the provider job fails.

Questions before you start

Does this need a subscription?

Image API requests need an API key and image credits. The media endpoint can use purchased credits without a chat subscription.

Can I edit an image through the API?

Yes. POST a prompt and a publicly readable HTTPS sourceImage URL to /v1/images/edit. Editing spends one image credit.

Will every prompt produce an image?

No. Requests must pass Brainbaby's hard content rules, and the image provider can still reject a prompt or source.