{
  "generated_at": "2026-05-11T00:56:48.476130+00:00",
  "slug": "api-agentlux-ai-v1-selfie-generate",
  "title": "Api \u00b7 Selfie Generate",
  "url": "https://api.agentlux.ai/v1/selfie/generate",
  "category": "media",
  "summary": "Api \u00b7 Selfie Generate \u2014 x402-protected media API. Pay $0.200 per call on base. Indexed by x402all.",
  "seo": {
    "title": "Api \u00b7 Selfie Generate \u2014 x402 media API \u00b7 $0.200 per call",
    "description": "Api \u00b7 Selfie Generate \u2014 x402-protected media API. Pay $0.200 per call on base. Indexed by x402all."
  },
  "use_cases": [],
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 2.5,
    "median_category_atomic": 80000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x2bd0aec63aa0fb17219fe7c7ea0f0b7d64b87625",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "200000",
      "max_timeout_seconds": 60,
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyFields": {
            "pose": {
              "enum": [
                "standing_neutral",
                "standing_confident",
                "sitting_relaxed",
                "sitting_crossed",
                "action_running",
                "action_jumping",
                "portrait_closeup",
                "portrait_side",
                "confident_lean",
                "waving"
              ],
              "type": "string",
              "required": true,
              "description": "Pose name from Luxie options (/v1/selfie/options)"
            },
            "sync": {
              "type": "boolean",
              "description": "If true, waits up to 3s and returns imageUrl directly"
            },
            "caption": {
              "type": "string"
            },
            "effects": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "premium": {
              "type": "boolean",
              "description": "If true, bypasses the daily Luxie limit and uses 1920x1080 priority rendering"
            },
            "background": {
              "enum": [
                "studio_white",
                "studio_dark",
                "city_day",
                "city_night",
                "nature_forest",
                "nature_beach",
                "abstract_gradient",
                "abstract_geometric",
                "custom",
                "transparent"
              ],
              "type": "string",
              "required": true,
              "description": "Background name from Luxie options (/v1/selfie/options)"
            },
            "expression": {
              "enum": [
                "happy",
                "neutral",
                "excited",
                "cool",
                "surprised",
                "thoughtful",
                "smirk",
                "laughing"
              ],
              "type": "string",
              "required": true,
              "description": "Expression name from Luxie options (/v1/selfie/options)"
            },
            "resolution": {
              "enum": [
                "1080x1080",
                "1920x1080"
              ],
              "type": "string"
            },
            "webhookUrl": {
              "type": "string",
              "description": "URL to POST when Luxie is ready"
            }
          }
        },
        "output": {
          "type": "object",
          "required": [
            "selfieId",
            "status",
            "imageUrl"
          ],
          "properties": {
            "status": {
              "type": "string",
              "const": "completed"
            },
            "premium": {
              "type": "boolean"
            },
            "imageUrl": {
              "type": "string",
              "format": "uri"
            },
            "selfieId": {
              "type": "string",
              "format": "uuid"
            },
            "renderTimeMs": {
              "type": "integer"
            },
            "thumbnailUrl": {
              "type": "string",
              "format": "uri"
            },
            "equippedItems": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "itemId",
                  "name",
                  "priceUsdc",
                  "priceUsdCents",
                  "priceUsdDisplay",
                  "category",
                  "creatorName"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "slot": {
                    "type": "string",
                    "nullable": true
                  },
                  "itemId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "category": {
                    "type": "string"
                  },
                  "priceUsdc": {
                    "type": "number"
                  },
                  "creatorName": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "thumbnailUrl": {
                    "type": "string",
                    "format": "uri",
                    "nullable": true
                  },
                  "flatRenderUrl": {
                    "type": "string",
                    "format": "uri",
                    "nullable": true
                  },
                  "priceUsdCents": {
                    "type": "integer"
                  },
                  "priceUsdDisplay": {
                    "type": "string"
                  }
                }
              }
            },
            "captionSuggestion": {
              "type": "string"
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "api-agentlux-ai",
    "host": "api.agentlux.ai",
    "url": "https://api.agentlux.ai",
    "favicon": "https://agentlux.ai/icon.png"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-agentlux-ai-v1-selfie-generate",
    "url": "https://x402all.com/resource/api-agentlux-ai-v1-selfie-generate",
    "name": "Api \u00b7 Selfie Generate",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-agentlux-ai-v1-selfie-generate",
      "@type": "Offer",
      "price": "0.2",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "additionalProperty": [
        {
          "name": "paymentNetwork",
          "@type": "PropertyValue",
          "value": "base"
        },
        {
          "name": "paymentAsset",
          "@type": "PropertyValue",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ],
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.200000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent"
    },
    "sameAs": "https://api.agentlux.ai/v1/selfie/generate",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-agentlux-ai",
      "url": "https://api.agentlux.ai",
      "name": "api.agentlux.ai",
      "@type": "Organization"
    },
    "identifier": "api-agentlux-ai-v1-selfie-generate",
    "description": "Api \u00b7 Selfie Generate \u2014 x402-protected media API. Pay $0.200 per call on base. Indexed by x402all.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-agentlux-ai-v1-selfie-generate",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "media"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-agentlux-ai-v1-selfie-generate",
  "callability": {
    "status": "call_ready",
    "schema_callability": 0.722,
    "source": "provider_openapi",
    "source_confidence": 0.9,
    "match_confidence": 0.95,
    "schema_confidence": 1.0,
    "validated_at": "2026-05-10T23:54:29.720992+00:00",
    "warnings": [
      "example_invalid",
      "example_invalid"
    ]
  },
  "contract": {
    "method": "POST",
    "route_template": "/v1/selfie/generate",
    "content_type": "application/json",
    "request_body_schema": {
      "type": "object",
      "allOf": [
        {
          "if": {
            "required": [
              "background"
            ],
            "properties": {
              "background": {
                "const": "custom"
              }
            }
          },
          "else": {
            "not": {
              "required": [
                "backgroundPrompt"
              ]
            }
          },
          "then": {
            "required": [
              "backgroundPrompt"
            ]
          }
        }
      ],
      "required": [
        "pose",
        "expression",
        "background"
      ],
      "properties": {
        "pose": {
          "enum": [
            "standing_neutral",
            "standing_confident",
            "sitting_relaxed",
            "sitting_crossed",
            "action_running",
            "action_jumping",
            "portrait_closeup",
            "portrait_side",
            "confident_lean",
            "waving"
          ],
          "type": "string",
          "description": "Pose name from Luxie options (/v1/selfie/options)"
        },
        "sync": {
          "type": "boolean",
          "default": false,
          "description": "If true, waits up to 3s and returns imageUrl directly"
        },
        "caption": {
          "type": "string",
          "maxLength": 100
        },
        "effects": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "premium": {
          "type": "boolean",
          "default": false,
          "description": "If true, bypasses the daily Luxie limit and uses 1920x1080 priority rendering"
        },
        "background": {
          "enum": [
            "studio_white",
            "studio_dark",
            "city_day",
            "city_night",
            "nature_forest",
            "nature_beach",
            "abstract_gradient",
            "abstract_geometric",
            "custom",
            "transparent"
          ],
          "type": "string",
          "description": "Background name from Luxie options (/v1/selfie/options)"
        },
        "expression": {
          "enum": [
            "happy",
            "neutral",
            "excited",
            "cool",
            "surprised",
            "thoughtful",
            "smirk",
            "laughing"
          ],
          "type": "string",
          "description": "Expression name from Luxie options (/v1/selfie/options)"
        },
        "resolution": {
          "enum": [
            "1080x1080",
            "1920x1080"
          ],
          "type": "string",
          "default": "1080x1080"
        },
        "webhookUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL to POST when Luxie is ready"
        },
        "backgroundPrompt": {
          "type": "string",
          "maxLength": 500,
          "description": "Required when background is custom. Rejected for every other background value."
        }
      }
    },
    "response_schema": {
      "type": "object",
      "required": [
        "selfieId",
        "status",
        "imageUrl"
      ],
      "properties": {
        "status": {
          "type": "string",
          "const": "completed"
        },
        "premium": {
          "type": "boolean"
        },
        "imageUrl": {
          "type": "string",
          "format": "uri"
        },
        "selfieId": {
          "type": "string",
          "format": "uuid"
        },
        "renderTimeMs": {
          "type": "integer"
        },
        "thumbnailUrl": {
          "type": "string",
          "format": "uri"
        },
        "equippedItems": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "itemId",
              "name",
              "priceUsdc",
              "priceUsdCents",
              "priceUsdDisplay",
              "category",
              "creatorName"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "slot": {
                "type": "string",
                "nullable": true
              },
              "itemId": {
                "type": "string",
                "format": "uuid"
              },
              "category": {
                "type": "string"
              },
              "priceUsdc": {
                "type": "number"
              },
              "creatorName": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "thumbnailUrl": {
                "type": "string",
                "format": "uri",
                "nullable": true
              },
              "flatRenderUrl": {
                "type": "string",
                "format": "uri",
                "nullable": true
              },
              "priceUsdCents": {
                "type": "integer"
              },
              "priceUsdDisplay": {
                "type": "string"
              }
            }
          }
        },
        "captionSuggestion": {
          "type": "string"
        }
      }
    },
    "examples": [
      {
        "pose": "standing_neutral",
        "sync": true,
        "caption": "Looking fresh!",
        "background": "studio_white",
        "expression": "happy"
      },
      {
        "status": "completed",
        "premium": false,
        "imageUrl": "https://cdn.agentlux.ai/selfies/f47ac10b.png",
        "selfieId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "renderTimeMs": 2450,
        "thumbnailUrl": "https://cdn.agentlux.ai/selfies/f47ac10b-thumb.png",
        "equippedItems": [
          {
            "name": "Neon Visor",
            "slot": "head",
            "itemId": "550e8400-e29b-41d4-a716-446655440000",
            "category": "hat"
          }
        ],
        "captionSuggestion": "Rocking the Neon Visor today!"
      },
      {
        "status": "rendering",
        "pollUrl": "/v1/selfie/detail/f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "premium": false,
        "selfieId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "estimatedMs": 5000,
        "syncTimedOut": false,
        "captionSuggestion": "Rocking the Neon Visor today!",
        "pollIntervalSeconds": 2,
        "estimatedCompletionSeconds": 5
      }
    ],
    "schema_presence": {
      "path_schema": "unknown",
      "query_schema": "unknown",
      "header_schema": "unknown",
      "request_body_schema": "declared",
      "response_schema": "declared"
    },
    "contract_hash": "2d48ca1f063b0e5878c4e6c82b62dba52c00a9225e4674f8867b82742592d30b"
  }
}