Generate an image from a text prompt with Grok Imagine; the result is hosted on MemeSta…
Generate an image from a text prompt with Grok Imagine; the result is hosted on MemeStack, AI-captioned and tagged, and returned as gallery and image URLs. 60 sats standard or 150 sats quality (USDC equivalent) per generation, chosen by the request's mode. No…
by api.memestack.ai · discovered, not yet claimed by its owner · updated 2026-09-05
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Generate an image from a text prompt with Grok Imagine; the result is hosted on MemeStack, AI-captioned and tagged, and returned as gallery and image URLs. 60 sats standard or 150 sats quality (USDC equivalent) per generation, chosen by the request's mode. No account or API key: the x402 (USDC on Base) or L402 (Lightning) payment is the auth.
Tags: bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/12402.jsonfor the price and payment options. - Pay. Call
GET https://api.memestack.ai/v1/agent/generate. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.048 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Calls (30d)
- 1 · 1 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.048 | 0xa06C42DAA258595Bc773A0bF032A5Ba55939781a | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa06C42DAA258595Bc773A0bF032A5Ba55939781a",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "48000",
"amountUsd": 0.048,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"bazaar": {
"info": {
"input": {
"body": {
"aspect_ratio": "1:1",
"mode": "standard",
"prompt": "A cat explaining the Bitcoin halving at a whiteboard"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"caption": "A cat at a whiteboard explaining the Bitcoin halving",
"image_id": "3f2b6d8e-1c4a-4f0e-9b7d-2a6c8e0f1d23",
"image_url": "https://api.memestack.ai/v1/images/3f2b6d8e-1c4a-4f0e-9b7d-2a6c8e0f1d23",
"tags": [
{
"score": 9,
"tag": "bitcoin"
},
{
"score": 8,
"tag": "cat"
}
],
"thumbnail_url": "https://api.memestack.ai/v1/images/3f2b6d8e-1c4a-4f0e-9b7d-2a6c8e0f1d23/thumbnail",
"url": "https://memestack.ai/gallery/3f2b6d8e-1c4a-4f0e-9b7d-2a6c8e0f1d23"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"aspect_ratio": {
"default": "1:1",
"enum": [
"1:1",
"3:4",
"16:9"
],
"type": "string"
},
"mode": {
"default": "standard",
"enum": [
"standard",
"quality"
],
"type": "string"
},
"prompt": {
"maxLength": 2000,
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Example shape — generated from the schema, not a captured live response
nullExamples
curl "https://api.memestack.ai/v1/agent/generate"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.memestack.ai/v1/agent/generate");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.memestack.ai/v1/agent/generate")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.memestack.ai
- Endpoint
- https://api.memestack.ai/v1/agent/generate
- Machine-readable
/resources/12402.json