# DDG Image Generation

> DDG Image Generation is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Generates images from a text prompt via a machine-payable API endpoint priced at $0.03 USDC per call using x402 payment rails

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/image-generation
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-image-generation-d8c651bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g4rS2FDfxLycnHYbg7sTR

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 ddg-image-generation-d8c651bf -d '<json body>'
```

Example prompt: Can you generate an image of a futuristic city skyline at dusk with neon lights reflecting off a rain-soaked street, paying with USDC via DDG's image generation service?

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call image generation billed in USDC via x402 crypto payment rails without a subscription or API key setup. It is ideal for AI agents that autonomously manage micropayments (e.g., via Coinbase x402), need bounded artifact delivery rather than raw model access, and want a low per-call cost of $0.03. Prefer it over subscription-based image APIs when usage is sporadic or when your agent stack already supports x402 payment flows.

## Known failure modes

- Payment failure: x402 payment not confirmed or insufficient USDC balance, resulting in 402 Payment Required
- Invalid input: missing required 'input' or 'output' fields in request body returns 400 Bad Request
- Prompt rejection: content policy violation causes generation refusal
- Timeout: image generation takes too long and request times out
- Malformed body: incorrect bodyType or method enum value causes schema validation error

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON response with an 'ok' status flag and, on success, the generated image artifact — either as binary image data or a reference URL — produced from the submitted text prompt. The response confirms whether the generation succeeded and delivers the bounded image result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-image-generation-d8c651bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
