---
name: content-engine-x402.fly.dev
description: content-engine-x402.fly.dev is a paywall-gated image generation service that accepts USDC payments on Base (eip155:8453) via the x402 protocol and returns a job ID for tracking the resulting image work. It handles payment submission and job initiation in a single call but does not serve the generated image itself.
host: content-engine-x402.fly.dev
---

# content-engine-x402.fly.dev

This host serves agents that need to programmatically pay for and queue image generation jobs using USDC on Base. It is a single-endpoint service focused exclusively on the payment-and-initiation step of an image generation pipeline, leaving image retrieval to a separate mechanism. It is distinct from general-purpose image generation APIs in that it enforces on-chain micropayment via x402 before any work is scheduled.

## When to use this host

Use this host when an agent needs to pay for an image generation job on-chain using USDC on Base and obtain a job ID for downstream tracking. Do not use it to retrieve or poll for the completed image — a separate retrieval endpoint or polling mechanism is required for that step. Not suitable for free-tier image generation, non-USDC payment flows, or chains other than Base (eip155:8453). If the agent needs end-to-end image generation without on-chain payment, a standard image generation API (e.g. OpenAI Images, Stability AI) would be more appropriate.

## Capabilities

### Payment-Gated Job Initiation

Submits a USDC payment on Base and registers an image generation job, returning identifiers needed to track the work downstream.

- **`pay-and-initiate-image-job`** — Submits a USDC payment on Base (eip155:8453) and initiates a paid image generation job, returning a job ID and transaction ID for tracking.

## Skill reference

### `pay-and-initiate-image-job`

**ImagePay Agent** — Submits a USDC payment on Base (eip155:8453) and initiates a paid image generation job, returning a job ID and transaction ID for tracking.

*Use when:* Use when an agent needs to pay for and trigger an image generation operation via the x402 paywall on Base, and requires a job identifier to track the resulting image work.

*Not for:* Do not use to retrieve the generated image itself — this endpoint only confirms payment and records the job. Not suitable for free or non-USDC payment flows.

**Inputs:**

- `token` (string, required) — Token identifier associated with the image request.
- `amount` (number, required) — Amount for the image operation request.
- `chainId` (integer, required) — EVM chain ID for the payment network (Base = 8453).
- `network` (object, required) — Network configuration object specifying the chain and USDC contract address.
- `currency` (string, required) — Currency used for payment; must be USDC.
- `recipient` (string, required) — Ethereum address of the payment recipient on Base.

**Returns:** Returns paid=true, operation='image', a jobId UUID, and a transactionId UUID confirming the payment and job creation on Base.

**Example:** `{"token": "EfPoo4wWgxKVToit7yX5VtXXBrhao4G8L7vrbKy6pump", "amount": 100, "chainId": 8453, "network": {"chain": "eip155:8453", "usdcBase": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}, "currency": "USDC", "recipient": "0x402Feee072D655B85e08f1751AF9ddbCd249521f"}`

---
