---
name: res-mm8q24hn-w2y78t.dexter.cash
description: This host exposes a single paid AI image generation endpoint that requires an exact on-chain USDC payment of 0.05 USDC (50000 atomic units) on Solana mainnet before processing each request. It accepts a text prompt and returns generated images at 1024x1024 resolution. Payment and generation are coupled into a single call.
host: res-mm8q24hn-w2y78t.dexter.cash
---

# res-mm8q24hn-w2y78t.dexter.cash

res-mm8q24hn-w2y78t.dexter.cash is a pay-per-request AI image generation host built on the x402 payment protocol using SolanaPay. It serves agents that already hold Solana USDC and need to generate images from text prompts without a pre-existing API subscription. Each request is independently authorized by an on-chain payment, making it suitable for trustless, one-off generation tasks rather than high-volume pipelines.

## When to use this host

Use this host when an agent needs to generate an AI image from a text prompt and can submit an exact 0.05 USDC Solana mainnet payment per request. This is appropriate for trustless, one-off generation where no API key or subscription is available. Do not use this host for free or subsidized image generation, batch workflows where per-call payment overhead is prohibitive, or when output resolution above 1024x1024 is required. For free or cheaper image generation, consider hosts backed by OpenAI DALL-E, Stability AI, or similar APIs with flat-rate or subscription pricing. For batch generation, a host that accepts a single payment for multiple images would be more efficient.

## Capabilities

### Paid Image Generation

Accepts a text prompt alongside a verified Solana USDC payment and returns an AI-generated image at 1024x1024 resolution. Payment and generation are atomic per request.

- **`generate-image-via-solanapay`** — Generates an AI image from a text prompt via a paid endpoint that requires an exact 50000-unit USDC payment on Solana mainnet before processing.

## Skill reference

### `generate-image-via-solanapay`

**SolanaPay Image Generator** — Generates an AI image from a text prompt via a paid endpoint that requires an exact 50000-unit USDC payment on Solana mainnet before processing.

*Use when:* Use when an agent needs to generate an AI image from a detailed text prompt and is prepared to submit an on-chain Solana USDC payment of exactly 0.05 USDC (50000 atomic units) to authorize the request.

*Not for:* Do not use for free or low-cost image generation; this endpoint requires an exact on-chain USDC payment per request. Not suitable for batch generation without separate payments per call. Do not expect 4K or custom resolution output — the API silently downgrades to 1024x1024 regardless of prompt specs.

**Inputs:**

- `prompt` (string, required) — Text description of the image to generate. The API may revise the prompt before passing it to the underlying model.
- `payment` (object, required) — On-chain payment details object. Must include chain, amount (50000), currency (USDC), token_mint, sender_wallet, and optionally memo, fee_payer, and reference.
- `metadata` (object) — Optional request metadata including client identifier, request_id, session_id, merchant_id, callback_url, and webhook_events array.

**Returns:** Returns success=true with an images array containing a time-limited PNG URL and revisedPrompt, plus metadata showing model=dall-e-3, size=1024x1024, quality=standard, style=vivid.

**Example:** `{"prompt":"A futuristic Solana Pay checkout terminal in a minimalist retail store, neon lighting, shallow depth of field.","payment":{"chain":"solana","amount":"50000","currency":"USDC","token_mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","sender_wallet":"DevFFyNWxZPtYLpEjzUnN1PFc9Po6PH7eZCi9f3tTkTw"},"metadata":{"client":"agent","request_id":"req_001"}}`

---
