# Seedream 5.5 Image Generator & Editor (`superlewis/seedream-5-5-image-generator-editor`) Actor

Generate and edit images with ByteDance Seedream 5.5 in 1K, 1.5K or 2K, with up to 10 reference images and transparent PNG output. Pay per image on Apify, or use your own apimodels.app API key. Failed jobs are not charged.

- **URL**: https://apify.com/superlewis/seedream-5-5-image-generator-editor.md
- **Developed by:** [Lucas Lewis](https://apify.com/superlewis) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $63.00 / 1,000 2k images

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Seedream 5.5 image generator and editor

Generate and edit images with **ByteDance Seedream 5.5** from a list of prompts. Output is 1K, 1.5K or 2K in 11 aspect ratios. You can also get **transparent PNGs**, and edit or combine up to **10 reference images**. Each image comes back as a URL in a dataset, ready for bulk jobs, automations and AI agents.

The Actor runs on the [apimodels.app Seedream 5.5 API](https://apimodels.app/docs/seedream-5-5?utm_source=apify\&utm_medium=referral).

### What you can make

- **Text-to-image** at 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9, 4:5 or 5:4, or let the model choose with `auto`.
- **Edits and composites**: add reference image URLs and describe the change. For example, swap the background, place a product in a scene, restyle a photo or merge several pictures.
- **Transparent PNGs** for stickers, logos and product cut-outs.
- **Bulk runs**: up to 100 prompts per run, 1 to 4 images per prompt.

### Pricing

You pay only for images that are delivered. **Failed generations are never charged.**

**Pay per image on Apify** (paid Apify plans, no API key needed):

| Item | Price |
|---|---|
| 1K or 1.5K image | $0.038 |
| 2K image | $0.063 |
| Each reference image | +$0.013 per generated image |

**Or use your own apimodels.app API key.** Create a key at [apimodels.app](https://apimodels.app/console/api-keys?utm_source=apify\&utm_medium=referral) and paste it into the input. Images are then billed to your apimodels.app balance at [apimodels.app prices](https://apimodels.app/models/doubao-seedream-5-5?utm_source=apify\&utm_medium=referral), and nothing is charged on Apify. **On the Apify free plan an API key is required.**

### How to use

1. Enter one or more prompts.
2. Pick the resolution, aspect ratio and format.
3. Optional: add reference image URLs to edit or combine images.
4. Optional: paste your apimodels.app API key.
5. Start the run. Images appear in the **Output** tab as they finish.

### Output

```json
{
  "ok": true,
  "imageUrl": "https://r2.apimodels.app/...jpeg",
  "prompt": "A minimalist product photo of a glass perfume bottle...",
  "model": "doubao-seedream-5-5",
  "resolution": "2K",
  "aspectRatio": "16:9",
  "outputFormat": "jpeg",
  "references": 0,
  "billing": "apify",
  "taskId": "..."
}
```

If a job fails, its item has `"ok": false` and an `error` message. It is not charged.

### Things to know

- Result URLs are kept for **30 days**. Download what you want to keep.
- Use **Maximum cost per run** to cap spending. The Actor stops before it goes over the cap.
- Content review can refuse some prompts or images. Edits that keep a real person's identity from a photo may be refused. Refused jobs are not charged.
- There is no 4K output for Seedream 5.5.

### Call the API directly

```bash
curl https://api.apimodels.app/v1/images/generations \
  -H "Authorization: Bearer $APIMODELS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "doubao-seedream-5-5", "prompt": "a red fox in fresh snow", "resolution": "2K", "aspect_ratio": "16:9"}'
```

The call returns a `taskId`; poll `GET /v1/images/generations?task_id=...` for the result. Docs: [apimodels.app/docs/seedream-5-5](https://apimodels.app/docs/seedream-5-5?utm_source=apify\&utm_medium=referral).

### About apimodels.app

[apimodels.app](https://apimodels.app/?utm_source=apify\&utm_medium=referral) gives you one API key for 170+ AI models: LLMs, image, video and audio generation. Failed requests are never charged.

This Actor is not affiliated with or endorsed by ByteDance.

# Actor input Schema

## `prompts` (type: `array`):

One job per prompt (up to 100 per run). For edits, describe the change to the reference images.

## `resolution` (type: `string`):

1K, 1.5K or 2K (about 4 MP, e.g. 2816x1584 at 16:9). 1K and 1.5K cost the same.

## `aspectRatio` (type: `string`):

Shape of the output. "auto" lets the model choose (useful for edits).

## `outputFormat` (type: `string`):

JPEG or PNG.

## `transparentBackground` (type: `boolean`):

Output a PNG with a transparent background (stickers, logos, product cut-outs).

## `numImages` (type: `integer`):

1 to 4. Each image is a separate generation.

## `referenceImageUrls` (type: `array`):

Up to 10 public image URLs to edit or combine. Each reference image adds a small fee per generated image.

## `apiKey` (type: `string`):

Leave empty on a paid Apify plan to pay per image on Apify. Required on the Apify free plan: create a key at https://apimodels.app/console/api-keys and jobs are billed to your apimodels.app balance instead (nothing is charged on Apify).

## Actor input object example

```json
{
  "prompts": [
    "A minimalist product photo of a glass perfume bottle on wet black stone, soft rim light, water droplets, studio shot"
  ],
  "resolution": "2K",
  "aspectRatio": "16:9",
  "outputFormat": "jpeg",
  "transparentBackground": false,
  "numImages": 1
}
```

# Actor output Schema

## `results` (type: `string`):

One item per generated image with its URL (kept for 30 days) and settings, plus an error message for jobs that failed.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "prompts": [
        "A minimalist product photo of a glass perfume bottle on wet black stone, soft rim light, water droplets, studio shot"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("superlewis/seedream-5-5-image-generator-editor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "prompts": ["A minimalist product photo of a glass perfume bottle on wet black stone, soft rim light, water droplets, studio shot"] }

# Run the Actor and wait for it to finish
run = client.actor("superlewis/seedream-5-5-image-generator-editor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "prompts": [
    "A minimalist product photo of a glass perfume bottle on wet black stone, soft rim light, water droplets, studio shot"
  ]
}' |
apify call superlewis/seedream-5-5-image-generator-editor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,superlewis/seedream-5-5-image-generator-editor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5eHO0Wo4elSvQ8cGA/builds/rgtnifoA9eQO4597g/openapi.json
