logo
RunComfy
  • ComfyUI
  • 训练器新
  • 模型
  • API
  • 定价
discord logo
模型
探索
所有模型
资源库
生成记录
模型 API
API 文档
API 密钥
账户
使用情况

Seedream 4.0 Edit sequential 图像到图像:AI视觉生成器

bytedance/seedream-4-0/edit-sequential

Table of contents

1. Get started2. Authentication3. API referenceSubmit a requestMonitor request statusRetrieve request resultsCancel a request4. File inputsHosted file (URL)5. SchemaInput schemaOutput schema

1. Get started

Use RunComfy's API to run bytedance/seedream-4-0/edit-sequential. For accepted inputs and outputs, see the model's schema.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/bytedance/seedream-4-0/edit-sequential \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "images": [],
    "text": "Generate 3 images of a beautiful sunset over a calm ocean."
  }'

2. Authentication

Set the YOUR_API_TOKEN environment variable with your API key (manage keys in your Profile) and include it on every request as a Bearer token via the Authorization header: Authorization: Bearer $YOUR_API_TOKEN.

3. API reference

Submit a request

Submit an asynchronous generation job and immediately receive a request_id plus URLs to check status, fetch results, and cancel.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/bytedance/seedream-4-0/edit-sequential \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "images": [],
    "text": "Generate 3 images of a beautiful sunset over a calm ocean."
  }'

Monitor request status

Fetch the current state for a request_id ("in_queue", "in_progress", "completed", or "cancelled").

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
  --header "Authorization: Bearer <token>"

Retrieve request results

Retrieve the final outputs and metadata for the given request_id; if the job is not complete, the response returns the current state so you can continue polling.

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
  --header "Authorization: Bearer <token>"

Cancel a request

Cancel a queued job by request_id, in-progress jobs cannot be cancelled.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
  --header "Authorization: Bearer <token>"

4. File inputs

Hosted file (URL)

Provide a publicly reachable HTTPS URL. Ensure the host allows server‑side fetches (no login/cookies required) and isn't rate‑limited or blocking bots. Recommended limits: images ≤ 50 MB (~4K), videos ≤ 100 MB (~2–5 min @ 720p). Prefer stable or pre‑signed URLs for private assets.

5. Schema

Input schema

{
  "type": "object",
  "title": "Input",
  "required": [
    "images",
    "text"
  ],
  "properties": {
    "images": {
      "title": "Images",
      "description": "Upload 1~10 images, must be jpeg or png",
      "type": "array",
      "items": {
        "type": "string",
        "format": "image_uri"
      },
      "validations": [
        {
          "validation_rule": "file_size_mb<",
          "validation_value": 10,
          "validation_error": "File size must be less than 10 MB."
        },
        {
          "validation_rule": "width/height>",
          "validation_value": 0.33,
          "validation_error": "The aspect ratio range should be 1:3 to 3:1."
        },
        {
          "validation_rule": "width/height<",
          "validation_value": 3,
          "validation_error": "The aspect ratio range should be 1:3 to 3:1."
        },
        {
          "validation_rule": "width_pixels>",
          "validation_value": 14,
          "validation_error": "The uploaded image width and height must exceed 14 pixels."
        },
        {
          "validation_rule": "height_pixels>",
          "validation_value": 14,
          "validation_error": "The uploaded image width and height must exceed 14 pixels."
        },
        {
          "validation_rule": "width_pixels<",
          "validation_value": 6000,
          "validation_error": "The uploaded image width and height must not exceed 6000 pixels."
        },
        {
          "validation_rule": "height_pixels<",
          "validation_value": 6000,
          "validation_error": "The uploaded image width and height must not exceed 6000 pixels."
        }
      ],
      "maxItems": 10,
      "minItems": 1
    },
    "text": {
      "title": "Prompt",
      "description": "Your prompt needs to contain the number of images you want to generate. Example: 'Generate 3 images of a beautiful sunset over a calm ocean.'",
      "type": "string",
      "default": "Generate 3 images of a beautiful sunset over a calm ocean.",
      "maxLength": 600
    },
    "image_size": {
      "title": "Aspect Ratio (W:H)",
      "description": "The aspect ratio of the image to generate.",
      "type": "string",
      "enum": [
        "2048:2048 (1:1)",
        "2304:1728 (4:3)",
        "1728:2304 (3:4)",
        "2560:1440 (16:9)",
        "1440:2560 (9:16)",
        "2496:1664 (3:2)",
        "1664:2496 (2:3)",
        "3024:1296 (21:9)"
      ],
      "default": "2560:1440 (16:9)"
    },
    "seed": {
      "title": "Seed",
      "description": "",
      "type": "integer"
    },
    "sequential_image_generation_options": {
      "title": "Maximum Number of Generated Images",
      "description": "Sets the maximum number of images to generate. The actual number of images that can be generated also depends on the number of reference images provided. The final price will be calculated based on this value.",
      "type": "integer",
      "enum": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15
      ],
      "default": 3
    },
    "optimize_prompt_options": {
      "title": "Optimize Prompt",
      "description": "Standard mode produces higher-quality content but takes longer to generate. Fast mode generates content more quickly, with lower quality.",
      "type": "string",
      "enum": [
        "fast",
        "standard"
      ],
      "default": "fast"
    }
  }
}

Output schema

{
  "output": {
    "type": "object",
    "properties": {
      "image": {
        "type": "string",
        "format": "uri",
        "description": "single image URL"
      },
      "video": {
        "type": "string",
        "format": "uri",
        "description": "single video URL"
      },
      "images": {
        "type": "array",
        "description": "multiple image URLs",
        "items": { "type": "string", "format": "uri" }
      },
      "videos": {
        "type": "array",
        "description": "multiple video URLs",
        "items": { "type": "string", "format": "uri" }
      }
    }
  }
}
关注我们
  • 领英
  • Facebook
  • Instagram
  • Twitter
支持
  • Discord
  • 电子邮件
  • 系统状态
  • 附属
视频模型
  • Wan 2.6
  • Wan 2.6 Flash
  • Seedance 1.5 Pro
  • Seedance 1.0
  • Kling 2.6 Pro Motion Control
  • WAN 2.2 LoRA
  • 查看所有模型 →
图像模型
  • Wan 2.6 Image to Image
  • Nano Banana Pro
  • Qwen Image Edit 2511 LoRA
  • seedream 4.0
  • Seedream 4.5 text to image
  • Flux 2 Dev
  • 查看所有模型 →
法律
  • 服务条款
  • 隐私政策
  • Cookie 政策
RunComfy
版权 2026 RunComfy. 保留所有权利。

RunComfy 是首选的 ComfyUI 平台,提供 ComfyUI 在线 环境和服务,以及 ComfyUI 工作流 具有惊艳的视觉效果。 RunComfy还提供 AI Models, 帮助艺术家利用最新的AI工具创作出令人惊叹的艺术作品。