Communitygithub.com

Seedream Image Assistant

An AI agent skill for generating and editing images using Seedream 5.0 (ByteDance's AI model) on Jimeng AI, Jianying, CapCut, and Volcengine Ark, with prompt templates, style guides, and a script for batch generation.

What is Seedream Image Assistant?

This skill enables AI agents to generate, edit, and refine images using ByteDance's Seedream 5.0 AI image model, available on platforms like Jimeng AI, Jianying, CapCut, and Volcengine Ark. It provides a comprehensive prompt engineering framework, including base structures, multi-style vocabulary (photorealism, anime, illustration, commercial design), and negative prompts, allowing agents to produce high-quality images with precise control over composition, lighting, and style. The skill supports advanced features like real-time web search for trending topics, multi-step reasoning for abstract concepts, multi-round editing (local edits, style transfer, element add/remove, text rendering with 99%+ accuracy), character consistency across images, and high resolution up to 4K. It includes ready-to-use prompt templates for common scenarios (portraits, landscapes, knowledge cards, product shots, storyboards, posters) and a Python script (generate.py) that interfaces with the Seedream API, enabling agents to generate images programmatically, handle multi-image inputs, and batch production. The skill also provides detailed guides for editing, text rendering, composition control, multi-image fusion, and negative prompts, making it a complete solution for integrating seed-to-image workflows into AI agent experiences.

Works with~Claude Code~Codex CLI~Cursor
npx skills add ppdbxdawj/ai-skills

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Seedream Image Assistant | Seedream Jimeng Image Assistant

Seedream 5.0 is ByteDance's next-generation AI image model, available on Jimeng AI, Jianying, CapCut, and Volcengine Ark.

Core Capabilities

CapabilityDescription
Real-time Web SearchAuto-fetches trending info when prompt contains timely keywords
Multi-step ReasoningInterprets abstract concepts (e.g. "serene tech feel" → desaturated + clean lines + cold light)
Multi-round EditingIterative refinement: local edits, style transfer, element add/remove, text rendering
High ResolutionNative 2K, AI-enhanced 4K, 2-5 second generation
Character ConsistencyMaintains face, clothing, pose across multiple images (storyboard-ready)
Text Rendering99%+ accuracy for Chinese/English text, use quotes for best results

Prompt Structure

Base Structure (Text-to-Image)

[Subject Description] + [Action/Behavior] + [Environment/Background] + [Material/Texture] + [Lighting Effect] + [Composition Requirements] + [Style Keywords]
  • Use natural language to describe subject, action, and environment.
  • Use short words for style, color, lighting, and composition.
  • Enclose text content in quotes, e.g., "Hello World".

Four-Part Structure (Advanced)

Subject → Environment → Material/Texture → Lighting

Edit Prompt Formula

Change Action + Change Object + Change Feature
Example: "Turn the knight's helmet into gold"

Style Vocabulary Library

Photorealism

  • Cinematic still Commercial photography Documentary photography Hyperrealistic RAW image quality
  • Lenses: 85mm prime 35mm wide-angle Telephoto compression Fisheye lens
  • Lighting: Rembrandt lighting Loop lighting Split lighting Golden hour warm light Blue hour cold light Neon light

Anime/Illustration

  • Japanese: Studio Ghibli style Makoto Shinkai style Japanese shojo manga Cel shading texture
  • Western: American comic style DC comic style Western realistic characters Pop Art
  • Chinese: Guochao illustration Ink wash painting style Chinese fine brushwork Cyberpunk Chinese style
  • Other: Pixel style Low poly Flat illustration Impasto oil painting Watercolor hand-drawn

Design/Commercial

  • Minimalism Bauhaus style Frosted glass texture High-quality metal Cyberpunk
  • Movie poster level Brand VI visual Infographic Knowledge card

Lighting Modifiers

  • Dramatic side light Soft diffused light High contrast Low saturation Morandi color palette
  • Cyber neon Warm orange tone Cool blue tone Film grain texture

Common Prompt Templates

Realistic Portrait

[Gender, age, appearance], [clothing description], [facial expression], [environment/background], 85mm prime lens, natural light, realistic cinematic still style, ultra-high definition, rich details

Landscape/Scene

[Scene description], [time/weather], [lighting description], [composition], [style keywords], cinematic composition, 8K ultra HD

Knowledge Card (Full Template)

Generate an image in [format/medium] style to explain/show "[core concept]" to [target audience].
The image should have [style feature A], [style feature B], and [layout requirement C], with an overall feel similar to [familiar reference].

Brand/Poster (White Space Template)

[Visual subject description], [material description], [lighting effect],
All visual subjects are concentrated on the [left/right] side of the frame, leaving a large clean background area on the [right/left] side for later layout and text addition.
Background: [background description]

Continuous Storyboard (Character Consistency)

Refer to the face and hairstyle from [Image 1], change it to [scene style] attire,
generate N continuous [scene description] storyboard images, [style], all within one scene, showing continuous action.

E-commerce Product

Create a [platform]-style display image for this [product], similar to [brand reference],
with a clean background, highlighting product quality, professional commercial photography.

Quick Reference by Scenario

ScenarioPrompt KeywordsNotes
AvatarAvatar icon Square composition Solid color backgroundSpecifying a style reference image works better
Knowledge CardInfographic Knowledge graph Clear layoutExplain the target audience and core concept
PPT BackgroundWhite space composition Left/right-leaning Matte backgroundEmphasize white space on one side for layout
Role CosplayKeep face unchanged Realistic textured costume Same poseUpload original image + target character image
Journal/DiaryHandwritten font Paper texture Collage style Beige base colorMention date and weather to add atmosphere
Glass IconFrosted glass texture Gradient color C4D Octane renderPure white background + simple composition
Poster DesignMovie poster level Dramatic light Large white spaceSpecify text content and position
Amulet/GuochaoClassic of Mountains and Seas Guochao ticket Ink wash Seal carvingCan add "wish" text to enhance emotion

Advanced Techniques

1. Web Trigger

Prompts containing time-sensitive keywords will automatically trigger web search: 2026 trending colors latest model XX this year's XX trends Milan Winter Olympics

2. Image Editing

  • Specify area: "Replace [area] in the image with..."
  • Style transfer: "Keep content unchanged, change to [style]"
  • Element control: "Add/remove [element] from the image"
  • Lighting adjustment: "Change the lighting in the image to [lighting name]"
  • Filter addition: "Add a [filter name] filter to the image"
  • Makeup modification: "Add [makeup description] to the character"

3. Text Rendering

Place the text to be generated in quotes: In the center of the image, it says "Boundless Creativity"

4. Composition Control

  • Golden ratio: Rule of thirds composition Golden spiral
  • Perspective: Bird's-eye view Low angle Frontal eye-level 45-degree angle
  • White space: Lots of white space Clean background Subject shifted to [direction]

5. Multi-Image Fusion

Supports up to 14 reference images. When fusing, specify which element to take from which image: Style from image 1, color tone from image 2, character pose from image 3

6. Batch Image Generation

Trigger words: a series set of images generate N continuous storyboard images

Negative Prompts

Clearly specify unwanted elements at the end of the prompt:

  • Clean background, no clutter
  • Keep the face, do not change facial features
  • No text watermarks
  • No overexposure

Platforms

PlatformURLDescription
Jimeng AIhttps://jimeng.jianying.com/Main site, approximately 20 free 2K generations per day
Volcengine Arkhttps://console.volcengine.com/arkEnterprise API, supports 4K
JianyingApp StoreAI Painting → Seedream 5.0
CapCut (International)App StoreAI Image

API Image Generation Script

generate.py calls the Jimeng 4.0 API and automatically downloads images to --output-dir (default output/).

Environment Setup

Create a .env file in the same directory as generate.py with VOLC_ACCESSKEY and VOLC_SECRETKEY, or export them in the terminal. The script automatically reads the .env file in the same directory. Run pip install -r requirements.txt.

Usage

# Text-to-image
python generate.py --prompt "A cat playing in the garden, watercolor style"

# Image editing (with input reference image)
python generate.py --prompt "Change the background to a beach" --image-urls "https://example.com/photo.jpg"

# Specify resolution + force single image
python generate.py --prompt "E-commerce main image, product close-up" --width 2560 --height 1440 --force-single

# Batch image generation
python generate.py --prompt "Generate 4 blind box images representing spring, summer, autumn, and winter"

Using in a Skill Workflow

  1. Generate a prompt according to this skill's rules; user confirms.
  2. Soft hint before execution: default is 1 image; for multiple (batch) images, add --no-force-single or keep words like "batch" or "series".
  3. Run python generate.py --prompt "<confirmed_prompt>" (add --no-force-single for batch).
  4. After the script finishes polling, images are in output/; display paths and URLs.

Parameters

ParameterDescription
--promptRequired, prompt text
--image-urlsInput reference image URLs (up to 10)
--width / --heightSpecify output dimensions (both required if used); if not provided, smart adaptation is used
--sizeOutput area (pixels), default 2K (2048×2048)
--scaleText influence 0~1 (default 0.5), higher value means stronger text adherence
--force-singleOutput only 1 image (default)
--no-force-singleAllow multiple images (batch), model decides the number based on the prompt
--watermarkAdd AI watermark
--output-dirOutput directory for generated images (default output/); both URLs and base64 are written here

References

Related Skills