{"uid":"cap_4BU7IgP5eZLRxohG5jIdV","slug":"alfred-x402-lora-flux-model-training-b677d358","name":"ALFRED x402 LoRA Flux Model Training","description":"Self-hosted personal-assistant paid tools via Lightning. Uses x402-shaped protocol (L402 lineage): HTTP 402 with a Lightning invoice in the response body + WWW-Authenticate header, retry with X-Payment-Hash: <hex> once paid. Results cached per payment_hash so legitimate retries don't cost twice.","url":"https://x402.wallace.us/x402/lora-train-flux","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"trigger_word":{"type":"string","description":"(optional, 3-24 chars)"},"training_images":{"type":"string","description":"(15-100 http(s) URLs)"},"content_attestation":{"type":"string","description":"(must be true)"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"100","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$100/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"100","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"100","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XazU1uV3Qu-VSInOD3oou","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"100","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Train a custom LoRA fine-tune on the FLUX image model using provided training images and an optional trigger word, paid via Lightning/x402 protocol.","exampleAgentPrompt":"Train a custom FLUX LoRA model using these 30 images of my product: [list of URLs], and set the trigger word to 'myprod' — I confirm all images are content I have rights to use.","exampleUseCases":[{"title":"Product photo style LoRA","prompt":"I have 40 images of my furniture line and want to train a FLUX LoRA so I can generate new product photos on demand — use 'furnitureco' as the trigger word, here are the image URLs: [list], and I confirm I own the rights to all images."},{"title":"Personal portrait model","prompt":"Can you train a custom FLUX LoRA on these 25 photos of me so I can generate portraits later? Use 'alexportrait' as the trigger word and here are the image URLs — I confirm these are my own photos."},{"title":"Artist style fine-tune","prompt":"I want to fine-tune a FLUX LoRA on 50 samples of my digital artwork to capture my illustration style; use 'mystyle' as the trigger word, here are the image URLs, and I attest all content is my original work."}],"resultDescription":"Returns a JSON object containing training job status and, upon completion, details about the trained LoRA model (e.g., model ID, checkpoint reference, or download link). Results are cached per payment hash so retrying after a paid invoice does not incur a second charge.","failureModes":["Payment not completed — server returns HTTP 402 with Lightning invoice; agent must pay and retry with X-Payment-Hash header","content_attestation not set to true — request rejected due to missing consent field","Fewer than 15 or more than 100 training image URLs provided — validation error","Invalid or unreachable image URLs — training job fails during image fetch","trigger_word outside 3-24 character range — parameter validation error","Training job timeout or infrastructure failure on the self-hosted server — generic 500 error"],"whenToPreferThis":"Choose this endpoint when you need a self-hosted, Lightning-native LoRA fine-tuning service for FLUX with micropayment-per-job billing and no subscription requirement. Prefer this over cloud ML platforms when you want pay-per-use pricing settled via Bitcoin Lightning, privacy of a self-hosted service, and direct control over the training pipeline without managing your own GPU infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:28.135Z","isFirstParty":false}