{
  "x402Version": 2,
  "id": 12910,
  "slug": "12910",
  "resource": "https://app.maginary.ai/api/gens/",
  "description": "Generate AI images or video from a text prompt with Midjourney-style --flags (--ar 16:9, --v, --flagship, ...). Async: returns a generation record; poll GET /api/gens/{uuid}/ or set callback_url for a webhook. Pay-to-play: without credits you get a 402 priced for this prompt; settle the exact USDC on Base via x402 and retry. No account needed: first settlement creates the account; subsequent requests use wallet-signed headers (see 402 wallet_auth). Paying accepts https://maginary.ai/terms.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x945fe8CFac235F6C1d5A8E3C5982aFd6272Ea6f9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "280000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "prompt": "a fox in autumn foliage --ar 16:9"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "expected_output_count": 4,
            "image_urls": [],
            "processing_state": "queued",
            "url": "https://app.maginary.ai/api/gens/90037fd5f5b97c6a950cca10ecd453e5/",
            "uuid": "90037fd5f5b97c6a950cca10ecd453e5"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "callback_url": {
                    "description": "Optional HTTPS webhook for DONE/FAILED.",
                    "format": "uri",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Prompt text plus optional --flags (see /api/parameters/).",
                    "type": "string"
                  },
                  "recipe_uuid": {
                    "description": "Optional recipe to run the prompt through.",
                    "type": "string"
                  }
                },
                "required": [
                  "prompt"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "app.maginary.ai",
  "lastUpdated": "2026-09-07T18:08:11.014Z",
  "quality": {
    "calls30d": 10,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-07T18:08:10.573Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "app.maginary.ai",
    "manifest_name": "app.maginary.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}