Configure Account

Set up your account to easily use ImgGen AI API in your apps


Before diving into programmatically using the ImgGen AI API, it’s important to make sure your ImgGen AI account is properly configured.

Create ImgGen AI Account

You’ll first need to sign-up on ImgGen AI platform. Signup only takes a few minutes. You can sign-up via Google to create an account.

Get your API Key

  1. Log into your ImgGen AI account
  2. Open Settings → API Keys
  3. Click Create API Key, give it a name, and your new key will be generated
⚠️

Your API key is shown only once, at creation. Store it somewhere safe — only a hash is kept, so it can’t be retrieved again. You can revoke a key and create a new one at any time.

Base URL

All endpoints are served under:

https://app.imggen.ai

Authentication

Send your API key on every request. Two schemes are accepted:

# Recommended
Authorization: Bearer YOUR_API_KEY
# Legacy (keys from the previous version keep working)
X-IMGGEN-KEY: YOUR_API_KEY

A missing or invalid key returns 401.

Batch processing (legacy)

Every image tool accepts either a single image file or multiple files via the image[] field (the shape used by the previous API):

  • Send a single image → the response contains a single image.
  • Send one or more image[] → the response contains an images array plus a failedImages array listing any that could not be processed.

A batch may contain up to 10 images per request; each is billed individually, and any image that fails is refunded automatically.

{
  "success": true,
  "message": "Watermark Removed Successfully",
  "images": ["iVBORw0KGgoAAA...SUVORK5CYII=", "UklGRnz/AQ...aIUJ7gAAA=="],
  "failedImages": []
}

Each failedImages entry has the shape { "index": 0, "filename": "…", "error": "…" }.

💡

Want to try before you buy? Try Now

Hurraayy 🥳 Now you are all set, let’s dive in…