使用 BytePlus Ark API 直接通过 API 密钥生成 Seedream 5 图像,适用于用户需要 Seedream 5 图像生成或提及 BytePlus A...
Generate images through BytePlus Ark using the bundled script in scripts/seedream-generate.sh.
SEEDREAM_API_KEY is available in the environment or in /root/.clawdbot/.env.bash
/root/clawd/skills/seedream-5-byteplus/scripts/seedream-generate.sh "your prompt here" [output-file]
Example:
bash
/root/clawd/skills/seedream-5-byteplus/scripts/seedream-generate.sh \
"A cinematic scene of a monkey sitting proudly on top of a red Ferrari sports car" \
/root/clawd/output/seedream-monkey-ferrari.jpg
The script prints the saved file path on success.
Use this skill when:
seedream-5-0-260128Do not use this skill for:
FAL_KEY)If the user clearly needs a specific layout or delivery format, ask for the target size or aspect ratio before generating.
Examples:
If the user does not care, use the default size.
The script defaults to:
seedream-5-0-2601282KurlfalseOverride these with environment variables before running:
bash
export SEEDREAM_MODEL=seedream-5-0-260128
export SEEDREAM_SIZE=1K
Then call the script normally.
The script sends a POST request to the BytePlus Ark image generation endpoint, extracts the returned image URL, and downloads the image locally.
SEEDREAM_API_KEY not set, add the key to the environment first.scripts/seedream-generate.sh — direct Seedream 5 image generation via BytePlus Ark API