Seedream 4.0

Model Information

Display Name: Seedream 4.0

API Model ID: bytedance/seedream-4.0

Category: Text To Image

Description: ByteDance Seedream 4.0 unifies high-fidelity text-to-image generation with precise single-instruction image editing in a single model. Trained for 4K-class output and strong prompt adherence in both English and Chinese. **Key Features:** - Unified generation + editing in one model - Up to 4K resolution output (provider-dependent) - Strong text rendering across multiple languages - Multi-image input for editing (1-14 images depending on hoster) - Wide aspect ratio support (1:1, 16:9, 9:16, 4:3, 3:4) **Capabilities:** - Photorealistic generation with high prompt fidelity - Object replacement, removal, addition via natural-language edits - Style transfer and aesthetic redesign - Background swap with foreground preservation **Best For:** - Marketing creative iteration - Product mockups and lifestyle shots - E-commerce image refinement - Editorial illustration **Technical Specs:** - Architecture: Diffusion Transformer (ByteDance Seedream family) - Output: up to 4K (2048-2560px largest dim typical) - Input images for edit: 1-14 - License: ByteDance commercial via hosters

How to Use This Model

To use Seedream 4.0 via the HInow.ai API, use the model ID: bytedance/seedream-4.0

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "bytedance/seedream-4.0",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "bytedance/seedream-4.0",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.05

Available Parameters

  • aspect_ratio: Output aspect ratio. All 9 canonical ratios are accepted; if the upstream provider does not natively support a given ratio, the system maps to the closest one. (Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21)
  • output_format: Output image format. (Options: png, jpeg, webp)
  • num_images: Number of images for sequential generation. (Options: 1, 2, 3, 4)

Quick Reference

To use this model, set: "model": "bytedance/seedream-4.0"

Featured: Yes

Documentation: https://hinow.ai/models/bytedance/seedream-4.0

API Endpoint: https://api.hinow.ai/v1

Back to Models

Seedream 4.0

Featured

bytedance/seedream-4.0

$0.050
per image

About

ByteDance Seedream 4.0 unifies high-fidelity text-to-image generation with precise single-instruction image editing in a single model. Trained for 4K-class output and strong prompt adherence in both English and Chinese.

Key Features:

  • Unified generation + editing in one model
  • Up to 4K resolution output (provider-dependent)
  • Strong text rendering across multiple languages
  • Multi-image input for editing (1-14 images depending on hoster)
  • Wide aspect ratio support (1:1, 16:9, 9:16, 4:3, 3:4)

Capabilities:

  • Photorealistic generation with high prompt fidelity
  • Object replacement, removal, addition via natural-language edits
  • Style transfer and aesthetic redesign
  • Background swap with foreground preservation

Best For:

  • Marketing creative iteration
  • Product mockups and lifestyle shots
  • E-commerce image refinement
  • Editorial illustration

Technical Specs:

  • Architecture: Diffusion Transformer (ByteDance Seedream family)
  • Output: up to 4K (2048-2560px largest dim typical)
  • Input images for edit: 1-14
  • License: ByteDance commercial via hosters

Capabilities

Text To ImageImage To Image

Parameters

aspect_ratio

Output aspect ratio. All 9 canonical ratios are accepted; if the upstream provider does not natively support a given ratio, the system maps to the closest one.

1:116:99:164:33:43:22:321:99:21
output_format

Output image format.

pngjpegwebp
num_images

Number of images for sequential generation.

1234

Code Examples

curl -X POST https://api.hinow.ai/v1/images \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "bytedance/seedream-4.0",
    "prompt": "Transform this image into cyberpunk style",
    "images": [
      "https://example.com/image1.jpg",
      "data:image/png;base64,iVBORw0KGgo..."
    ],
    "parameters": {
      "aspect_ratio": "1:1",
      "output_format": "png",
      "num_images": "1"
    }
  }'