{
  "format": "delx/intent-card/v1",
  "id": "cheap-image-generation-api",
  "intent": "generate an image from a text prompt",
  "title": "Cheap image generation API for agents",
  "description": "Create a commercial-use image from text for $0.01, with a durable WebP URL and SHA-256 receipt.",
  "keywords": [
    "cheap image generation API",
    "text to image API",
    "AI image API",
    "x402 image generation"
  ],
  "updated_at": "2026-07-30",
  "canonical_url": "https://commerce.delx.ai/intents/cheap-image-generation-api",
  "machine_url": "https://commerce.delx.ai/intents/cheap-image-generation-api.json",
  "recommendation": {
    "tool_name": "generate_image",
    "service_name": "Delx FLUX Image",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/image",
    "price_usdc": "0.01",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "prompt": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000,
          "description": "Text description of the image to generate."
        },
        "aspect_ratio": {
          "type": "string",
          "enum": [
            "1:1",
            "16:9",
            "21:9",
            "3:2",
            "2:3",
            "4:5",
            "5:4",
            "3:4",
            "4:3",
            "9:16",
            "9:21"
          ],
          "default": "1:1"
        },
        "quality_profile": {
          "type": "string",
          "enum": [
            "balanced",
            "raw"
          ],
          "default": "balanced",
          "description": "balanced applies versioned anti-artifact quality guidance; raw forwards the prompt unchanged."
        }
      },
      "required": [
        "prompt"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "prompt": "A friendly robot creating digital art for an AI agent",
      "aspect_ratio": "1:1",
      "quality_profile": "balanced"
    },
    "example_output": {
      "generation_id": "d61c158acd974528be6af43a3bfac50f",
      "image_url": "https://api.delx.ai/api/v1/generated-images/d61c158acd974528be6af43a3bfac50f.webp",
      "model": "black-forest-labs/flux-schnell",
      "provider": "replicate",
      "aspect_ratio": "1:1",
      "quality_profile": "balanced",
      "prompt_policy_version": "balanced/v1",
      "media_type": "image/webp",
      "width": 1024,
      "height": 1024,
      "bytes": 21302,
      "sha256": "b1fee3065c234364feb056ee4ad06f135c0d30039eaff0e92e52e371e884cb29",
      "sale_price_usdc": 0.01
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/image -m POST -H 'x-delx-source: intent-card-cheap-image-generation-api' --max-amount 0.01 -b '{\"prompt\":\"A friendly robot creating digital art for an AI agent\",\"aspect_ratio\":\"1:1\",\"quality_profile\":\"balanced\"}'",
      "max_amount_usdc": "0.01"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-cheap-image-generation-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/image"
  }
}
