图像ByteDance

Seedream v4.0 Edit

经济实惠的AI图像编辑

model: "seedream-v4-edit"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成图像prompt
请求示例
{
  "model": "seedream-v4-edit",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030

输入

必需

e.g., 'Remove the person in the background'

必需

The image to edit. A public https URL, or an upload URL from POST /v1/uploads.

可选

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

高级选项 (2)

主要控件之外的提供商设置。保持为空可使用模型的默认值。

可选

How the prompt is enhanced.

可选

Random seed. The same seed and input reproduce the same result.

结果

Seedream v4.0 Edit示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "seedream-v4-edit",
  "input": {
    "prompt": "Convert the image to a detailed scientific watercolor illustration in the style of a Victorian botanical plate, with fine ink outlines, hand-painted color washes, and cream paper texture visible in the background."
  }
}'
Seedream v4.0 Edit 1Seedream v4.0 Edit 2Seedream v4.0 Edit 3Seedream v4.0 Edit 4Seedream v4.0 Edit 5Seedream v4.0 Edit 6