Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/skills.volces.com/image-generate
IG

image-generate

skills.volces.com
722 installs
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://skills.volces.com --skill image-generate

Summary

Generate images using Seedream models. Invoke when user wants to create images from text prompts or reference images.

SKILL.md

Image Generate Skill

This skill generates images using Doubao Seedream 4.0/4.5/5.0 models.

Trigger Conditions

  1. User wants to generate images from text descriptions
  2. User wants to create images based on reference images
  3. User asks for image generation capabilities

Usage

Environment Variables

Before using this skill, ensure the following environment variables are set:

  • ARK_API_KEY or MODEL_IMAGE_API_KEY or MODEL_AGENT_API_KEY: API key for the image generation service
  • MODEL_IMAGE_API_BASE: API base URL (optional, has default)
  • MODEL_IMAGE_NAME: Model name (optional, has default)

Function Signature

async def image_generate(
    tasks: list[dict],
    timeout: int = 600,
    model_name: str = None,
) -> Dict:

Parameters

tasks (list[dict])

A list of image-generation tasks. Each task is a dict with the following fields:

Required:

  • prompt (str): Text description of the desired image(s). Chinese or English both work.

To specify the number of images, add "生成N张图片" in the prompt.

Optional:

  • size (str): Image size. Two formats:
  • Resolution level: "1K", "2K", "4K"
  • Exact dimensions: "<width>x<height>", e.g., "2048x2048", "2384x1728"
  • Default: "2048x2048"
  • response_format (str): Return format. "url" (default, URL expires in 24h) or "b64_json"
  • watermark (bool): Add watermark. Default: true
  • image (str | list[str]): Reference image(s) as URL or Base64
  • For single image tasks: pass a string (exactly 1 image)
  • For group image tasks: pass an array (2-10 images)
  • sequential_image_generation (str): Control group image generation. Default: "disabled"
  • Set to "auto" to generate multiple images
  • max_images (int): Maximum number of images for group generation. Range [1, 15]
  • tools (list[dict]): Tool configuration, e.g., [{"type": "web_search"}]
  • output_format (str): Output format. "png" or "jpeg". Default: "jpeg"

Task Types

The model infers the task type from parameters:

  1. Text to Single Image: No image, sequential_image_generation not set or "disabled"
  2. Text to Group Images: No image, sequential_image_generation="auto"
  3. Single Image to Single Image: image=string, sequential_image_generation not set or "disabled"
  4. Single Image to Group Images: image=string, sequential_image_generation="auto"
  5. Multi Image to Single Image: image=array (2-10), sequential_image_generation not set or "disabled"
  6. Multi Image to Group Images: image=array (2-10), sequential_image_generation="auto"

Return Value

Script Return Info

The image_generate.py script will return these info:

{
    "status": "success" | "error",
    "success_list": [{"name": "image_name", "url": "image_url", "local_path": "local_path"}],
    "error_list": ["image_name"],
    "error_detail_list": [{"task_idx": 0, "error": {...}}]
}

Based on the script return info, the final response returned to the user consists of a description of the image generation task and the image URL(s) and local path(s). You may download the image from the URL, but the image URL should still be provided to the user for viewing and downloading.

Note: the URL is the 'url' in the success_list of script return info.

Final Return Info

You should return three types of information:

  1. File format, return the image file (if you have some other methods to send the image file) and the local path of the image, for example:

local_path: /root/.openclaw/workspace/skills/image-generate/xxx.png

  1. After generation, show list of images with Markdown format, for example:
      ![generated-image-1](https://example.com/image1.png)
      ![generated-image-2](https://example.com/image2.png)

Code Implementation

See scripts/image_generate.py for the full implementation.

Example Usage

# Text to single image
python scripts/image_generate.py -p "A beautiful sunset over the ocean" -s 2048x2048

# Text to group images (generate 3 images)
python scripts/image_generate.py -p "生成3张可爱的小猫图片" -s 2K -g --max-images 3

# Image to image
python scripts/image_generate.py -p "Convert this image to anime style" -i "https://example.com/image.jpg"

# Multi-image to group images
python scripts/image_generate.py -p "Combine these images into a collage" --images "https://example.com/img1.jpg" "https://example.com/img2.jpg" -g --max-images 5

# Use specific model
python scripts/image_generate.py -p "A futuristic city" -m doubao-seedream-5-0-260128

# No watermark
python scripts/image_generate.py -p "A beautiful landscape" --no-watermark

# Output as PNG
python scripts/image_generate.py -p "A portrait photo" --output-format png

Command Line Options

OptionShortDescription
--prompt-pText description of the desired image(s) (required)
--size-sImage size (default: 2048x2048)
--model-mModel name (default: doubao-seedream-4-0-250828)
--image-iSingle reference image URL
--imagesMultiple reference image URLs (space-separated)
--group-gEnable group image generation
--max-imagesMax images for group generation (default: 15)
--output-formatOutput format: png or jpeg (default: jpeg)
--timeout-tTimeout in seconds (default: 600)
--no-watermarkDisable watermark

Model Fallback

If you encounter a model-related error (like ModelNotOpen), you can downgrade to these models:

  • doubao-seedream-5-0-260128
  • doubao-seedream-4-5-251128
  • doubao-seedream-4-0-250828

Error Handling

  • IF the script raises the error "PermissionError: ARK_API_KEY or MODEL_IMAGE_API_KEY or MODEL_AGENT_API_KEY not found in environment variables", inform the user that they need to provide the ARK_API_KEY or MODEL_IMAGE_API_KEY or MODEL_AGENT_API_KEY environment variable. Write it to the environment variable file in the workspace. If the file already exists, append it to the end. Ensure the environment variable format is correct, make the environment variable effective, and retry the image generation task that just failed.

Notes

  • Group image tasks require sequential_image_generation="auto"
  • To specify the number of group images, add the count in the prompt (e.g., "生成3张图片")
  • Recommended sizes: 2048x2048 or standard aspect ratios for best quality
  • URL responses expire in 24 hours

Score

0–100
54/ 100

Grade

D

Popularity15/30

722 installs — growing adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust6/25

Limited provenance information — review the source before installing.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Image Generate FAQ

How do I install the Image Generate skill?

Run “npx skills add https://skills.volces.com --skill image-generate” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Image Generate skill do?

Generate images using Seedream models. Invoke when user wants to create images from text prompts or reference images. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Image Generate skill free?

Yes. Image Generate is a free, open-source skill published from skills.volces.com. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Image Generate work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Image Generate works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
image-to-video logo

image-to-video

prime-skills/runcomfy-agent-skills

399K installsInstall
image-edit logo

image-edit

prime-skills/runcomfy-agent-skills

399K installsInstall
gpt-image-edit logo

gpt-image-edit

prime-skills/runcomfy-agent-skills

398K installsInstall
ai-image-generation logo

ai-image-generation

prime-skills/runcomfy-agent-skills

344K installsInstall
image-inpainting logo

image-inpainting

prime-skills/runcomfy-agent-skills

339K installsInstall
image-outpainting logo

image-outpainting

prime-skills/runcomfy-agent-skills

338K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideHow To Build Your First Openclaw SkillGuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before Installing

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed