# GlianaAI Remove Background

> GlianaAI Remove Background is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-11).

Removes the background from an image, returning a URL to the processed image with the background stripped out.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/remove-background?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-remove-background-12997772
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z7XfC8HsGsoUXMqMV-OLH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability glianaai-remove-background-12997772
```

Example prompt: Can you remove the background from this product photo so I'm left with just the item on a transparent background?

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-signup background removal API billed in USDC on-chain (Base, Solana, Algorand, Tempo, or BNB Chain), especially useful in agentic workflows where you want to avoid monthly subscription overhead and only pay for what you use. Good fit when already using other GlianaAI endpoints (LLM, image gen, OCR) to consolidate billing.

## Known failure modes

- Missing or invalid image input resulting in a 400 error
- Payment not provided or insufficient USDC balance causing a 402 response
- Image URL inaccessible or image format unsupported
- Processing failure if the image subject is ambiguous or indistinct from background
- Rate limiting or server errors returning 429 or 500 status codes

## How this service works

One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.

## Output

Returns a JSON object containing a model identifier ('remove-background') and an output object with a URL pointing to the processed image hosted on GlianaAI's media server, where the background has been removed from the original image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "remove-background",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-remove-background-12997772/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
