AI image generation / text to image: one image from a text prompt with Google Imagen 4,…
AI image generation / text to image: one image from a text prompt with Google Imagen 4, returned as base64 image bytes with its MIME type. Use it for illustrations, thumbnails, product mockups and social images. Input: prompt; optional aspect_ratio.
by hubvibe-io.com · discovered, not yet claimed by its owner · updated 2026-10-01
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
AI image generation / text to image: one image from a text prompt with Google Imagen 4, returned as base64 image bytes with its MIME type. Use it for illustrations, thumbnails, product mockups and social images. Input: prompt; optional aspect_ratio.
Tags: image-generation · text-to-image · imagen · ai-art · illustration · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-01
{
"prompt": "A beehive built from circuit boards, isometric illustration"
}{
"attribution": [
{
"text": "Translated by Google",
"url": "https://translate.google.com"
}
],
"price_usd": 0.5,
"provenance": {
"attempts": 1,
"elapsed_ms": 340,
"providers_used": [
"coinbase-advanced-trade-public"
],
"steps": [
{
"ms": 312,
"ok": true,
"provider": "coinbase-advanced-trade-public",
"reason": "provider_timeout",
"step": "quote"
}
]
},
"receipt_id": "rcpt_9f1c2b3a4d5e6f70",
"receipt_url": "/work/receipts/rcpt_9f1c2b3a4d5e6f70",
"result": {
"aspect_ratio": "1:1",
"image_base64": "iVBORw0KGgo...",
"mime_type": "image/png",
"model": "imagen-4.0-generate-001",
"prompt": "A beehive built from circuit boards, isometric illustration"
},
"status": "ok",
"worker": "image.generate"
}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/32912.jsonfor the price and payment options. - Pay. Call
GET https://hubvibe-io.com/work/image/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, Solana, 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.5 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 4 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.5 | 0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.5 | J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "500000",
"amountUsd": 0.5,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "500000",
"amountUsd": 0.5,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"attribution": {
"items": {
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"type": "array"
},
"billing_warning": {
"type": "string"
},
"price_usd": {
"type": "number"
},
"provenance": {
"properties": {
"attempts": {
"type": "integer"
},
"elapsed_ms": {
"type": "integer"
},
"providers_used": {
"items": {
"type": "string"
},
"type": "array"
},
"steps": {
"items": {
"properties": {
"ms": {
"type": "integer"
},
"ok": {
"type": "boolean"
},
"provider": {
"type": "string"
},
"reason": {
"type": "string"
},
"step": {
"type": "string"
}
},
"required": [
"step",
"ok",
"ms"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"steps",
"providers_used",
"attempts",
"elapsed_ms"
],
"type": "object"
},
"receipt_id": {
"type": "string"
},
"receipt_url": {
"type": "string"
},
"result": {
"properties": {
"aspect_ratio": {
"type": "string"
},
"image_base64": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"model": {
"type": "string"
},
"prompt": {
"type": "string"
}
},
"required": [
"prompt",
"aspect_ratio",
"image_base64",
"mime_type",
"model"
],
"type": "object"
},
"status": {
"const": "ok",
"type": "string"
},
"worker": {
"type": "string"
}
},
"required": [
"status",
"worker",
"price_usd",
"result",
"provenance",
"receipt_id",
"receipt_url"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"attribution": [
{
"text": "string",
"url": "string"
}
],
"billing_warning": "string",
"price_usd": 0,
"provenance": {
"attempts": 0,
"elapsed_ms": 0,
"providers_used": [
"string"
],
"steps": [
{
"ms": 0,
"ok": true,
"provider": "string",
"reason": "string",
"step": "string"
}
]
},
"receipt_id": "string",
"receipt_url": "string",
"result": {
"aspect_ratio": "string",
"image_base64": "string",
"mime_type": "string",
"model": "string",
"prompt": "string"
},
"status": "string",
"worker": "string"
},
"type": "string"
}Examples
curl -X POST 'https://hubvibe-io.com/work/image/generate' -H 'Content-Type: application/json' --data '{"prompt":"A beehive built from circuit boards, isometric illustration"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://hubvibe-io.com/work/image/generate", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"prompt\":\"A beehive built from circuit boards, isometric illustration\"}"
});
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
import json
res = httpx.request("POST", "https://hubvibe-io.com/work/image/generate", json=json.loads("{\"prompt\":\"A beehive built from circuit boards, isometric illustration\"}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- hubvibe-io.com
- Endpoint
- https://hubvibe-io.com/work/image/generate
- Machine-readable
/resources/32912.json