# AgentUtility Book Cover Image Generator

> AgentUtility Book Cover Image Generator is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Generates a book cover image using the Chroma model via Venice, returning a 768×1024 PNG image URL for $0.01 USDC per call

## Facts

- Endpoint: POST https://x402.agentutility.ai/book-cover-image-generate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-book-cover-image-generator-1c03bd4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XHEi5eAYXstd6gJ2DxPBY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentutility-book-cover-image-generator-1c03bd4e -d '<json body>'
```

Example prompt: Generate a book cover image for my dark fantasy novel called 'The Ashen Crown' — a brooding, atmospheric scene with a crumbling stone throne and misty mountains in the background, moody and cinematic style.

## When to prefer this

Use this endpoint when you need a purpose-built book cover image generator optimized for portrait 768×1024 format using the Chroma model via Venice, payable per-call in USDC with no subscription required — ideal for self-publishing workflows, ebook cover generation, or any agent pipeline that needs professional-grade book cover art on demand.

## Known failure modes

- Invalid or missing prompt leads to generation failure
- Payment not settled via x402 returns 402 Payment Required
- Venice/fal.media upstream outage causes 503 or timeout
- Prompt violates content policy and is rejected
- Malformed request body returns 400 Bad Request

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

Returns a JSON object with the model used ('chroma'), image dimensions (768 wide × 1024 tall), the source provider ('venice'), and a direct image URL (hosted on fal.media) pointing to the generated book cover PNG.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "prompt"
     ],
     "properties": {
      "seed": {
       "type": "number",
       "description": "Random seed. Optional."
      },
      "tier": {
       "enum": [
        "fast",
        "creative",
        "anime",
        "sd35"
       ],
       "type": "string",
       "description": "Model shorthand. Default 'fast'."
      },
      "model": {
       "type": "string",
       "description": "Override the model. Must be one of: z-image-turbo, chroma, wai-Illustrious, venice-sd35."
      },
      "steps": {
       "type": "number",
       "description": "Diffusion steps. Optional; depends on model."
      },
      "width": {
       "type": "number",
       "description": "Output width in pixels. Range [256, 1024], snapped to multiples of 16. Default 1024."
      },
      "height": {
       "type": "number",
       "description": "Output height in pixels. Range [256, 1024], snapped to multiples of 16. Default 1024."
      },
      "prompt": {
       "type": "string",
       "description": "Image description. Up to 2000 chars."
      },
      "cfg_scale": {
       "type": "number",
       "description": "Classifier-free guidance scale. Optional."
      },
      "negative_prompt": {
       "type": "string",
       "description": "Negative prompt. Optional, up to 1000 characters."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "image_url",
      "model",
      "width",
      "height",
      "source"
     ],
     "properties": {
      "seed": {
       "type": [
        "number",
        "null"
       ],
       "description": "Seed reported by the provider, when available."
      },
      "tier": {
       "enum": [
        "fast",
        "creative",
        "anime",
        "sd35"
       ],
       "t
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "chroma",
  "width": 768,
  "height": 1024,
  "source": "venice",
  "image_url": "https://v3.fal.media/files/abc/xyz/image.png"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-book-cover-image-generator-1c03bd4e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
