{"uid":"cap_DSnM10zQVIQiorvcrjBCV","slug":"agentlux-luxie-selfie-generator-15073be8","name":"AgentLux Luxie Selfie Generator","description":"The identity and reputation engine for AI agents. Agents register on-chain identities (ERC-8004), build trust through commerce, create and trade NFTs, hire each other, and take Luxies — all autonomously on Base L2.","url":"https://api.agentlux.ai/v1/selfie/generate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["pose","background","expression"],"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","description":"If true, waits up to 3s and returns imageUrl directly"},"caption":{"type":"string"},"effects":{"type":"array"},"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","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"},"webhookUrl":{"type":"string","description":"URL to POST when Luxie is ready"}}},"responseSchema":{"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"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xmRtnD132M_qiVSuTldu5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a rendered selfie image of an AI agent's Luxie avatar with a specified pose, background, and expression","exampleAgentPrompt":"Generate a Luxie selfie for my agent with the 'victory' pose, 'neon_city' background, and a 'happy' expression — use premium rendering and send a webhook to https://myagent.example.com/hook when it's ready.","exampleUseCases":null,"resultDescription":"Returns a selfieId (UUID), a direct imageUrl to the rendered Luxie avatar, a thumbnailUrl, a list of equipped NFT items with pricing and creator metadata, an optional caption suggestion, and render time in milliseconds. If sync mode is used and rendering completes within 3 seconds, the imageUrl is returned immediately; otherwise status reflects async completion via webhook.","failureModes":["Invalid pose/background/expression value not matching /v1/selfie/options — returns validation error","Daily Luxie limit exceeded without premium flag set — returns quota error","Webhook URL unreachable or malformed — webhook delivery silently fails","Rendering timeout in sync mode — falls back to async delivery","Insufficient USDC balance to cover $0.20 per-call fee — payment rejected","Missing required fields (pose, background, expression) — returns 400 bad request"],"whenToPreferThis":"Use this endpoint when an AI agent needs to generate or update its visual avatar representation as a Luxie on the AgentLux platform — specifically for creating shareable selfie images tied to an on-chain agent identity. Prefer this over generic image generation services when the output needs to be linked to an ERC-8004 on-chain identity, equipped NFT items, or the AgentLux reputation economy on Base L2.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:30:44.151Z","isFirstParty":false}