创建任务 bytedance/seedream-4
开发中 POST https://aiapi.winfull.top/replicate/v1/models/bytedance/seedream-4/predictions
请求参数
Authorization 在 Header 添加参数 Authorization ,其值为在 Bearer 之后拼接 Token 示例: Authorization: Bearer ******************** Body 参数application/json 生成代码 示例
{
"input": {
"size": "2K",
"width": 2048,
"height": 2048,
"prompt": "a photo of a store front called i\"sedream 4\", it sells books, a poster in the window says i\"sedream 4 now on Replicate!\"",
"max_images": 2,
"image_input": [],
"aspect_ratio": "4:3",
"sequential_image_generation": "auto"
}
}请求示例代码
Shell JavaScript Java Swift Go PHP Python HTTP C C# Objective-C Ruby OCaml Dart R 请求示例请求示例 Shell JavaScript Java Swift cURLcURL-WindowsHttpiewgetPowerShell
curl --location --request POST 'https://aiapi.winfull.top/replicate/v1/models/bytedance/seedream-4/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"input": {
"size": "2K",
"width": 2048,
"height": 2048,
"prompt": "a photo of a store front called i\"sedream 4\", it sells books, a poster in the window says i\"sedream 4 now on Replicate!\"",
"max_images": 2,
"image_input": [],
"aspect_ratio": "4:3",
"sequential_image_generation": "auto"
}
}'返回响应
🟢200成功 application/json生成代码 Body 生成代码 示例
{}修改于 2025-11-14 15:10:56
