Dali by Lulu

io.github.Lulu-The-Narwhal由 GitHub 账号 Lulu-The-Narwhal 发布v0.6.1更新于 Oct 24, 2026

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

已验证Streamable HTTP可网页运行数据与分析媒体与设计

概览

AI 生成的概览

Dali 依据长期在投的优胜广告语料,为 AI 广告提示词和素材打分,让助手在付费生成前发现薄弱输入。

可以做什么
针对指定模型为生成提示词打分并给出改写建议,包含分项评分,也可对多组提示词排序或按预算与创意挑选生成器。按图片链接或对话中分享的图片为广告素材打分,与已验证的优胜素材比对并列出缺失的高提升要素。分析你导出的广告数据(素材链接加 CPA、CTR 或 ROAS),与自身优胜广告及行业中位数对比。查看社区模式、基准对比、相似提示词、意图拆解和个人打分历史。以 MCP 资源形式读取各模型的提示词指南。
适用场景
适合在制作 AI 视频或图片广告时,于消耗额度生成前做一次低成本检查;也适合需要基于市场上持续投放的广告而非通用提示词技巧来获得素材反馈的场景。
运行要求
可使用托管远程端点(streamable HTTP),或在本地以 Python 运行 PyPI 包 dali-mcp(stdio)。README 说明自托管包只提供提示词打分工具,素材打分与优胜广告语料需连接托管服务器。未声明认证方式或环境变量。
安装前请注意
托管服务器会接收你的提示词,素材打分时还会接收广告图片或图片链接,以及你粘贴的广告导出数据,其中可能含效果与花费信息。analyze_winning_formula 工具要求提供电子邮箱。track_enhancement 会把提示词前后对比写入共享图谱。README 说明优胜标签依据广告投放时长,而非实测转化率。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Dali by Lulu,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Lulu-The-Narwhal%2Fdali/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "dali-by-lulu": {
      "type": "http",
      "url": "https://dali.getlulu.dev/mcp"
    }
  }
}

README

Dali by Lulu

[Dali by Lulu — creative intelligence MCP]

dali.getlulu.dev  ·  Install  ·  Live stats  ·  Lulu

[Dali by Lulu — featured on Product Hunt]

[PyPI version] [PyPI downloads] [npm version] [npm downloads] [MIT License] [MCP Server] [Live]


Score your creative against what's actually winning in the ad market — before you spend the credit.

Most AI generation failures are predictable. A weak prompt, an off-formula creative — you can't tell until after you've burned the token. Dali scores it first, and it doesn't grade against opinions or generic "prompt tips." It grades against a real, living corpus of proven-winning ads — creatives still running in the market months after launch, scraped, embedded, and ranked. Two jobs:

  • score_prompt — judge the prompt before you generate (craft: camera, motion, lighting, model-native language).
  • score_creative — judge the actual image against proven winners (does it look like what converts, and what's missing).

Every wasted generation has a real cost — a Seedance retry is ~$6. The live dashboard tracks what the community has saved by catching bad creatives before they burned a credit.

You: "make a video ad for our glass serum bottle"
dali::score_prompt(prompt, "veo3")→ 8/100  Grade: F→ no camera move · no motion · no lighting · 8 words→ Verdict: Generic stock footage guaranteed. Enhance first.→ enhancement_brief included (score < 70):
  ① lead with camera — Veo 3's #1 lever: "Slow dolly", "Orbital push"  ② describe physics: "a drop falls", "liquid ripples", "glass refracts"  ③ lighting type + quality: "warm backlight", "rim-lit edges"  ↳ [Camera]. [Subject + motion]. [Lighting]. [Mood]. [No text.]
✦ YOUR LLM rewrites using the brief:
  "Slow orbital push around a glass serum bottle on white marble. A single   amber drop falls in extreme slow motion, catching warm backlight. Macro:   liquid gold ripples outward from impact. Rim-lit edges, soft studio   diffusion. Premium, clinical. No text."
dali::score_prompt(enhanced, "veo3")→ 91/100  Grade: A  ✓ Safe to generate.

The real winning data layer

This is what makes Dali more than a prompt linter. The scores are grounded in real ads that are actually winning, not hand-written rules.

How the corpus is built — longevity is the outcome signal. We scrape the public Meta Ad Library. An ad still running months after it launched is one the advertiser keeps paying for — a proven winner. That "still-running-after-N-days" longevity is a market-validated label you can't fake, and it's the spine of the whole dataset.

What's in it, today:

Ads ingested10,204 (14,100 raw archive)
Proven winners (long-running)3,808
Distinct advertisers4,121
Verticals8 — beauty, wellness, supplements, fitness, food, apparel, tech, pets
Winner creatives embedded800 (1408-dim, balanced ~100/vertical)
Longest-running winner seen2,431 days (6.6 years live)

The pipeline (offline → serving). The tools never scrape or embed on the fly — they read pre-built stores:

scrape Meta Ad Library         → proven winners (longevity label)      → Gemini vision           → creative attributes (lighting, format, before/after, offer…)      → prevalence SQL          → winning-pattern lift per vertical (winners vs baseline)      → Vertex embeddings       → BigQuery VECTOR_SEARCH (nearest proven winners, cosine)      → graph edges (Memgraph)  → (:Pattern)-[:WINS_IN {lift, n}]->(:Category)

So when score_creative runs, it embeds your image and finds the actual winning ads it most resembles by full visual signature — then tells you which winning attributes you're missing. When enhance_prompt runs with a category, the rewrite brief is backed by real market lift ("before/after shows up in 78% of winning wellness ads, 4× baseline"), not craft opinion.

Honest scope. The winner label is longevity (a strong market-validated proxy), not per-ad conversion rate — measured CVR validation is in progress. The corpus grows on a schedule, so coverage per vertical keeps deepening. What you get today: your creative scored against what's demonstrably surviving in the live market.

dali::score_creative(image_url, "beauty")→ score 62/100  — partial resemblance to proven winners→ looks_like:      Frøya Organics (ran 411d), tashportcosmetics (884d), Face Reality (346d)→ what_to_change:  winners use "before/after" 4× more · offer-visible 1.8× more→ defects:         none→ Verdict: Partial — strong resemblance, but add the high-lift attributes before spending.

Contents


Install

Hosted MCP — connect once, scores every prompt and creative:

bash
# Claude Codeclaude mcp add --transport http dali https://dali.getlulu.dev/mcp
json
// Cursor / Windsurf — .cursor/mcp.json or windsurf settings{  "mcpServers": {    "dali": { "url": "https://dali.getlulu.dev/mcp" }  }}
json
// stdio-only clients — npx wrapper around the hosted server, no Python needed{  "mcpServers": {    "dali": { "command": "npx", "args": ["-y", "dali-mcp"] }  }}

→ Full install guide with all clients

Self-hosted — local, no auth required:

bash
pip install dali-mcpclaude mcp add dali -- python -m dali.server

The self-hosted package exposes the prompt-scoring tools locally. The creative-scoring tools (score_creative, analyze_winning_formula) and the winning-ad corpus run on the hosted server — connect via the hosted MCP to use them.


Tools

Score the creative — against real winners

ToolWhat it does
score_creative(image_url, category)Score an actual ad image. Embedding similarity to proven winners is the headline score; also returns the winners it resembles, which winning attributes it's missing, and generation defects — in one call
score_creative_from_view(category, …)Score an image you're looking at (pasted/attached in the chat) — no URL. The model reads the creative's attributes and Dali scores them against the winning corpus (verdict + what to change). Use for images shared in-conversation; score_creative (URL) adds the embedding headline
analyze_winning_formula(csv, category, email)Paste your own ads export (creative URL + CPA/CTR/ROAS) → your winning formula vs your losers, plus how you compare to the industry median

Score the prompt — before you generate

ToolWhat it does
score_prompt(prompt, model, category?)Grade 0–100 with a per-dimension breakdown and verdict. When the score is weak, the rewrite brief is returned in the same call. Reads intent with the conversation LLM (understands negation, any language)
enhance_prompt(prompt, model, category?)Returns a structured rewrite brief — YOUR LLM writes the enhanced prompt. With a category, the brief is backed by real winning-ad lift
track_enhancement(original, enhanced, generator)Record a before/after pair in the graph brain — trains community patterns
score_variations(prompts, generator)Rank a list of prompt variants in one call — highest to lowest
suggest_generator(concept, budget_usd_max)Pick the best model for your concept + budget

The graph brain & meta

ToolWhat it does
creative_patterns(model)Community top patterns for this model from the graph
community_benchmark(prompt, model)Compare your prompt against community top scorers
prompt_neighbors(prompt, model)Find A/B-grade prompts that share your patterns (score the prompt first, so its patterns are in the graph)
analyze_intent(prompt)Parse dimensions: camera, motion, lighting, style, mood, gaps
my_story()Your scoring history, model stats, grade distribution
list_generators()All supported models with medium and core strength
dali_version()Server version + changelog

Supported models

Video

ModelPlatformsBest forPrompt style
veo3Higgsfield, Google AI Studio (veo-3.1-generate-preview), RunwayCinematic brand films, narrative ads, photorealistic motionCamera move → Subject → Action → Location → Lighting → Mood
seedanceHiggsfield, fal.ai (bytedance/seedance-2.0)UGC, social-native content, TikTok/Reels performance adsNatural language, motion-first, authentic feel
klingHiggsfield (kling3), Kling.ai (kling-v3-text-to-video)Character animation, product showcases, facial performanceScene → Characters → Action → Camera → Style; multi-shot labels
runwayRunway (gen4_turbo)VFX, character performance, cinematic motionMotion-first — describe what moves, not what exists
wanfal.ai (fal-ai/wan/v2.7/text-to-video)4K, 20-second clips, native audio, open-source workflowsScene → Motion → Sound → Duration → Mood
minimaxfal.ai (fal-ai/minimax/hailuo-02/pro/text-to-video)Cinematic storytelling, character animationNatural language + [camera movement] bracket syntax
higgsfieldHiggsfield (native model)Physics-driven motion — cloth, hair, fluid, particlesDescribe materials in motion, not motion abstractly

Sora 2 (OpenAI): API shutdown September 24, 2026. Do not build new dependencies on it — use Runway or Kling instead.

Image

ModelPlatformsBest forPrompt style
fluxBFL API (flux-pro-v1.1), fal.ai, ReplicatePhotorealism, technical photography, product shots30–80 words; camera body + lens specs; front-load subject
midjourneyMidjourney (v8.1)Artistic depth, editorial, stylized illustrationProse + params appended: --ar 16:9 --s 300 --v 8.1 --style raw
ideogramIdeogram API (V_4), fal.aiTypography, logos, text-in-image, graphic designDescribe text exactly in quotes inside the prompt
fireflyAdobe Firefly 5 (enterprise)IP-indemnified commercial assets, 4MP brand contentNatural language + contentClass and style.presets API params

Imagen 4 (Google): deprecated — use gemini-3.5-flash with image output. Dali still scores legacy Imagen prompts via the imagen model key but don't build new things on it.


Platform supersets

Higgsfield and Runway are aggregator platforms — they proxy multiple underlying models under one API. The model you pick matters more than the platform name:

PlatformModel selectorUnderlying model
Higgsfieldveo3Google Veo 3.1
HiggsfieldseedanceByteDance Seedance 2.0
Higgsfieldkling3Kling 3
Higgsfieldwan2-7Wan 2.7
Higgsfieldimage2videoHiggsfield native
Runwayveo3Google Veo 3.1
Runwaygen4_turboRunway Gen 4.5
RunwayseedanceByteDance Seedance 2.0

Dali scores for the underlying model's native prompt language, not the platform wrapper. Pass the model name (veo3, kling, seedance…), not the platform name.


Why model-specific?

Generic prompt optimizers don't know that:

  • Veo 3.1 needs camera movement specified above everything else
  • Kling 3 supports multi-shot scene labels natively in the prompt
  • Flux responds to camera body and lens names like a photographer ("Sony A7 IV, 85mm f/1.4")
  • Midjourney V8.1 reads prose + parameters, not keyword lists
  • Higgsfield simulates physics — you describe materials in motion, not motion abstractly
  • Minimax uses [Pan left] bracket syntax for camera moves — plain text camera commands are ignored
  • Ideogram V4 needs text quoted exactly in the prompt for typography accuracy
  • Wan 2.7 generates native audio — include sound descriptions alongside visuals

Dali has a separate scoring rubric and rewrite brief for each model. Your LLM does the creative rewriting — Dali provides the intelligence.


MCP resources

creative://guide/veo3       → Veo 3.1 camera language guidecreative://guide/seedance   → Seedance UGC motion guidecreative://guide/kling      → Kling multi-shot + expression guidecreative://guide/runway     → Runway motion-first guidecreative://guide/wan        → Wan 2.7 audio + motion guidecreative://guide/minimax    → Minimax bracket camera guidecreative://guide/higgsfield → Higgsfield physics-motion guidecreative://guide/sora       → Sora 2 guide (API shutdown Sep 24, 2026)creative://guide/flux       → Flux photography brief guidecreative://guide/midjourney → Midjourney V8.1 + parameters guidecreative://guide/ideogram   → Ideogram V4 typography guidecreative://guide/firefly    → Firefly 5 commercial content guidecreative://guide/imagen     → Imagen 4 guide (deprecated Aug 17, 2026)creative://models           → All models overview

Contributing

Model guides live in dali/data/guides/{model}.json on the hosted server. Found practitioner patterns that consistently produce high-grade results? Open an issue with the model, the pattern, and a sample prompt + result. The best contributions come from Reddit, Discord, and YouTube — real practitioners, not official docs.

→ Prompt best practices by model — cheat sheets, do/don't tables, top patterns per model → Dali creative flow skill — install this skill so your LLM follows the score → enhance → generate workflow automatically


MIT License · Built by Lulu · dali.getlulu.dev

来源:README.md,提交 bcefc78

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v0.6.1最新Sep 16, 2026

评分

已满足适用检查项的 60%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分