Seedream 4.5 icon

Seedream 4.5 API

プロンプト追従性を高めた洗練版 Seedream。

Seedream 4.5 を1回のAPIコールで統合できます。1つのキー、1つの統一エンドポイント、そしてApiframe上のすべてのモデルで共通の請求。

model: "seedream-4.5"
Seedream 4.5 e-commerce hot-sale image titled 'Today's Hot Sale' with a centered product, '$9.99' price, and an orange-to-purple gradient

Seedream 4.5 の特長

  • 1:1, 3:4, 4:3 を含む 5 種類のアスペクト比に対応。
  • 画像から画像への編集と参照画像に対応。
  • 高速処理 — 1回の生成あたり平均約15秒。
  • ByteDance のアカウント不要の従量課金。成功した生成分だけお支払いいただきます。
  • Apiframe のすべてのモデルで、1つのAPIキー・統一請求・冪等性・Webhookに対応。

Seedream 4.5 で作成

Apiframeの Seedream 4.5 API で生成した出力例です。

Seedream 4.5 modern e-commerce hot-sale image with the title 'Today's Hot Sale', a centered product, '$9.99' price, and an orange-to-purple gradient

A modern e-commerce hot-sale image with the title 'Today's Hot Sale', a product centered, price '$9.99' below, orange-to-purple gradient.

Seedream 4.5 minimalist art exhibition poster on an off-white background with a black line-drawing portrait slightly right of center

A minimalist art exhibition poster, off-white background, a black line-drawing portrait slightly right of center.

Seedream 4.5 chalkboard-style coffee shop menu board titled 'DAILY SPECIALS' with Espresso $3, Latte $4, and Cappuccino $4.50

A coffee shop menu board, chalkboard style, title 'DAILY SPECIALS' with Espresso $3, Latte $4, Cappuccino $4.50.

Seedream 4.5 reference-based edit keeping the model's face and lighting identical while changing the dress to flowing red silk

Using these reference photos, keep the model's face and lighting identical and change the dress to flowing red silk.

Seedream 4.5 European vintage wedding invitation on a dark green base with gold-foil typography for names, date, and venue

A European vintage wedding invitation, dark green base, gold-foil typography with names, date, and venue.

Seedream 4.5 product line-up of the same sneaker in six colorways with consistent angle, lighting, and style

A product line-up of the same sneaker in six colorways, consistent angle, lighting, and style.

概要

エンドポイント
POST /v2/images/generate
モデルID
seedream-4.5
パラメータキー
seedreamParams
モダリティ
画像
プロバイダー
ByteDance
平均完了時間
~15s

機能

アスペクト比1:1, 3:4, 4:3, 9:16, 16:9
画像入力対応
平均時間~15秒

クイックスタート

APIキーを添えて POST /v2/images/generate に1回リクエストを送るだけで Seedream 4.5 による生成が始まります。レスポンスには、ポーリングまたはWebhookで受け取れる jobId が返ります。

curl -X POST https://api.apiframe.ai/v2/images/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
        "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
        "model": "seedream-4.5",
        "seedreamParams": {
            "image_input": "https://example.com/input.jpg",
            "output_format": "jpg",
            "guidance_scale": 3,
            "use_pre_llm": false
        }
    }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/images/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
        "model": "seedream-4.5",
        "seedreamParams": {
            "image_input": "https://example.com/input.jpg",
            "output_format": "jpg",
            "guidance_scale": 3,
            "use_pre_llm": False
        }
    },
)
print(response.json())  # { "jobId": "...", "status": "QUEUED" }
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
    "model": "seedream-4.5",
    "seedreamParams": {
      "image_input": "https://example.com/input.jpg",
      "output_format": "jpg",
      "guidance_scale": 3,
      "use_pre_llm": false
    }
  }),
});
const { jobId } = await response.json();
console.log(jobId);

レスポンスとジョブのライフサイクル

生成は非同期で行われます。送信が成功すると 202 AcceptedjobId が返ります。ステータスが COMPLETED になるまで GET /v2/jobs/{id} をポーリングする(または webhook_url を指定する)と、result フィールドに出力URLが格納されます。

1. 送信レスポンス (202)

{
  "jobId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
  "status": "QUEUED"
}

2. 結果をポーリング

curl https://api.apiframe.ai/v2/jobs/JOB_ID \
  -H "X-API-Key: afk_your_api_key_here"
import requests, time

while True:
    job = requests.get(
        "https://api.apiframe.ai/v2/jobs/JOB_ID",
        headers={"X-API-Key": "afk_your_api_key_here"},
    ).json()
    if job["status"] in ("COMPLETED", "FAILED"):
        break
    time.sleep(2)
print(job["result"])
let job;
do {
  await new Promise((r) => setTimeout(r, 2000));
  job = await fetch("https://api.apiframe.ai/v2/jobs/JOB_ID", {
    headers: { "X-API-Key": "afk_your_api_key_here" },
  }).then((r) => r.json());
} while (job.status !== "COMPLETED" && job.status !== "FAILED");
console.log(job.result);

入力スキーマ

Seedream 4.5 エンドポイントが受け付けるリクエストパラメータです。モデル固有のオプションは、下記のパラメータオブジェクトの中にネストされます。

パラメータ 必須 デフォルト 許可値 / 範囲 説明
prompt string 必須 生成する内容のテキスト説明。
model string 必須 "seedream-4.5" "seedream-4.5" このエンドポイントのモデル識別子。
seedreamParams.image_input string (URL) 任意 Reference image (URL)
seedreamParams.output_format string 任意 "jpg" "jpg", "png" Output format
seedreamParams.guidance_scale number 任意 3 min 1, max 10, step 0.5 Guidance
seedreamParams.use_pre_llm boolean 任意 false Pre-process the prompt with an LLM.
seedreamParams.enhance_prompt boolean 任意 false Enhance prompt
seedreamParams.seed number 任意 step 1 Reuse a number to reproduce the same result.

よくある質問

Seedream 4.5 APIに関するよくある質問をまとめました。

Seedream 4.5 の API はありますか?

はい。Apiframe は単一の REST エンドポイント(`POST /v2/images/generate`、`model: "seedream-4.5"`)で Seedream 4.5 を提供します。対応するすべてのモデルで、統一されたAPI・キー・請求をご利用いただけ、ByteDance の個別アカウントは不要です。

Seedream 4.5 API の料金はいくらですか?

Seedream 4.5 は Apiframe のシンプルな従量課金制で、成功した生成分のみお支払いいただきます。プランと数量割引は料金ページをご覧ください。

Seedream 4.5 API はどのように呼び出しますか?

`X-API-Key` と、`model: "seedream-4.5"` を含む JSON ボディを添えて `/v2/images/generate` に POST リクエストを送ります。レスポンスで返る `jobId` を `GET /v2/jobs/{id}` でポーリングするか、Webhook で結果を受け取ります。

Seedream 4.5 はどんなパラメータに対応していますか?

Seedream 4.5 は、共通の `prompt`・`webhook_url` に加えて、`seedreamParams` の下にネストされた 6 個のモデル固有パラメータを受け付けます。型やデフォルト値を含む一覧は上記の入力スキーマをご覧ください。

解決しませんでしたか?

Seedream 4.5 API で開発を始めよう

APIキーを取得すれば数分で Seedream 4.5 を統合できます — 従量課金。

無料クレジットですぐに開始
すべてのモデルを1つのAPIで
Webhook・SDK・冪等性に対応
プロバイダーのアカウント不要

ご質問はありますか? Discordに参加 または 営業に問い合わせる