Token导航 LogoToken导航TokenDH.com
图像处理敏感数据clawhub未标认证来源可访问clear审计提醒

memorable-image-gen令人难忘的图像生成

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

2,423

周安装

103

GitHub Stars

公开资料未说明

下载量

849
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memorable-image-gen(令人难忘的图像生成)
来源仓库:https://github.com/kiwi-phantomworks/memorable-image-gen
安装命令:
openclaw skills install memorable-image-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install memorable-image-gen

简介

科学支持的图像生成代理,可在返回之前使用 ResMem(芝加哥大学脑桥实验室)对图像进行评分和优化以提高记忆性。

SKILL.md

name
Memorable Image Generator
description
Science-backed image generation agent that scores and optimizes images for memorability using ResMem (Brain Bridge Lab, University of Chicago) before returning results. Unlike generic image generators, this agent iterates until the image clears a memorability threshold — producing visuals that stick in viewers' minds. Use for blog hero images, marketing visuals, social media graphics, product thumbnails, or any context where image recall matters. Triggers on: generate a memorable image, create a blog hero image, make a marketing visual that sticks, image that people will remember, or any image generation request where memorability is a goal.
metadata
openclaw
homepage
https://github.com/PhantomWorksIO/clawhub-skills
emoji
🧠
category
media
requires
env
["GEMINI_API_KEY"]
python_packages
["resmem", "torch", "torchvision", "pillow", "requests"]

Memorable Image Generator

Science-backed image generation that optimizes for memorability — not just aesthetics.

Most image generators stop when the image looks good. This one keeps going until the image is *remembered*. Powered by Google Gemini for generation and ResMem (Brain Bridge Lab, University of Chicago) for memorability scoring, it iterates until your image clears a science-validated memorability threshold.


Prerequisites

API Key:

  • GEMINI_API_KEY environment variable, OR
  • --api-key CLI flag, OR
  • ~/.config/gemini/api_key file

Python 3.8+ with these packages:

pip install resmem torch torchvision pillow requests

Quick Start

python scripts/generate_memorable_image.py \
  --prompt "a lone astronaut standing on a red desert planet at dusk" \
  --output hero.png \
  --threshold 0.7 \
  --verbose

How It Works

  1. Generate — Calls the Gemini REST API (gemini-2.0-flash-exp) with your prompt
  2. Score — Runs the image through ResMem to get a memorability score (0–1)
  3. Threshold check — If score ≥ threshold (default: 0.7), saves and returns the image
  4. Regenerate — If below threshold and attempts remain, enhances the prompt with composition cues and tries again
  5. Max attempts — After 3 attempts (default), saves the best result regardless

Each failed attempt appends increasingly strong composition cues to the prompt:

  • Attempt 2: ", striking composition"
  • Attempt 3: ", vivid colors, memorable focal point"

Script Usage

# Basic usage
python scripts/generate_memorable_image.py --prompt "your image description"

# Full options
python scripts/generate_memorable_image.py \
  --prompt "your image description" \
  --output path/to/output.png \
  --threshold 0.75 \
  --max-attempts 3 \
  --api-key YOUR_KEY \
  --verbose

# With verbose scoring output
python scripts/generate_memorable_image.py \
  --prompt "a surreal clock melting over a desert canyon" \
  --verbose

CLI Arguments:

ArgumentDefaultDescription
--prompt(required)Image description
--outputmemorable-image.pngOutput file path
--threshold0.7Memorability threshold (0–1)
--max-attempts3Max regeneration attempts
--api-key(env/file)Gemini API key
--verbose(flag)Show memorability scores per attempt

Prompt Tips for High-Memorability Images

Research shows these compositional elements consistently score higher with ResMem:

  • Faces and eyes — Human faces, especially with direct gaze, are inherently memorable
  • Unusual juxtapositions — Unexpected scale, context, or combination of objects ("a whale floating through a city skyline")
  • Strong focal point — One clear subject against a contrasting background
  • High contrast — Bold color separations between subject and background
  • Emotional resonance — Images that imply narrative or emotion
  • Unusual lighting — Dramatic shadows, golden hour, bioluminescence, neon
  • Unexpected scale — Macro details of normally-seen-large things, or vice versa

Prompts that tend to score low: generic landscapes, symmetrical compositions, neutral palettes, cluttered scenes with no clear focal point.


Memorability Science

ResMem — Brain Bridge Lab, University of Chicago © 2021 The University of Chicago. Non-commercial use license. https://github.com/Brain-Bridge-Lab/resmem ResMem is a deep learning model trained to predict image memorability scores — how likely a person is to remember having seen an image after a brief exposure. Scores range from 0 (instantly forgotten) to 1 (highly memorable). License: ResMem Non-commercial License — redistribution permitted for non-commercial purposes with attribution. For commercial licensing: wilma@uchicago.edu

Built for Claude Code. Requires a Gemini API key and a local Python environment with resmem installed.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.38%
按下载量换算631

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills