Skip to content
cccskills
FreePublished on GitHub

image-generate

使用内置 image_generate.py 脚本生成图片, 准备清晰具体的 `prompt`。

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md830 B
  • scripts/image_generate.py2.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Image Generate

适用场景

当需要根据文本描述生成图片时,使用该技能调用 image_generate 函数。

使用步骤

  1. 准备清晰具体的 prompt。
  2. 运行脚本 python scripts/image_generate.py "<prompt>"。运行之前cd到对应的目录。
  3. 脚本将返回生成图片的 URL。

认证与凭据来源

  • 优先读取 MODEL_IMAGE_API_KEY 或 ARK_API_KEY 环境变量。
  • 若未配置,将尝试使用 VOLCENGINE_ACCESS_KEY 与 VOLCENGINE_SECRET_KEY 获取 Ark API Key。

输出格式

  • 输出生成的图片 URL。
  • 若调用失败,将打印错误信息。

示例

python scripts/image_generate.py "一只可爱的猫"

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Track and synthesize current AI hotspots into a bilingual HTML daily report. Use when the user says "AI热点", asks for AI日报/AI日报 HTML/AI hot topics, or wants the best recent AI products, papers, viewpoints, and cognition-shifting items from AI/news aggregators.

The English summary is being prepared. Showing the original description.

huangruiteng/CS-Notes4KUpdated Oct 19, 2026

Fetch and extract full text from arxiv paper HTML pages. Invoke when user asks to read an arxiv paper, analyze a paper's content, or when given an arxiv ID/URL.

The English summary is being prepared. Showing the original description.

huangruiteng/CS-Notes4KUpdated Oct 19, 2026

使用火山引擎 Ask-Echo 融合信息搜索 API 进行 web 搜索、web 搜索总结版和图片搜索。

The English summary is being prepared. Showing the original description.

huangruiteng/CS-Notes4KUpdated Oct 19, 2026

Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).

The English summary is being prepared. Showing the original description.

huangruiteng/CS-Notes4KUpdated Oct 19, 2026

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

The English summary is being prepared. Showing the original description.

huangruiteng/CS-Notes4KUpdated Oct 19, 2026

Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution time and memory usage, compare against baseline implementations, and generate detailed optimization reports. Supports C++, Python, Java, Rust, and other languages.

The English summary is being prepared. Showing the original description.

huangruiteng/CS-Notes4KUpdated Oct 19, 2026

See all skills by huangruiteng

Report a problem with this skill