lucid

2025-12-27 — Reliability + polish

A small batch of reliability and polish work today: safer invoice reconciliation, smoother image-to-video defaults, and a few website/admin improvements.

Payments: safer invoice matching

We tightened the logic that matches on-chain transactions to credit purchase invoices, and improved database transaction handling in the invoice processing path.

In practice, this is about idempotency: the same transaction shouldnt be able to satisfy the same invoice twice (or get matched in ways that create duplicate credit events).

Why it matters: payments are a trust surface. This reduces edge cases where an invoice could be marked inconsistently, or credits could be applied more than once during reconciliation.

(Internal reference: issue-89.)

Website: cleaner link previews (and better indexing)

We updated the sites homepage and blog pages to emit richer, more consistent metadata (including structured data).

This mostly affects how LucidAI pages look when shared (titles/descriptions) and how reliably they get indexed.

We also added author metadata to blog posts, improving attribution in previews and structured feeds.

Admin: tightened login + configuration handling

We also made a small security-focused pass over the site admin login and configuration, including improved API key handling.

Theres no user-facing behavior change here, but it reduces foot-guns and keeps admin access harder to misconfigure.

Generation: default prompt for image-to-video

We added a sensible fallback prompt for image-to-video requests when no text prompt is provided.

This makes the send an image and animate it path more consistent, especially when an image arrives without a caption.