Seedream 4.0 API for Image Generation

Access Seedream 4.0 through the independent GoEnhance Open API. Submit a text prompt alone or add up to 14 reference images, receive an img_uuid, then poll or use an HTTPS callback for the 2K result.
Create an API Key
Cinematic generative image studio with sculptural glass forms and warm controlled lighting

Choose the Seedream 4.0 Input Mode

Text-to-Image from a Focused Prompt

Send a required prompt from 1 to 2,000 characters. Omit image_list for pure text-to-image generation.
Detailed single-scene product composition illustrating prompt-driven image generation

Reference-Guided Image Generation

Add 1–14 public image URLs in image_list when your workflow needs image-to-image guidance.
Reference-guided image generation workflow

One Asynchronous REST Workflow

Use one endpoint for both input modes. A successful submission returns a task identifier instead of blocking until the image is ready.
Independent API access to Seedream 4.0
Validate request shape before submission and track every image as an asynchronous task.

Seedream 4.0 API Capabilities and Limits

Prompt validation

prompt is required and accepts 1–2,000 characters.

Seven documented aspect ratios

Set ratio to 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, or 2:3. Omit it to use the model default.

Optional reference images

Pass 1–14 objects in image_list, each containing a public image URL, or omit the field for text-to-image.

2K output

The documented Seedream 4.0 route returns generated images at 2K resolution.

Bearer authentication

Send your GoEnhance API key in the Authorization header and keep it out of client-side code and logs.

Polling or callback completion

Persist the returned img_uuid, then poll job detail or receive task-state updates at a public HTTPS callback URL.
The current GoEnhance API reference lists one token per Seedream 4.0 image.

Seedream API Pricing

$0.02 per generated image

GoEnhance lists Seedream 4.0 at 1 token per image, with 1 token equal to $0.02.

Simple request-level budgeting

Estimate cost as the number of submitted image tasks multiplied by $0.02; no per-second calculation is involved for this image endpoint.

Check current billing before production runs

Review the live GoEnhance billing page before large batches because account terms and platform pricing can change.

Integrate the Seedream 4.0 API

1

1. Create and protect an API key

Create a key at /keys and send it with the request. Do not expose it in browser code or public repositories.
2

2. Build and validate the request

Add the required prompt, choose an optional ratio, and include image_list only when you have 1–14 accessible reference URLs.
3

3. Submit and persist img_uuid

POST to https://api.goenhance.ai/api/v1/seedream-4-0. Save the returned img_uuid with your internal job record.
4

4. Poll or receive callbacks

Poll GET https://api.goenhance.ai/api/v1/jobs/detail?img_uuid=..., or provide custom_callback_url for HTTPS state notifications.
5

5. Handle terminal results idempotently

Check both HTTP status and response code/msg. Correct invalid requests before resubmitting, and prevent duplicate downstream processing.
Create an API Key
Connect prompt generation, references, async job tracking, storage, and human review in one image pipeline.

What Developers Build with Seedream 4.0

Product creative pipelines

Generate product-scene concepts from structured prompts and route selected outputs into review and campaign workflows.

Reference-guided brand exploration

Use approved reference images to guide composition or visual direction without building a separate image-editing endpoint.

Localized campaign variants

Programmatically adapt prompt details for markets, formats, and channels while keeping task tracking consistent.

Concept art and previsualization

Create 2K stills for mood exploration, storyboards, environment studies, and early creative decisions.
Pricing, inputs, ratios, output, job handling, and platform relationship.

Seedream 4.0 API FAQ

What is the Seedream 4.0 API endpoint on GoEnhance?

Send a bearer-authenticated POST request to https://api.goenhance.ai/api/v1/seedream-4-0.

How much does the Seedream API cost?

The GoEnhance reference lists 1 token per image, equal to $0.02 per generated image. Check current billing terms before high-volume runs.

Does this route support text-to-image and image-to-image?

Yes. Send only prompt for text-to-image, or add 1–14 objects in image_list for reference-guided image generation.

Which aspect ratios are supported?

The documented values are 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, and 2:3. If omitted, the model default is used.

What output resolution does Seedream 4.0 return?

GoEnhance documents 2K output for this Seedream 4.0 route.

How do I know when an image is ready?

Save the returned img_uuid, then poll the job-detail endpoint or provide a public HTTPS custom_callback_url. GoEnhance retries a callback up to three times if your server does not return HTTP 200, with a three-second timeout per attempt.

Is this an official ByteDance API?

No. GoEnhance Open API is an independent third-party API platform and is not affiliated with or endorsed by ByteDance. Seedream and ByteDance names identify the model and its developer.

What does “4.0 ByteDance API” mean here?

It refers to accessing ByteDance’s Seedream 4.0 model through GoEnhance’s independent API route, not to a claim that this page or endpoint is operated by ByteDance.

Start Your Seedream 4.0 API Integration