Doubao Seedream Image Generation
Paste the following prompt into your AI chat to install this skill:
Please install @user_8342f237/doubao-image-v2 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem to solve
When image generation is added to an agent workflow, the friction is often not the model call itself but the surrounding plumbing: Ark API authentication, model version selection, parameter constraints, and saving the result to disk. Doubao Seedream also has a minimum pixel requirement, and using 2k, 4k, or WIDTHxHEIGHT is more predictable than writing ratios like 9:16. Doubao Seedream Image Generation keeps this flow in one script: the user provides a prompt, the skill applies sensible defaults, calls the API, downloads the image, and returns a local path.
How it works
- Parameter extraction: reads
prompt,size,n,optimize,watermark,seed,output_path, andimage; missing values fall back to defaults. - Generation: runs
scripts/generate_image.pywithdoubao-seedream-4-5-251128by default, supporting text-to-image, image-to-image, and multiple outputs. - Delivery: the script prints the saved path, which the agent can deliver to the user or surface through a preview surface.
- Prompt shaping: organizes descriptions as subject + action/state + environment/background + style/aesthetic, with
standardprompt optimization available.
For sizing, the default 2k is about 2048x2048; use 2k for avatars, icons, and product shots, 4k for high-resolution assets, 1440x2560 for vertical posters, and 2560x1440 for banners or covers.
Boundaries and notes
The skill requires ARK_API_KEY and depends on volcengine-python-sdk[ark]. Seedream requires at least about 3.686 million pixels, so 1k and 1024x1792 do not qualify. Supported size formats include WIDTHxHEIGHT, 2k, and 4k; ratio notation such as 1:1 and 9:16 is not supported. Prompts should stay under 300 Chinese characters or 600 English words.
Use Cases
- In an agent request, generate an unwatermarked product cover at 2560x1440 from a provided poster brief and return the local file path.
- During prompt debugging, rerun text-to-image with standard optimization and a fixed seed to compare consistent results.
- Create a vertical phone wallpaper at 1440x2560, avoiding under-sized options such as 1024x1792 that miss Seedream's pixel requirement.
- Pass a reference image URL into the image-to-image flow, ask for same-style variations, and save outputs to the current directory.
Best For
- E-commerce visual ops owners who turn product descriptions into 2k avatars, product shots, and cover images.
- Agent workflow engineers who want Ark image generation handled through one script path and result delivery.
- Design collaborators making posters or wallpapers who need 1440x2560 or 2560x1440 vertical and horizontal outputs.
- Prompt engineers evaluating model behavior who rerun generations with fixed seeds and standard optimization for comparison.
Related Skills
Call Mew image and design APIs in two stages to create an emotional background and compose a share-ready quote check-in poster.
Generate felt-craft pendant designs, part breakdowns, and structured analysis from a product image or Base64 input.
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.
A design-system guidance skill for Impeccable that produces token-based rules, component states, accessibility criteria, and QA checklists.