Skip to content
youbot
Seedream 4.0 cover

Seedream 4.0 API

bytedance-seedream-v4-edit
ByteDanceCommercial use API verifiedImage generation

Seedream 4.0 — fast, high-fidelity AI image generation & editing.

by ByteDance

Get Your API Key
View as Markdown
Model Type:

Pricing: Seedream 4.0 costs 2.74 credits per image (≈ $0.0274).

Save up to 11%with the $1,250 top-up pack (+10% bonus) — 2% lower than direct rates even without itTop up

24H Status Monitor

Operational
24h agonow
Loading…

Affordable Seedream 4.0 API on you.bot

Access ByteDance's Seedream 4.0 through one unified API — same model, better rates, one integration.

Seedream 4.0 API pricing & guide (2026)

Seedream 4.0 — fast, high-fidelity AI image generation & editing. Through you.bot you call the Seedream 4.0 API by ByteDance on the same unified endpoint as every other model — one key, one integration.

On you.bot, the Seedream 4.0 API costs about $0.027 per image — roughly 2% cheaper than the official ByteDance price of $0.028. You only pay for successful generations; failed tasks are never charged.

Billing is pay-as-you-go in credits (1 credit = $0.01 USD) — no subscription, no monthly minimum, and credits never expire. So Seedream 4.0 API pricing in 2026 is easy to predict: you pay per successful call and nothing for failures.

Core capabilities of the Seedream 4.0 API

High-fidelity generation

Create photoreal or stylized images with precise, prompt-driven control.

Editing & reference images

Edit existing images or guide the output with one or more reference images.

Flexible sizes & formats

Pick aspect ratios, resolutions and output formats that fit your product.

Where the Seedream 4.0 API fits in production

Every image below was generated on you.bot with the Seedream 4.0 API itself — no stock photography.

Photo into illustration

Photo into illustration

Take the same composition into a drawn style for a different surface.

Fix the lighting

Fix the lighting

Rescue an under-lit frame without a re-shoot.

Clean up for a product page

Clean up for a product page

Turn a set photo into the plain-ground version a listing needs.

Match a campaign look

Match a campaign look

Bring older assets in line with this season's grade.

A set from one photo

A set from one photo

Detail crops and alternate angles from a single approved frame.

Localise the props

Localise the props

Same hero product, props that suit the market.

Seedream 4.0 API compared with the rest of its family

The same prices this page charges, side by side — so you can see what a version step costs before you switch.

Modelper call
Seedream 4.0this page2.74 cr$0.027 · official $0.028
Seedream2.87 cr$0.029 · official $0.036

How to access and deploy the Seedream 4.0 API on you.bot

Step 1

Get your API key

Create a key in the dashboard — one key works across every model on the platform.

Step 2

Call the Seedream 4.0 endpoint

POST your prompt and parameters to /api/v1/generate with your key in the Authorization header.

Step 3

Poll for your result

Use the returned taskId to poll the task endpoint, or register a webhook to receive the result URLs.

curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer sk-live-..." \
  -H "Content-Type: application/json" \
  -d '{
    "modelId": "bytedance-seedream-v4-edit",
    "input": { "prompt": "..." }
  }'

Seedream 4.0 API on you.bot vs going direct

Featureyou.botGoing direct
Price per image$0.027$0.028
Failed-task billingFree (auto-refund)Charged
IntegrationOne unified APIPer-vendor SDKs
Credit expiryNeverVaries

4.9

Based on 1,200+ developer reviews

Why choose you.bot for the Seedream 4.0 API

2% cheaper

Lower rates than going direct to ByteDance — and you only pay for successful runs.

Production-grade reliability

Monitored availability with automatic credit refunds on failed jobs.

One API for everything

Swap models freely without touching your integration or juggling vendors.

FAQs about the Seedream 4.0 API

Seedream 4.0 is billed per image at about $0.027 on you.bot — and you only pay for successful generations.

ByteDance

Seedream 4.0 API code example

POST/api/v1/generate

Seedream 4.0 — fast, high-fidelity AI image generation & editing.

Overview

Seedream 4.0 runs in two steps: POST /api/v1/generate to start a task, then poll GET /api/v1/task/{taskId} until the result is ready.

Authentication

All requests require a Bearer Token in the header:

Authorization: Bearer YOUR_API_KEY

Request parameters

ParameterTypeRequiredDescription
modelIdstringYesModel id: `bytedance-seedream-v4-edit`
inputobjectYesInput parameters object (see below)
callbackUrlstringNohttps URL we POST the finished task to. Signed with `X-Webhook-Signature` once you create a webhook signing key in Dashboard → Settings

input object parameters

ParameterTypeRequiredDescription
promptstringYesThe text prompt used to edit the image · default: Relight with an iridescent dusk glow, deepening the peacock's plumage into jewel-toned teal and gold with a soft rim light tracing the eye of every feather.
image_urlsstring[]YesList of URLs of input images for editing. Presently, up to 10 image inputs are allowed. (image URL)
image_sizestringNoThe size of the generated image. (options: square, square_hd, portrait_4_3, portrait_3_2, portrait_16_9, landscape_4_3, landscape_3_2, landscape_16_9, landscape_21_9) · default: square_hd
image_resolutionstringNoFinal image resolution is determined by combining image_size (aspect ratio) and image_resolution (pixel scale). For example, choosing 4:3 + 4K gives 4096 × 3072px (options: 1K, 2K, 4K) · default: 1K
max_imagesnumberNoSet this value (1–6) to cap how many images a single generation run can produce in one set—because they’re created in one shot rather than separate requests, you must also state the exact number you want in the prompt so both settings align. (range 1–6) · default: 1
seednumberNoRandom seed to control the stochasticity of image generation.
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) · default: true

Query task status

GET/api/v1/task/{taskId}?model=bytedance-seedream-v4-edit

When state is success, the output is in resultUrls:

{ "state": "success", "resultUrls": ["https://…/api/file?t=…"] }

Error codes

CodeDescription
200Request successful
400Invalid request parameters
401Authentication failed — check API Key
402Insufficient account balance
403IP not allowed for this key, or the key is restricted to other models
404Task not found, or it has expired
409Duplicate request — an identical submit arrived moments ago. Nothing was charged; retry is safe
413Payload too large — see the character and file-size limits for this model
429Rate limit exceeded — retry after the Retry-After header
500Internal server error
504Upstream timed out — nothing was delivered; retry is safe
Request
curl --location 'https://you.bot/api/v1/generate' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "modelId": "bytedance-seedream-v4-edit",
    "input": {
        "prompt": "Relight with an iridescent dusk glow, deepening the peacock'\''s plumage into jewel-toned teal and gold with a soft rim light tracing the eye of every feather.",
        "image_urls": [
            "https://you.bot/examples/grok-imagine-text-to-image.jpg"
        ],
        "image_size": "square_hd",
        "image_resolution": "1K",
        "max_images": 1,
        "seed": 1,
        "nsfw_checker": true
    },
    "callbackUrl": "https://your-domain.com/api/callback"
}'
Response
{
  "taskId": "281e5b0…f39b9",
  "creditsCharged": 2.74
}