dreamlink-image-gen

Generate dream images via FLUX.2 prompts with retries and Supabase storage.

Updated Mar 5, 2025
One-click install
npx skills add https://github.com/linguosity/dreamlink3.0 --skill dreamlink-image-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dreamlink-image-gen
Source: https://github.com/linguosity/dreamlink3.0/tree/main/skills/dreamlink-image-gen
Command: npx skills add https://github.com/linguosity/dreamlink3.0 --skill dreamlink-image-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Dream image generation often suffers from inconsistent outputs, unreliable timing, and lack of guardrails. This skill delivers a production-grade workflow that reliably generates dream imagery by orchestrating prompt construction, tier gating, retries, and durable storage.

Core Features & Use Cases

  • Aesthetic-aware prompts: builds FLUX.2 prompts that match the dream’s mood using curated presets.
  • Tier-gated access: restricts higher-cost presets by user tier, with graceful fallbacks.
  • Exponential backoff retries & dead-letter tracking: ensures failed attempts are retried and tracked for review.
  • Async polling & storage: polls for result, uploads the image to Supabase storage, and updates dream entries.
  • End-to-end workflow: integrates dream analysis results to provide a ready-to-view image URL.

Quick Start

Trigger the dream-image generation flow for a completed dream analysis to obtain and view the generated image URL.

Frequently Asked Questions about dreamlink-image-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle unreliable dream image generation with automatic retries?

To handle unreliable dream image generation, you can use a workflow that applies exponential backoff retries and dead-letter tracking for failed attempts. This ensures inconsistent timing or transient failures are retried and tracked for later review.

How does tier gating work for image generation presets?

Tier gating restricts higher-cost aesthetic presets by user tier, applying graceful fallbacks when access is denied. This ensures expensive image generation workflows remain controlled while still producing valid outputs for lower-tier users.

How do I securely store generated FLUX.2 images and update database records?

To securely store generated FLUX.2 images, the workflow polls for the result, uploads the image to Supabase storage, and automatically updates the corresponding dream entries in your database with the ready-to-view image URL.

What is the best way to construct aesthetic-aware prompts for dream analysis?

The best way to construct aesthetic-aware prompts is to integrate dream analysis results and apply curated aesthetic presets. This builds FLUX.2 prompts that match the dream's mood and reliably drive the image generation pipeline.

Can I use this automated image generation workflow for production workloads?

Yes, this automated image generation workflow is designed for production workloads. It coordinates input validation, prompt construction, retry queueing, and secure storage to handle user submissions and dream-analysis pipelines reliably.

Why does multi-stage dream image generation fail and how can dead-letter queues help?

Multi-stage dream image generation fails due to inconsistent outputs and timing issues across stages. Dead-letter queues capture these failed attempts for review, preventing data loss while coordinating retries across the pipeline.