# ByteDance Seedream 4.5 Text to Image API

> A new-generation image creation model from ByteDance, Seedream 4.5 integrates text-to-image generation and image editing into a single unified architecture, delivering high-fidelity visuals, precise prompt control, and seamless creative workflows for professional AIGC applications.

Source: https://www.sandbase.ai/models/bytedance/seedream/4.5
API reference: https://www.sandbase.ai/models/bytedance/seedream/4.5/docs

## Facts

- Provider: ByteDance
- Type: Image model
- Model ID: `bytedance/seedream/4.5`
- Price: $0.04 per run
- Capabilities: text to image, commercial
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedream/4.5",
  "prompt": "Vibrant close-up editorial portrait, model with piercing gaze, wearing a sculptural hat, rich color blocking, sharp focus on eyes, shallow depth of field, Vogue magazine cover aesthetic, shot on medium format, dramatic studio lighting.",
  "aspect_ratio": "1:1",
  "output_format": "png"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call ByteDance Seedream 4.5 Text to Image through SandBase?

Create a SandBase API key, then send requests with the model ID "bytedance/seedream/4.5" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate ByteDance account?

No. One SandBase API key and balance gives you access to ByteDance Seedream 4.5 Text to Image and the other models in the catalog; you do not need to sign up with ByteDance separately.

## README

### Seedream 4.5 Text to Image

Seedream 4.5 combines text-to-image and editing in one model, with sharp detail and strong typography. Seedream 5.0 is the newer generation.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 50,000 characters. |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `5:4` / `1:1` / `4:5` / `3:4` / `2:3` / `9:16` | `1:1` | Output shape. |
| `image_size` | object | — | Optional explicit output size; overrides `aspect_ratio`. |
| `output_format` | `jpeg` / `png` | `png` | Output file format. |

#### Billing

$0.04 per image.

| Request | Price |
|---|---|
| One image | $0.04 |

Failed runs are not charged.

#### Prompting

- Write subject, layout, style, then light and color.
- Quote any text that must appear.

#### Limits

- One output image per request.

#### Also on SandBase

Other Seedream endpoints: `bytedance/seedream/5.0/pro`, `bytedance/seedream/5.0/pro/edit`, `bytedance/seedream/5.0/lite`, `bytedance/seedream/5.0/lite/edit`, `bytedance/seedream/5.0/flash`, `bytedance/seedream/5.0/flash/edit`, `bytedance/seedream/4.5/edit`.
