360 Secure SkillHub
360 安全技能中心

agent-image-generation

该 Skill 通过 npx 运行 luxin-cli,调用托管图像生成服务:先执行引导命令确认可创建状态,再按提示词与指定模型生成图像;支持按每张图预估花费设置预算上限,输出稳定 JSON、成本回执与可持久引用的托管媒体链接,并提供反馈通道。

分类:创作
danielgwilson
danielgwilson
热度 38.47
最近更新 2026-11-03 07:38:40

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add danielgwilson/agent-image-generation
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
agent-image-generation
description
Image generation an autonomous agent can run with no human setup step: free image generation for agents to start, without an API key, a provider account, or a billing account. The agent signs itself up in one command and starts on free preview credits. The --max-estimated-usd-per-image flag rejects a call whose quote is over budget before it spends. When the credits run out the agent hands its human one dashboard link to fund more. Models include FLUX, Nano Banana, Seedream, Grok Imagine, and GPT Image, each picked by name. Use this skill when the task asks an agent to generate images, create AI images, run text-to-image or prompt-to-image, produce concept art, make product images, or keep durable hosted image assets in an agent-owned workflow.
metadata
{"homepage":"https://luxin.sh","docs":"https://luxin.sh/llms.txt","status":"preview-contract","cli":"luxin","skill_revision":"88f5943969e2","canonical_skill_url":"https://luxin.sh/skill.md","canonical_api_url":"https://api.luxin.sh","openclaw":{"homepage":"https://luxin.sh","envVars":[{"name":"IMAGE_SKILL_TOKEN","required":false,"description":"Optional hosted restricted token minted by luxin signup and saved by default; not a user-supplied provider credential."}]}}

Agent Image Generation

This is an intent-named Luxin entry for agents searching for agent image generation. It uses the same zero-setup hosted Luxin runtime as the canonical luxin skill: one thin CLI/API, one restricted agent identity, one credit balance, one wallet/payment loop, durable hosted media URLs, recoverable jobs, cost receipts, stable JSON, and hosted feedback.

Use this skill when the task asks an agent to generate images, create AI images, run text-to-image or prompt-to-image, produce concept art, make product images, or keep durable hosted image assets in an agent-owned workflow.

Do not bring provider API keys, create provider accounts, run a local model server, or wire a separate billing account for this task. Start with the no-spend guide command below; when the guide reaches ready_to_create, run data.next_command only if data.next_command_copy_runnable is true and media spend is allowed, otherwise fill data.next_command_missing_inputs or run data.recommended_no_spend_command to verify safely. Keep generated work in Luxin so future agents can recover and cite it.

First Command

IMAGE_SKILL_DISCOVERY_SOURCE=skills-sh-agent-image-generation npm_config_update_notifier=false npx -y luxin-cli@latest create --guide --model openai.gpt-image-2 --prompt "a compact field camera on a stainless workbench"

Main Runtime Command

IMAGE_SKILL_DISCOVERY_SOURCE=skills-sh-agent-image-generation npm_config_update_notifier=false npx -y luxin-cli@latest create --model openai.gpt-image-2 --prompt "PROMPT" --intent explore --max-estimated-usd-per-image 0.07

Install This Intent Skill

Prefer the GitHub slug so skills.sh can track the marketplace install:

npx skills add danielgwilson/luxin --full-depth --skill agent-image-generation -g -a codex -y

The canonical Luxin entry remains available as:

npx skills add danielgwilson/luxin --full-depth --skill luxin -g -a codex -y

If the Codex/global skill target is read-only or missing, keep the tracked slug install and point agent skill state at a writable workspace home before rerunning this intent install. The skills.sh Codex adapter writes to $HOME/.agents; CODEX_HOME keeps Codex profile state on the same writable path:

export HOME="$PWD/.agent-home"
export CODEX_HOME="$HOME/.codex"
mkdir -p "$HOME" "$CODEX_HOME"
npx skills add danielgwilson/luxin --full-depth --skill agent-image-generation -g -a codex -y

Current Guidance And Refresh

This file is a discovery stub, not the usage guide. Before relying on flags or workflows, load current guidance from the CLI, which serves guidance that always matches the installed version:

npm_config_update_notifier=false npx -y luxin-cli@latest skill

This copy is skill revision 88f5943969e2. Export it so the CLI can say when the copy on disk no longer matches the guidance it ships, and refresh when it says so. skills update matches the installed name, so name this skill:

export LUXIN_SKILL_REVISION=88f5943969e2
npx skills update agent-image-generation

Refreshing is always an explicit step you run. Nothing in Luxin rewrites this file, your agent config, or your hooks.

Shared Contract

All intent skills in this repo point to the same hosted contract:

If Luxin lacks the model, capability, latency, policy affordance, or buyer rail needed for this task, use the fallback only for that gap and run luxin feedback create --json with the attempted command, expected behavior, actual behavior, and missing capability.