Runbase

Command Palette

Search for a command to run...

ByteDance

Seedream 4.5

ID:bytedance/seedream-4.5

ByteDance の Seedream 4.5 画像生成 API — 最大 4K 出力・参照画像 14 枚対応で、生成と編集を 1 つのモデルで統合。

テキストから画像画像編集参照画像4K

概要

ByteDance の Seedream 4.5 画像生成 API — 最大 4K 出力・参照画像 14 枚対応で、生成と編集を 1 つのモデルで統合。

認証

すべての API リクエストには、Authorization ヘッダーで Bearer スキームを使用した有効な API キーが必要です。

クイックスタート

認証情報

環境変数 RUNBASE_API_KEY を設定してください。

Shell
export RUNBASE_API_KEY=your-api-key

実行を作成

Shell
curl -s https://runbase.net/api/v1/runs \
  -H "Authorization: Bearer $RUNBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedream-4.5",
    "input": {
      "prompt": "A cinematic product photo of a ceramic lamp"
    }
  }'

実行

実行は非同期で処理されます。リクエストを送信し、結果をポーリングで取得してください。

実行を作成

Shell
curl -s https://runbase.net/api/v1/runs \
  -H "Authorization: Bearer $RUNBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedream-4.5",
    "input": { "prompt": "A cinematic product photo of a ceramic lamp" }
  }'

実行ステータスを取得

Shell
curl -s https://runbase.net/api/v1/runs/RUN_ID \
  -H "Authorization: Bearer $RUNBASE_API_KEY"

結果を取得

status が "succeeded" になるまでステータスエンドポイントをポーリングし、レスポンスの output.urls を参照してください。

入力スキーマ

パラメータタイプ必須説明
promptstring必須Prompt
aspect_ratiostring任意Aspect ratioオプション: 1:12:33:23:44:39:1616:921:9
qualitystring任意Qualityオプション: basichigh
image_urlsstring[]任意Reference images

出力スキーマ

フィールドタイプ説明
urlsstring[]生成された出力 URL

エラー

API は標準の HTTP ステータスコードで成功または失敗を示します。

ステータスコード説明
400Richiesta non valida - parametri mancanti o malformati
401Autenticazione fallita - chiave API mancante o non valida
402Crediti insufficienti
403Accesso negato - IP non consentito o limite di spesa della chiave API superato
404Esecuzione non trovata
429Limite di frequenza superato
500Errore interno del server