---
title: "How to use DeepAI with your AI agent | ZeroClick"
url: https://zeroclick.ai/resources/how-to-use-deepai-with-your-ai-agent
fetched_at: 2026-11-28T03:59:17.509Z
---

# ZeroClick API catalog and pricing

## API reference, endpoint lookup and prices

**[ZeroClick API catalog: endpoints, request parameters, prices and payment methods](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/zeroclick/agent/guide).** Tell the seller advisor what you want to accomplish. It returns the matching operation contract, known prices, authentication prerequisites and concrete next steps. It is read-only: no login, wallet, card or purchase approval is needed to look up an API. It never executes a sale.

Available API services: Agent readiness report, Demo booking.

**Suggested next request:** GET [task guide](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/zeroclick/agent/guide?goal=URL_ENCODED_TASK). Use this URL directly with your web fetch tool; no preliminary document fetch is required. Include known inputs and desired output in the goal. Optional: quantity=API_CALL_COUNT, budgetUsd=TOTAL_USD, requirements=REQUIREMENTS, payment=x402|mpp|card, auth, identity, assertion and access state. Omit unknowns. Do not equate output items with API calls or guess a call count.

For private task details or known request arguments, POST https://agents.zeroclick.ai/zcj/atg4esjn9jcj/zeroclick/agent/guide with Content-Type: application/json. Example: {"intent":"quote","goal":"YOUR_TASK","purchase":{"budgetUsd":"5.00"}}. Replace the task and budget with known facts; budgetUsd is a string. Include known buyerState, paymentCapabilities and arguments. For execution planning use intent=execute and the authorized constraints. Exact fields: [request schema](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/zeroclick/agent/schema). GET and POST are alternatives, not mandatory stages.

The advisor describes a recommended happy path, not the only allowed path. You may use the API reference, buyer SKILL and your own tools directly, including for catalog operations with failed probes. Missing guidance or an unverified probe is not a policy refusal. The returned requests are documented API calls; fill in the documented inputs. Check usage cost AND minimum cash required against the budget. For needs_input, supply only missing facts. Keep secrets local, and never put credentials or private payloads in URLs. Unknown does not mean absent.

For a human's credit or plan purchase, reuse an existing ZeroClick credential first. If the Link CLI is already installed and signed in for that person, you can use their Link account for identity as well as payment, sharing their email only if they agree: follow [Link identity setup](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/auth.md#link-identity-preview) through issuance, presentation, registration and token exchange. Otherwise register anonymously; no Link setup is needed, and the person can claim the identity later.

Open the checkout URL in a browser: eligible Stripe pages support Link Pay Tokens (LPT) through WebMCP or the documented DOM flow. Follow this storefront's /payment/card.md to verify the same-frame token input and merchant binding before requesting an LPT. Token submission requires payment authorization. If unavailable, privately send the checkout URL to your human to pay.

When the selected route uses hosted checkout, follow [card checkout instructions](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/payment/card.md) before requesting a token. LPT goes only to Stripe, never to the advisor or ZeroClick API. Poll the returned statusUrl before using credit or retrying delivery.

Verify delivery; a payment or HTTP 202 is not completion. For an unexpected result, POST the original input and continuation (version, stepId, outcome and sanitized error/accessId/paymentId). Reconcile uncertain payments or writes before retrying. Use raw HTTP for exact schemas and authenticated execution; do not reconstruct fields omitted by a summarizing web tool.

The human subscription prices on the requested page describe a separate channel. Use the API quote for per-unit pricing, funding minimums and commercial terms; tier names do not prove quality or licensing.

For an alternative documented path, use the [buyer SKILL](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/SKILL.md) or [full direct workflow reference](https://agents.zeroclick.ai/zcj/atg4esjn9jcj/llms-full.txt). Confirm missing request details from seller documentation, stay within the existing catalog and what your user asked for, and respect actual access and payment requirements.
Terms: by completing a purchase through this endpoint, whether directly or through an AI agent acting on your behalf, you agree to be bound by the platform's buyer terms of service (https://www.zeroclick.ai/legal/buyer-terms-of-service). If the purchase is made by an agent, you represent and warrant that the agent is acting with your authorization, and you agree that the agent's actions, including its acceptance of these terms, are attributed to you and bind you as if you had taken them yourself. Paying a 402 challenge completes the purchase and constitutes your affirmative acceptance of the terms linked above. The link travels in every payment challenge and receipt as `terms`.

# How to use DeepAI with your AI agent

*Published October 2, 2026 · 11 min read · [ZeroClick](https://x.com/zeroclick)*

DeepAI generates, edits, cleans up, and upscales images for your AI agent, starting at $0.01 per image. DeepAI sells through ZeroClick: your agent sends its request to the [DeepAI storefront](https://deepai.pay.zeroclick.io), pays that one request from a USDC wallet over x402 or MPP, and gets back a link to the finished image. Every call carries a free agent credential, not an API key.

**In short:**

- Send image jobs to `https://deepai.pay.zeroclick.io` with the same path and body DeepAI's API uses, and pay the 402 that comes back.
- Draft with the hd tier at $0.01 per image, then render the winner at genius ($0.08) or super genius 2K ($0.25).
- Background removal, colorization, and super resolution each cost $0.01 per image. Creative upscale costs $0.08.
- An agent without a wallet can create one at no cost, or hand a card checkout to a person.

## What DeepAI is

DeepAI launched in late 2016 as one of the first browser-based text-to-image generators. Today it is a creative platform for generating images, editing photos, and making short videos, in the browser and through simple APIs. You can explore it for free without an account at [deepai.org](https://deepai.org/).

That approach fits how agents work. An agent given an image task won't sit through an onboarding flow or wait on a sales call. It needs to arrive, ask for an image, and get one. With DeepAI on ZeroClick, it can also pay on the spot. The full partnership story is in [DeepAI x ZeroClick: AI image tools any agent can buy](https://zeroclick.ai/blog/deepai-ai-image-tools-any-agent-can-buy).

An agent storefront is the machine-readable version of a business. It is a URL where an agent reads what is for sale, the live prices, and the payment steps, then buys without anyone filling in forms. It works as a transparent proxy in front of DeepAI's own API, handling identity, payment, and forwarding. For how storefronts work, see [What is an agent storefront?](https://zeroclick.ai/resources/what-is-an-agent-storefront)

## What agents use DeepAI for

The storefront sells six image tools and two video tools.

| Job your agent is given | Service | Path | What to send |
|---|---|---|---|
| Generate a hero image, illustration, or thumbnail from a prompt | image-generator | `POST /api/text2img` | `text`, `image_generator_version` |
| Edit a photo from a plain instruction, such as "add a red hat" | photo-editor | `POST /api/image-editor` | `image`, `text`, `image_generator_version` |
| Remove the background from a product photo or profile picture | background-remover | `POST /api/background-remover` | `image` |
| Colorize a black and white photo or archive scan | image-colorizer | `POST /api/colorizer` | `image` |
| Upscale a small or compressed photo, for example for print | super-resolution | `POST /api/torch-srgan` | `image` |
| Upscale a soft image and add new detail as it enlarges | creative-upscale | `POST /api/creative-upscale` | `image` |
| Make a short video from a text prompt | text-to-video | `POST /video-api/text2video` | `prompt`, `mode`, `duration`, `shape` |
| Animate a still image into a clip | image-to-video | `POST /video-api/img2video` | `image`, optional `prompt`, `mode`, `duration` |

For the image tools, `image` is the URL of the source image. Each image tool returns an `id` and an `output_url` that links to the result. The generator's tiers are `hd`, `genius`, and `super_genius`. The genius tier also takes a `genius_preference` of `classic`, `anime`, `photography`, `graphic`, or `cinematic`. The video tools return a job id immediately. Your agent then polls the free status endpoint at `GET /video-api/status/{id}`. The [API reference](https://deepai.pay.zeroclick.io/openapi.json) lists every field.

## Prices

Image tools are billed per image. Video tools are billed per second of requested video.

| Service | Tier or mode | Price |
|---|---|---|
| Image generator | hd / genius / super genius (2K) | $0.01 / $0.08 / $0.25 per image |
| Photo editor | genius / super genius (2K) | $0.08 / $0.25 per image |
| Background remover | | $0.01 per image |
| Image colorizer | | $0.01 per image |
| Super resolution | | $0.01 per image |
| Creative upscale | | $0.08 per image |
| Text to video | hd / hollywood (2K) | $0.20 / $0.30 per second |
| Image to video | hd / hollywood | $0.20 / $0.30 per second |

The tiers give your agent a simple dial: explore cheaply, then spend on the version that ships. Twenty hd drafts cost $0.20. Re-rendering the best one at super genius adds $0.25, and removing its background adds $0.01, so the finished image costs $0.46 in total. A 5-second hd video costs $1.00. A 15-second hollywood video costs $4.50.

Prices come from the live [price list](https://deepai.pay.zeroclick.io/manifest.json). Every 402 states the exact amount before your agent pays. Read the price at call time instead of caching it.

## How to buy and call DeepAI from your agent

1. Point your agent at the [DeepAI storefront](https://deepai.pay.zeroclick.io). Its [agent guide](https://deepai.pay.zeroclick.io/llms.txt) points to the API catalog, the list of services, and the payment instructions.

2. Match the task to a service and path from the table above. Or ask the free task guide at `https://deepai.pay.zeroclick.io/zeroclick/agent/guide?goal=URL_ENCODED_TASK`, which needs no wallet and never buys anything.

3. Send the request to the storefront with the path and JSON body from the API reference. Include your agent's credential as `Authorization: Bearer <token>` and no payment header. The storefront prices it and answers with a 402. Register the credential free once through the [identity guide](https://deepai.pay.zeroclick.io/auth.md). One registration works at every ZeroClick storefront, so reuse one your agent already holds.

4. Check the 402's `payment.amountUsd` against your budget before you pay.

5. Pay the challenge from your wallet, using x402 for USDC on Base or MPP for USDC on Tempo.

6. Retry the identical request, byte for byte, with the payment proof attached and the same bearer. The payment is bound to the body of the request it priced.

7. Read `output_url` from the response and download or pass on the image. For video, poll `GET /video-api/status/{id}` with the same bearer until the job completes, and download it within an hour.

## Example requests

Send the unpaid request first. This one asks the generator for a single hd image:

```http
POST https://deepai.pay.zeroclick.io/api/text2img
Authorization: Bearer <access token>
Content-Type: application/json

{"text": "a serene mountain lake at sunrise", "image_generator_version": "hd"}
```

Expect a 402 in reply. Its body carries `payment.amountUsd`, the `plan`, and a `protocols` block with a challenge for each rail. The signable challenges also arrive as headers, so a standard x402 or MPP client can settle them without reading the body:

```http
HTTP/1.1 402 Payment Required
payment-required: <x402 challenge>
www-authenticate: <MPP challenge>
```

Sign the challenge and resend the same request with the proof and the same bearer. On x402, the payload goes in `x-payment`. On MPP, send `Authorization: Payment <credential>` and move the bearer to `ZC-Agent-Authorization`:

```http
POST https://deepai.pay.zeroclick.io/api/text2img
Authorization: Bearer <access token>
Content-Type: application/json
x-payment: <signed x402 payload>

{"text": "a serene mountain lake at sunrise", "image_generator_version": "hd"}
```

The paid response follows the API reference's schema. A `zc-billing` header comes with it and reconciles `authorizedUsd` against `chargedUsd`:

```json
{"id": "<job id>", "output_url": "<link to the generated image>"}
```

## If your agent has no wallet

Your agent has four options:

- **Create a wallet.** Your agent can set one up at no cost, then follow the steps above.
- **Pay a single call by card.** Card works for any pay-as-you-go call of $0.50 or more, so it does not cover a one-cent image. Follow the card block in the 402, POST to its `payUrl`, and retry the call with the `zc-payment-id` header. The hosted checkout supports browser agents with Link Pay Tokens. If your agent cannot complete it, send the checkout URL to whoever approves the purchase. The [card checkout instructions](https://deepai.pay.zeroclick.io/payment/card.md) cover the details, including polling the `statusUrl` before retrying.
- **Buy Credits by card.** For one-cent images, prepaid credit is the card route. With the same agent credential, send `POST /plans/{planId}/purchase` with `Authorization: Bearer <token>`, `checkout: true`, and an amount of at least $0.50. The Credits plan's id and `purchase.url` are in the price list. A $25 balance, sent as `{ "amountUsd": "25.000000" }`, covers 2,500 hd images. Use `POST /extend` to top it up.
- **Hand off to a person.** Share any DeepAI page as `https://deepai.pay.zeroclick.io/outclick?url={URL-encoded seller page}` so the referral is recorded.

## What to know

**What the storefront covers.** It sells the eight services listed above. The subscription prices on deepai.org are a separate channel for people. Use the storefront's own quote for agent pricing.

**Photo editor tiers.** The catalog lists an hd rate for the photo editor, but its request schema accepts only `genius` or `super_genius` for `image_generator_version`. In practice an edit starts at $0.08.

**Video limits.** A video runs 5 to 15 seconds. A prompt can be up to 3,000 characters. For image to video, send the source as a public URL or a base64 data URL of up to about 7.5 MB, and leave `shape` as `auto` in hollywood mode.

**What is charged, and when.** Each pay-as-you-go call is one 402 and one charge. Paying it completes the purchase under ZeroClick's buyer terms. Video is billed on the seconds you request. Polling the video status endpoint is free. A delivered response without a `zc-billing` header billed nothing. A payment or an HTTP 202 does not mean the job is done, so check that the output arrived. Once a paid call reaches DeepAI, your agent receives DeepAI's own status code and body.

**Errors worth handling.** The [error reference](https://deepai.pay.zeroclick.io/errors.md) lists every code. These are the ones your agent is most likely to meet:

| Error | What to do |
|---|---|
| `payment_request_mismatch` (409) | A payment was spent on a request other than the one it priced. Get a new 402 for this request and pay that. |
| `settlement_failed` | Fix the wallet, for example `insufficient_funds`, then start over for a fresh challenge. |
| `payment_provider_unavailable` | This is the only payment error to retry unchanged, with backoff. |
| `payment_consumed` | The payment was already settled. Check the original request's delivery before paying again. |
| `bearer_required` (401) | The call carried no agent credential. Register at the [identity guide](https://deepai.pay.zeroclick.io/auth.md) and retry with the bearer. |
| `usage_exhausted` | The Credits balance ran out. Top up with `POST /extend`. |

## Frequently asked questions

### Does DeepAI need an API key for AI agents?

No DeepAI account or API key is needed. Every call carries a free agent credential from the [identity guide](https://deepai.pay.zeroclick.io/auth.md), registered once and anonymously if you like. Each request is then paid with a signed payment from your agent's wallet.

### How much does DeepAI cost per image?

Image generation costs $0.01 at hd, $0.08 at genius, and $0.25 at super genius 2K. Background removal, colorization, and super resolution cost $0.01 per image. Creative upscale costs $0.08.

### Can my agent pay DeepAI with x402?

Yes. The x402 challenge arrives in the `payment-required` header for Base USDC. Your agent retries the same request with the signed payload in `x-payment`.

### How do I remove an image background with an AI agent?

Send the image URL to `POST /api/background-remover` on the DeepAI storefront and pay the $0.01 challenge. The response's `output_url` links to the cutout.

### Can my agent use DeepAI without a crypto wallet?

Yes. It can create a free wallet, pay calls of $0.50 or more by card, buy Credits by card from $0.50, or hand the purchase to a person through a tracked checkout link.

### Do I have to use an AI agent to use DeepAI?

No. A person can use DeepAI directly at [deepai.org](https://deepai.org/), free without an account, or subscribe to DeepAI Pro for $9.99 a month for high-volume usage, private generations, no ads, and API access. The storefront is the route for an agent that pays per request with a free agent credential instead of an account.

---

**Related guides:**
- [How to use Firmable with your AI agent](https://zeroclick.ai/resources/how-to-use-firmable-with-your-ai-agent)
- [How to use Scalelist with your AI agent](https://zeroclick.ai/resources/how-to-use-scalelist-with-your-ai-agent)
- [How to use TickerLayer with your AI agent](https://zeroclick.ai/resources/how-to-use-tickerlayer-with-your-ai-agent)
- [All resources](https://zeroclick.ai/resources#get-more-done)
