# Seedream API: Image Generation and Editing

Canonical: https://www.sandbase.ai/models/seedream

Generate images, edit with references, and create transparent assets. Access ByteDance Seedream through SandBase with one API key and balance.

## Seedream 5.5 capabilities

Choose 1K, 1.5K or 2K output. Generate one image per request, use up to ten reference images in the edit route, or request transparent PNG output.

## Examples

### Editorial portraits
Explore fabric, color and studio lighting from a text prompt.
[Open examples](https://www.sandbase.ai/models/bytedance/seedream/5.5#examples)

### Change a detail
Describe the edit and specify what should stay fixed in the reference.
[Open examples](https://www.sandbase.ai/models/bytedance/seedream/5.5/edit#examples)

### Transparent assets
Request a transparent background and PNG output for reusable design elements.
[Open examples](https://www.sandbase.ai/models/bytedance/seedream/5.5#examples)

## Prices and public discounts

USD per default run. Discounts are relative to SandBase list prices. Seedream 5.5 generation uses 2K; its edit estimate includes 2K output and one reference image. Signed-in account rates may differ.

| Model | Workflow | List price | Public discount | You pay | You save |
| --- | --- | --- | --- | --- | --- |
| Seedream 5.5 | Generate | $0.035 | No public discount | $0.035 | $0.0000 |
| Seedream 5.5 | Edit | $0.043 | No public discount | $0.043 | $0.0000 |
| Seedream 5.0 Flash | Generate | $0.018 | 20% off | $0.0144 | $0.0036 |
| Seedream 5.0 Flash | Edit | $0.018 | 20% off | $0.0144 | $0.0036 |
| Seedream 5.0 Pro | Generate | $0.09 | 20% off | $0.072 | $0.018 |
| Seedream 5.0 Pro | Edit | $0.09 | 20% off | $0.072 | $0.018 |
| Seedream 5.0 Lite | Generate | $0.035 | No public discount | $0.035 | $0.0000 |
| Seedream 5.0 Lite | Edit | $0.035 | No public discount | $0.035 | $0.0000 |
| Seedream 4.5 | Generate | $0.04 | 40% off | $0.024 | $0.016 |
| Seedream 4.5 | Edit | $0.04 | 40% off | $0.024 | $0.016 |

## Model workflows

### Seedream 5.5
Text, portraits and transparent assets. 1K, 1.5K or 2K. Editing adds a charge for each reference image.
[Generation and live pricing](https://www.sandbase.ai/models/bytedance/seedream/5.5) · [Edit workflow](https://www.sandbase.ai/models/bytedance/seedream/5.5/edit)

### Seedream 5.0 Flash
Explore concepts and variations. Compare a lower-cost route before scaling up a batch.
[Generation and live pricing](https://www.sandbase.ai/models/bytedance/seedream/5.0/flash) · [Edit workflow](https://www.sandbase.ai/models/bytedance/seedream/5.0/flash/edit)

### Seedream 5.0 Pro
Detailed generation and editing. An alternative 5.0 tier for your production workflow.
[Generation and live pricing](https://www.sandbase.ai/models/bytedance/seedream/5.0/pro) · [Edit workflow](https://www.sandbase.ai/models/bytedance/seedream/5.0/pro/edit)

### Seedream 5.0 Lite
Everyday image workflows. Test your own prompts against the other 5.0 tiers.
[Generation and live pricing](https://www.sandbase.ai/models/bytedance/seedream/5.0/lite) · [Edit workflow](https://www.sandbase.ai/models/bytedance/seedream/5.0/lite/edit)

### Seedream 4.5
Keep an existing integration. Continue using the earlier generation and edit routes.
[Generation and live pricing](https://www.sandbase.ai/models/bytedance/seedream/4.5) · [Edit workflow](https://www.sandbase.ai/models/bytedance/seedream/4.5/edit)

Prices depend on model, resolution and inputs. Seedream 5.5 editing includes a charge for each reference image. Check the model page estimate before submitting a run.

## API integration

Keep your API key on the server. Submit a request, then poll the returned run ID until completed. Handle failed and timeout states and bound the polling loop.

```bash
curl --fail-with-body "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance/seedream/5.5",
    "prompt": "A ceramic cup on a blue studio backdrop, soft side lighting",
    "resolution": "2K",
    "aspect_ratio": "1:1",
    "num_images": 1,
    "output_format": "png"
  }'
```

```bash
# Set RUN_ID to the id returned by the first request.
curl --fail-with-body "https://api.sandbase.ai/v1/run/$RUN_ID" \
  -H "Authorization: Bearer $SANDBASE_API_KEY"
```

## Questions

### What is the Seedream API?
Seedream is ByteDance’s image generation and editing family. SandBase provides access through its Unified Run API, with one SandBase key and balance. This is SandBase’s integration, not ByteDance’s own developer portal.

### Which version should I start with?
Start with Seedream 5.5 for text-to-image generation, reference-based editing and transparent PNGs. Compare 5.0 Flash, Pro and Lite on your own prompts, or keep 4.5 for an existing integration. Each route has its own input schema and billing rules.

### How is Seedream 5.5 editing billed?
The edit price includes the generated output and a charge for each input image. Resolution also affects the output price. Check the model page’s estimate with your actual inputs before submitting a run; the generation price in this table is not an edit quote.

### Can I generate transparent images?
Seedream 5.5 supports transparent PNG output. Set background to transparent and output_format to png. JPEG cannot preserve transparency.

### How many images can I send and receive?
Seedream 5.5 currently returns one output image per request. Its edit route accepts up to ten reference images. Check the schema of older versions for their own limits.

### Do I need to sign in to try it?
Yes. Sign in to run the playground and create a SandBase API key for server-side use. Image generation is paid usage; the daily free data API allowance does not apply to Seedream.
