界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

bytedance-seedream-v4-5-edit

bytedance-seedream-v4-5-edit

【效率与协作】Bytedance | Seedream | v4.5 | Edit. Edit images using text prompts with Bytedance Seedream. Triggers: image editing, seedream, bytedance, inpainting, photo edit

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: bytedance-seedream-v4-5-edit description: "Bytedance | Seedream | v4.5 | Edit. Edit images using text prompts with Bytedance Seedream. Triggers: image editing, seedream, bytedance, inpainting, photo edit" allowed-tools: Bash(curl *), WebFetch

Bytedance | Seedream | v4.5 | Edit

Edit existing images using text prompts with Bytedance's Seedream v4.5 model. Supports up to 10 input images and multi-image generation with configurable resolution.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "bytedance-seedream-v4-5-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "change the background to a tropical beach at sunset",
      "image_urls": ["https://example.com/photo.jpg"],
      "image_size": "square_hd"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_safety_checkerbooleantrueEnable safety checker on generated outputs.
image_sizestringsquare_hdOutput image size. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9, auto_2K, auto_4K
image_urlsarrayList of URLs of input images for editing. Up to 10 images supported.
max_imagesinteger1If set to a number greater than one, enables multi-image generation.
num_imagesinteger1Number of separate model generations to be run with the prompt.
promptstringThe text prompt used to edit the image.
seedintegerRandom seed to control the stochasticity of image generation.

Examples

Background replacement:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "bytedance-seedream-v4-5-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "replace background with a modern office interior",
      "image_urls": ["https://example.com/portrait.jpg"],
      "image_size": "portrait_4_3",
      "num_images": 2
    }
  }'

Style transformation on multiple images:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "bytedance-seedream-v4-5-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "convert to watercolor painting style with soft edges",
      "image_urls": ["https://example.com/image1.jpg", "https://example.com/image2.jpg"],
      "image_size": "auto_2K",
      "seed": 42
    }
  }'

Related Models

Documentation

我的收藏