# Automaton Media Image Generation API

> Automaton Media Image Generation API is a paid API for AI agents from api.language123.net, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Generates AI images from text prompts, accepting optional negative prompts, dimensions, format, and seed, billed per-request via USDC on Base.

## Facts

- Endpoint: POST https://api.language123.net/v1/image?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/automaton-media-image-generation-api-a0657848
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mWkupbQDqhhsCm9oqxMWB

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 automaton-media-image-generation-api-a0657848 -d '<json body>'
```

Example prompt: Generate a 512x512 PNG image of a futuristic cyberpunk city at night with neon lights reflecting off wet cobblestones, and exclude any people or crowds from the image.

## When to prefer this

Choose this endpoint when you need per-request AI image generation with no signup or API key, billed in USDC on Base via x402. It is ideal for agent workflows that need on-demand image creation with fine-grained control over dimensions, format, seed, and negative prompts, and where a pay-as-you-go micropayment model is preferred over subscription APIs.

## Known failure modes

- Prompt too long (exceeds 1000 characters) — request rejected with validation error
- Negative prompt too long (exceeds 500 characters) — validation error
- Width or height out of bounds (must be 256–768) — validation error
- Insufficient USDC balance or failed x402 payment — 402 Payment Required response
- Prompt contains disallowed or flagged content — content policy rejection
- Invalid format value (must be png, jpeg, or webp) — schema validation error

## How this service works

Pay-per-use APIs for AI agents: YouTube and audio transcription (speech-to-text); Text-to-speech: natural English voices (MP3/WAV); Text-to-image generation; Web scraper: any URL to clean Markdown; YouTube transcript (captions, instant). Pay each request with USDC via x402 on Base - no signup, no API key.

## Output

Returns a generated image file in the requested format (PNG, JPEG, or WebP) at the specified dimensions, produced from the text prompt while avoiding elements described in the negative prompt. The image is seeded for reproducibility if a seed value is provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "integer"
  },
  "width": {
   "type": "integer",
   "maximum": 768,
   "minimum": 256
  },
  "format": {
   "enum": [
    "png",
    "jpeg",
    "webp"
   ],
   "type": "string"
  },
  "height": {
   "type": "integer",
   "maximum": 768,
   "minimum": 256
  },
  "prompt": {
   "type": "string",
   "maxLength": 1000
  },
  "negative_prompt": {
   "type": "string",
   "maxLength": 500
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": "<binary image: PNG, JPEG or WebP, up to 768 px>"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/automaton-media-image-generation-api-a0657848/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.language123.net](https://www.zero.xyz/host/api.language123.net/llms.txt)
