name: seedream description: Seedream 圖片生成 - 火山引擎方舟大模型服務平臺圖片生成 API。支援文生圖、圖生圖、多圖融合、組圖生成等多種模式。 homepage: https://www.volcengine.com/docs/82379/1541523 metadata: { "openclaw": { "emoji": "🎨", "requires": { "bins": ["python3"], "env": ["ARK_API_KEY"] }, "primaryEnv": "ARK_API_KEY", "install": [ { "id": "python-brew", "kind": "brew", "formula": "python", "bins": ["python3"], "label": "Install Python (brew)", }, ], }, }
基於火山引擎方舟大模型服務平臺的 Seedream 圖片生成 API。
使用前需要設定環境變數 ARK_API_KEY:
export ARK_API_KEY="your-api-key-here"
或在命令中傳入:
python3 {baseDir}/scripts/seedream.py --api-key "your-api-key" ...
小蔥技能站7w4.net每天更新,海量AI技能等你發現。
python3 {baseDir}/scripts/seedream.py -p "一隻可愛的橘貓坐在窗臺上"
python3 {baseDir}/scripts/seedream.py -p "將圖片轉為水彩畫風格" -i "https://example.com/input.png"
python3 {baseDir}/scripts/seedream.py -p "將圖1的服裝換為圖2的服裝" -i "img1.png" -i "img2.png"
python3 {baseDir}/scripts/seedream.py -p "生成4張連貫插畫" --sequential --max-images 4
| 引數 | 簡寫 | 說明 | 預設值 |
|---|---|---|---|
| --api-key | -k | API Key | 環境變數 ARK_API_KEY |
| --prompt | -p | 提示詞 | (必填) |
| --model | -m | 模型 (5.0-lite/4.5/4.0) | 5.0-lite |
| --image | -i | 輸入圖片 URL (可多次使用) | - |
| --size | -s | 影像尺寸 | 2K |
| --output-format | -f | 輸出格式 (png/jpeg) | png |
| --watermark | -w | 新增水印 | False |
| --sequential | - | 啟用組圖模式 | False |
| --max-images | - | 最大圖片數 | 4 |
| --web-search | - | 啟用聯網搜尋 | False |
| --output | -o | 輸出目錄 | ~/Downloads |
| --proxy | -x | 代理地址 | - |
| 模型 | 別名 | 支援功能 |
|---|---|---|
| Seedream 5.0 lite | 5.0-lite | 文生圖、圖生圖、組圖、聯網搜尋、png輸出 |
| Seedream 4.5 | 4.5 | 文生圖、圖生圖、組圖、jpeg輸出 |
| Seedream 4.0 | 4.0 | 文生圖、圖生圖、組圖、jpeg輸出 |
2K, 3K, 4K (5.0-lite/4.5), 1K, 2K, 4K (4.0)2048x2048, 2848x1600# 文生圖 - 5.0 lite
python3 {baseDir}/scripts/seedream.py -p "科技感的城市夜景" -o ./images
# 圖生圖
python3 {baseDir}/scripts/seedream.py -p "轉為黑白風格" -i "input.png" -o ./images
# 使用 4.5 模型
python3 {baseDir}/scripts/seedream.py -p "可愛的柴犬" -m 4.5 -o ./images
# 文生組圖
python3 {baseDir}/scripts/seedream.py -p "生成4張連貫的四季風景" --sequential -o ./images
# 參考圖生組圖
python3 {baseDir}/scripts/seedream.py -p "參考logo生成品牌設計" -i "logo.png" --sequential --max-images 6 -o ./images
# 生成即時天氣圖
python3 {baseDir}/scripts/seedream.py -p "北京今日天氣預報,現代扁平化風格" --web-search -o ./images
seedream_{timestamp}_{index}.{ext}這個圖片生成工具的說明文件寫得很詳細,功能介紹清楚、示例豐富,但下載後發現根本無法使用——因為核心的Python程式檔案根本沒有提供,只有使用說明。質量只能說是一份"殘缺品",文件再好沒有程式碼也是空中樓閣。期望一個完整可用的工具的使用者會感到失望。