Skip to content
Agentmart
Submit a tool

image-generate

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

Skill by bytedanceOfficial

IndexedApache-2.0★ 473
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bytedance-image-generate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/image-generate

What's inside

Skill name
image-generate
Description
使用内置 image_generate.py 脚本生成图片, 准备清晰具体的 `prompt`。
License
Apache-2.0
Instructions
29 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • LICENSE.txt
  • SKILL.md
  • image_generate.py · scripts/

SKILL.md (first lines)

# 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。
- 若调用失败,将打印错误信息。

## 示例

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

From bytedance/agentkit-samples, Apache-2.0.

More from bytedance/agentkit-samples

Signals

Stars
473
Forks
101
Open issues
14
Last commit (this folder)
Feb 23, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from bytedance

Cite this page

image-generate skill. Agent Mart. https://agentmart.dev/skills/bytedance-image-generate (last updated 2026-10-24)