Image Generation and Editing API, OpenAI-Compatible, No Email

The Obscurify.ai API generates and edits images in the same request format as OpenAI’s image API, at https://obscurify.ai/v1/images/generations and https://obscurify.ai/v1/images/edits. Any client that speaks that format (Open WebUI, the OpenAI SDKs, your own script) works with a base URL change and an Obscurify.ai API key. It runs on the account you already use for chat and agents, which is a random account code with no email, phone number or password behind it.

On November 29, 2026 there were 29 image models, among them the Qwen Image family (Qwen Image Edit included), FLUX.3 Klein, Seedream 5.5, GPT Image 1.5, 2 and 2.5 Flare, the Nano Banana models, Ideogram V4.5 and Recraft V4.1, plus two background removers.

Which models do what

GET https://obscurify.ai/v1/images/models lists every image model. It’s public, so you can read it without a key. Each entry says:

  • generations: whether it makes images from a text prompt
  • edits: whether it edits images you send, and max_input_images for how many
  • max_images: the most images one request can return (n)
  • sizes and, for some, aspect_ratios
  • pricing: the price of one image at each size, in USD, with our fee included. per_image is for an image made from text, per_edit for an edited one.

Some models only edit, such as Qwen Image Max Edit and the background removers. Those are offered only on /v1/images/edits: a generation request to one is refused with a message pointing to the edits endpoint, so a text-only request never goes to a model that would fail on it. A model that only generates is refused on the edits endpoint the same way.

A mask (for inpainting) is accepted only by models that take one. Send a mask to any other model and the request is refused before anything is spent, with a note to describe the edit in the prompt instead.

Generate an image

With curl:

curl https://obscurify.ai/v1/images/generations \
  -H "Authorization: Bearer $OBSCURIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen-image", "prompt": "a lighthouse at dusk, oil painting", "size": "1024x1024"}'

The answer is OpenAI’s shape: {"created": ..., "data": [{"b64_json": "..."}]}. Ask for "response_format": "url" and you get a data: URL instead, since we don’t host the images anywhere to link to.

With the OpenAI Python SDK:

import base64
from openai import OpenAI

client = OpenAI(base_url="https://obscurify.ai/v1", api_key="sk-obs1_...")

result = client.images.generate(
    model="qwen-image",
    prompt="a lighthouse at dusk, oil painting",
    size="1024x1024",
)
open("lighthouse.jpg", "wb").write(base64.b64decode(result.data[0].b64_json))

Check the file type of what comes back before you name it. Qwen Image returned a JPEG in our test even though the field is called b64_json.

Edit an image

The edits endpoint takes OpenAI’s multipart form (image, or several image[], plus mask, prompt, model, n, size, response_format), which is what Open WebUI and the OpenAI SDKs send:

curl https://obscurify.ai/v1/images/edits \
  -H "Authorization: Bearer $OBSCURIFY_API_KEY" \
  -F model=qwen-image \
  -F prompt="Make it a snowy night" \
  -F image=@lighthouse.jpg

In Python:

result = client.images.edit(
    model="qwen-image",
    image=open("lighthouse.jpg", "rb"),
    prompt="Make it a snowy night",
)

It also takes JSON, with the images as base64 data: URLs: {"model": "qwen-image", "prompt": "...", "images": [{"image_url": "data:image/png;base64,..."}]}. Images can be PNG, JPEG, WEBP or GIF, and their bytes have to match the type they’re declared as. A JPEG uploaded under a .png name is refused with “Image bytes do not match declared image type”. Remote image URLs aren’t fetched.

In Open WebUI, image generation and editing go in its image settings: choose the OpenAI engine, give it https://obscurify.ai/v1 as the base URL and your Obscurify.ai API key, and pick a model id from the list above.

What it costs

You pay per image. On November 29, 2026, qwen-image was listed at $0.026 per generated image and $0.039 per edit at every size it takes; the current prices for every model are in /v1/images/models. The bill is what the model’s host charged plus our fee, and never more than the listed price.

Before anything is made, your balance must cover the worst case: n images at the model’s dearest size. If it can’t, you get a 402 and nothing is spent. A request is never retried behind your back, because a retry could pay for the images twice. If your client hangs up partway through, the images already made are still billed.

The API is open to any account with a balance or a paid plan. Plans and included credit are on the pricing page.

Limits

  • Image requests are not zero retention. The model’s host may keep prompts, input images and results.
  • They use your account’s API key, so each request is tied to your account. They don’t run in private sessions, the way chats in the web chat and Android app do.
  • No uncensored image models. We list only models whose host says they can’t make NSFW images, and no LoRA routes.
  • Edits take about 3 MB of images in all. Resize or compress larger files first.
  • A size a model doesn’t list is ignored and the model’s default size is used.
  • Prompts can be up to 32,000 characters.

Frequently asked questions

Do I need an email to use the image API?

No. An Obscurify.ai account is a random 20-character account code made on your device. Add credit, get an API key from the account page, and call the endpoints. Card and crypto top-ups are tied to the account; a blind voucher payment isn’t.

Does it work with the OpenAI SDK?

Yes. Set the base URL to https://obscurify.ai/v1 and use client.images.generate and client.images.edit as you would with OpenAI. Fields the endpoints don’t use, such as quality or background, are read and dropped.

Which model should I use to edit a photo?

Any model with "edits": true in /v1/images/models. Qwen Image takes up to three input images. Models with “Edit” in the name, such as Qwen Image Max Edit or Nano Banana Pro Edit, only edit. For cutting out a background, the two Bria models do just that.

Can image models make adult content?

No. Every image model we offer is one its host lists as unable to make NSFW images.

Where are the full API docs?

At /api-docs, under images. Text and vision models are on the models page.