Dali by Lulu

v0.6.1
io.github.Lulu-The-Narwhal/dali Checked 3 days ago Published 4 months ago

The prediction MCP — score your prompt before you generate, so you never waste a credit.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

analyze_intent Analyze Intent

Parse a creative prompt into structured intent dimensions. Returns: detected camera language, motion, lighting, style, mood signals, identified gaps, and which models suit the current signals best.

ParameterTypeDescription
prompt *stringRaw creative text (rough idea or full prompt — both work)
mediumstring"image", "video", or "auto" (default, auto-detected)

score_prompt Score Prompt

Score a prompt for a specific generation model (0–100). Returns a ScoreCard: overall score, letter grade (A–F), per-dimension breakdown, what's missing, detected anti-patterns, and a one-line verdict on whether it's safe to generate. Supported models: veo3, seedance, kling, runway, wan, minimax, higgsfield, sora, flux, midjourney, ideogram, firefly, imagen Aliases: "veo" → veo3, "mj" → midjourney, "sd" → flux, "gen4" → runway, "hailuo" → minimax

ParameterTypeDescription
model *stringTarget generation model
prompt *stringThe prompt to score

enhance_prompt Enhance Prompt

Rewrite a prompt using AI to score higher on the target model. Returns a rewrite brief — YOU (the LLM) write the enhanced prompt from it. Dali provides creative intelligence: what's missing, the model's native language rules, structure template, priority fixes, and length target. You provide creative execution: actually writing the better prompt.

ParameterTypeDescription
model *stringTarget generation model (veo3, seedance, kling, runway, wan, minimax, higgsfield, sora, flux, midjourney, ideogram, firefly, imagen)
prompt *stringThe prompt to enhance

creative_patterns Creative Patterns

Community graph intelligence: which patterns consistently produce high-grade prompts for this model? Powered by the Dali V3 graph brain — every prompt scored by every Dali user contributes to this. The more community usage, the richer the signal. Also returns: enhancement unlocks (which patterns added during enhance_prompt have produced the highest score gains for this model).

ParameterTypeDescription
model *stringTarget generation model (veo3, seedance, kling, runway, wan, minimax, higgsfield, flux, midjourney, ideogram, firefly)
gradestringMinimum grade filter — "A" (only A-grade), "B" (A+B), "C" (A+B+C)

community_benchmark Community Benchmark

Compare your prompt against community top scorers for this model. Scores your prompt, then queries the Dali graph to find: - Which A-grade community patterns are absent from your prompt - Which enhancement patterns would give you the biggest score gain - Where you sit vs the community average for this model

ParameterTypeDescription
model *stringTarget generation model
prompt *stringYour prompt to benchmark

my_story My Story

Your Dali creative intelligence report. Shows your prompt scoring history across all models: - Total prompts scored + this month's count - Average score and model breakdown - Grade distribution (how many A, B, C, D, F scores) - Your creative DNA: patterns that define your highest-scoring work (V3 graph) - A personal insight on where you'd improve fastest Requires login at dali.getlulu.dev. History is tied to your GitHub account.

list_models List Models

List all supported generation models with medium, creator, and core strength.

score_and_enhance Score And Enhance

Score a prompt AND get an AI-enhanced version in one call. Combines score_prompt + enhance_prompt into a single round-trip. Returns: original score, enhanced prompt, and new score — so you can see the exact improvement before deciding which version to use.

ParameterTypeDescription
generator *stringTarget generation model (veo3, seedance, higgsfield, flux, midjourney, etc.)
prompt *stringThe prompt to score and enhance

track_enhancement Track Enhancement

Record a before/after enhancement pair in the Dali graph. Call this after you've written an enhanced prompt using the rewrite brief from enhance_prompt. This trains the community graph with real A/B data — contributing to creative_patterns and community_benchmark for all users.

ParameterTypeDescription
enhanced_prompt *stringThe version you actually improved
generator *stringTarget generation model
original_prompt *stringThe un-enhanced prompt

suggest_generator Suggest Generator

Pick the best generation model for a creative concept + budget. Analyzes the concept (motion, style, realism requirements) and returns a ranked list of generators with rationale and estimated cost per generation.

ParameterTypeDescription
concept *stringWhat you want to create (plain language or a prompt)
budget_usd_maxnumberMax spend per generation in USD (default $1.00)

score_variations Score Variations

Score multiple prompt variations for the same generator in one call. Returns a ranked list — highest to lowest score — so you can immediately see which variation to send to generation. Best used after writing 2–5 candidate prompts and wanting to pick the winner objectively.

ParameterTypeDescription
generator *stringTarget generation model
prompts *arrayList of prompt strings to compare (2–10 recommended)

dali_version Dali Version

Return the current Dali server version and changelog. Useful for checking if your MCP is connected to the latest server, or for debugging version mismatches between the pip package and hosted API.