Seedream 4.5 圖生圖 API
Primary reference image. URL or base64. Formats: jpeg, png, webp, bmp, tiff, gif. Max 10MB, 6000x6000px
拖放圖片,或點擊瀏覽
支援 PNG, JPEG, WebP。最大 100MB。您也可以從剪貼簿貼上 (Ctrl+V)。
Describe the desired transformation (max 300 Chinese characters or 600 English words)
Output image size preset. Model auto-determines dimensions from prompt. Total pixels must be in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1]
結果
結果將顯示在此處
費用: $0.04/張圖片
Seedream 4.5 API 實作指南
Seedream 4.5 API 文件
請先在演練場執行,再開啟完整 API 文件查看整合細節。
簡介
Edit and transform images with multi-image reference input (up to 14) using Seedream 4.5
程式碼範例
1curl -X POST https://api.modelhunter.ai/api/v1/seedream/image-to-image \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "seedream-4-5",6"input": {7"image": "https://example.com/image.jpg",8"prompt": "A futuristic cityscape at sunset with neon signs",9"size": "2K"10}11}'
Schema
查看完整 API 文件輸入
model此能力對應的模型 ID。
值: seedream-4-5
imagePrimary reference image. URL or base64. Formats: jpeg, png, webp, bmp, tiff, gif. Max 10MB, 6000x6000px
images額外參考圖片(總計最多 14 張),以逗號分隔的 URL 形式提供
promptDescribe the desired transformation (max 300 Chinese characters or 600 English words)
sizeOutput image size preset. Model auto-determines dimensions from prompt. Total pixels must be in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1]
選項: 1K, 2K, 4K
預設值: 2K
widthCustom width in pixels (alternative to size). Total pixels (w×h) must be in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1], 128-aligned
heightCustom height in pixels (alternative to size). Total pixels (w×h) must be in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1], 128-aligned
watermark浮水印
預設值: true
optimize_prompt增強提示詞以獲得更佳結果
選項: standard, fast
response_format回應格式
選項: url
預設值: url
webhookUrl任務完成時接收 Webhook 通知的 URL。
metadata附加到任務上用於追蹤的自訂鍵值中繼資料。
回應 (HTTP 202)
success請求是否已成功受理。
data.id唯一任務 ID,可輪詢 GET /api/v1/tasks/{id} 取得結果。
data.status任務狀態: pending, processing, completed, failed.
data.type生成類型: image-to-image.
data.provider供應商: seedream.
data.model本次生成使用的模型 ID。
data.created_at任務建立時間(ISO 8601)。
data.estimated_seconds任務完成前的預估秒數。