Doubao Seedream 4.0 250828 Text to Image

给定提示 and / or 输入图像, models将生成新图像. 相关指南: [图像生成](https://www.volcengine.com/docs/82379/1666946) according to提示创建图像.

Endpoint

POST http://v98store.com/v1/images/generations

cURL Command

curl -X POST 'http://v98store.com/v1/images/generations' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "model": "doubao-seedream-4-0-250828", "prompt": "星际穿越, 黑洞, 黑洞里冲出一辆快支离破碎 复古列车, 抢视觉冲击力, 电影大片, 末日既视感, 动感, 对比色, oc渲染, 光线追踪, 动态模糊, 景深, 超现实主义, 深蓝, 画面through细腻 丰富 色彩层 times塑造主体��场景, 质感真实, 暗黑风背景 光影效果营造出氛围, 整体兼具艺术幻想感, 夸张 广角透视效果, 耀光, 反射, 极致 光影, 强引力, 吞噬", "size": "1728x2304", "sequential_image_generation": "disabled", "stream": false, "response_format": "url", "watermark": true }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "model": "doubao-seedream-4-0-250828",
  "prompt": "星际穿越, 黑洞, 黑洞里冲出一辆快支离破碎 复古列车, 抢视觉冲击力, 电影大片, 末日既视感, 动感, 对比色, oc渲染, 光线追踪, 动态模糊, 景深, 超现实主义, 深蓝, 画面through细腻 丰富 色彩层 times塑造主体��场景, 质感真实, 暗黑风背景 光影效果营造出氛围, 整体兼具艺术幻想感, 夸张 广角透视效果, 耀光, 反射, 极致 光影, 强引力, 吞噬",
  "size": "1728x2304",
  "sequential_image_generation": "disabled",
  "stream": false,
  "response_format": "url",
  "watermark": true
}

Responses

200 -

Example

{
  "data": [
    {
      "url": "https://ark-content-generation-v2-cn-beijing.tos-cn-beijing.volces.com/doubao-seedream-4-0/0217574690542070fa6ef8c2347680bd87fd8d357bb16f1e5ca0f_0.jpeg?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20250910%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20250910T015107Z&X-Tos-Expires=86400&X-Tos-Signature=fbc5369be594d6e21be983ed1ec32463b5f82cf0c18c4349e477c11e51e55fa0&X-Tos-SignedHeaders=host"
    }
  ],
  "created": 1757469067,
  "usage": {
    "prompt_tokens": 0,
    "completion_tokens": 0,
    "total_tokens": 15908,
    "prompt_tokens_details": {
      "cached_tokens_details": {}
    },
    "completion_tokens_details": {},
    "output_tokens": 15908
  }
}