Skip to content

Expose the per-user AI image generation history through /private-api/ai-images #88

Description

@feruzm

The upstream already serves a per-user AI image generation history (last 20 successful generations: id, prompt, url, aspect_ratio, cost, created), but no proxy route exposes it, so no client can show it. That matters for recovery: a generation can complete and be billed server-side while the client saw a timeout or an error, and today the delivered image is not visible anywhere in the UI.

Add POST /private-api/ai-images: validate the signed code and pipe users/{username}/ai-images for the VALIDATED username only. Prompts are private to their author, so the username must come from the validated code, never from the request body (same principle as AiGenerateImage/AiTranscribe billing).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions