Seedream 4.0 API · Image generation

Seedream 4.0 API · Image generation and reference editing

Generate or edit images at 1K, 2K or 4K with one price across output resolutions.

Product photographyPostersReference edits
Input
Resolution
Aspect ratio
Enable the final fallback tier after ordinary channels fail. Its price applies only if that tier succeeds.
The Playground always screens prompts and input images. To disable screening via the API, set nsfw_check to false.
Advanced settings
Exact dimensionsExact dimensions override the resolution and aspect ratio presets. Width × height must be 921,600–16,777,216 total pixels. Width ÷ height must be between 1/16 and 16. Enable fallback to use exact dimensions with Seedream 4.0.
Refine the wording of your prompt before generating the image.
Ask for the desired number of related images in the prompt. Pay for the images returned.
Output
Example asset
/ Features

Seedream 4.0 API features

Generation and editing together

Create from text or add, remove and replace elements in existing images using the same model.

A broad range of styles

Explore watercolor, retro, cyberpunk and blended treatments for illustrations and creative concepts.

Blend references into scenes

Bring together elements from subject, clothing, product and background references with clear instructions.

Reimagine characters in new settings

Use a photo or illustration as a character reference when exploring new looks and environments.

From sketches to dimensional concepts

Use drawings as references for product, figurine or sculpture renderings with specified materials and lighting.

Reason about scene relationships

Combine text and visual context to guide objects, actions and spatial relationships in narrative compositions.

Combine text and imagery

Arrange headings, labels and illustrations for event posters, explanatory diagrams and page concepts.

From 1K drafts to 4K images

Choose 1K, 2K or 4K at the same standard output price to suit the intended layout.

/ Use cases

Seedream 4.0 API · Use cases

Web and interface concepts

Describe layout, palette and content hierarchy to explore interface directions. Use the generated image during early design discussions before building a working page.

Process and knowledge illustrations

Turn steps, timelines or categories into labeled illustrations. Prepare drafts for tutorials and articles, then check the wording, numbers and relationships.

Multi-reference compositions

Supply product, clothing or scene references and identify the role of each image. Explore arrangements and combinations for proposals and creative previews.

Character and figurine concepts

Use a character photo or illustration to explore new looks, settings or figurine renderings. Specify recognizable features to retain for character sheets and merchandise concepts.

Illustration style variations

Start from an approved subject or sketch and explore watercolor, ink or other art directions. Keep the composition brief consistent while comparing treatment and palette.

Event artwork updates

Use an existing poster to revise the event name, date or venue. Specify the layout and colors to preserve, then review every changed detail before distributing the artwork.

Packaging presentation mockups

Combine a package reference with a display brief to visualize shelf placement and materials. Use the result to discuss the concept before preparing dimensions or print files.

Restaurant menu imagery

Use food references to explore table settings, props and lighting for a menu. Describe the dish details to preserve and review each image against the real product.

/ Examples

Seedream 4.0 API · Examples

Explore example images with suggested prompts based on their composition. These prompts are not verified reproductions; upload your own input image for reference-editing examples.

Morning market photography
Morning market photography
Morning market photography
Image16:9

Morning market photography

Photograph a neighborhood produce market just after sunrise. Vendors arrange leafy vegetables and colorful fruit while shoppers talk naturally between the stalls. Let low warm sunlight pass through a little atmospheric haze, with soft foreground blur and detailed wooden crates. Use a candid eye-level view and restrained film colors. Avoid posed figures or advertising text.

375 chars
Forest villa in morning mist
Forest villa in morning mist
Forest villa in morning mist
Image3:2

Forest villa in morning mist

Using your own architectural reference, render the same villa at a misty dawn. Preserve the flat roof, wide windows and simple volumes. Surround the building with pale blue fog, a soft rose horizon and wet grass; keep a few warm lights glowing inside. Use a low, calm viewpoint and subdued reflections. Produce one architectural mood image with no text.

353 chars
Alpine animal product shot
Alpine animal product shot
Alpine animal product shot
Image16:9

Alpine animal product shot

Create a playful wide-angle photograph of a marmot on a snowy mountain summit, holding a dark energy-drink can toward the camera. Place the furry animal very close to the lens so its face and paws dominate, with bright alpine peaks and a saturated blue sky behind it. Preserve realistic fur, snow texture and strong midday shadows despite the surreal action.

358 chars
Cartoon royal banquet
Cartoon royal banquet
Cartoon royal banquet
Image4:3

Cartoon royal banquet

Use your own blue-king and red-king character references to create one cheerful animated-film scene. Seat the two characters at opposite ends of a white-clothed banquet table with golden plates and a roast dinner. Each holds a goblet matching his costume. Preserve their crowns, facial shapes and toy-like proportions, and light the palace room warmly. Keep the background simple and the interaction easy to read.

413 chars
Family cooking scene
Family cooking scene
Family cooking scene
Image16:9

Family cooking scene

A warm documentary photograph of a family preparing food together in a lived-in kitchen. Show hands working dough on a flour-dusted wooden counter, a pot releasing steam and soft sunlight entering through a nearby window. Capture unposed expressions and small interactions, with believable cookware, natural fabric and gentle warm shadows. Landscape framing, no text.

367 chars
Four-angle character sheet
Four-angle character sheet
Four-angle character sheet
Image1:1

Four-angle character sheet

Using the uploaded alpine marmot image, create one four-panel contact sheet showing the same animal and drink can from different viewpoints. Include a close frontal view, a side view, a low-angle view and a wide summit pose. Keep the fur markings, can design, mountain setting and daylight consistent. Align the four panels in a clean two-by-two grid without text.

364 chars
Spherical fries still life
Spherical fries still life
Spherical fries still life
Image16:9

Spherical fries still life

Photograph an impossible sphere built from golden French fries on a plain ceramic plate. Keep individual crisp edges visible, with red ketchup drizzles and a few salt crystals. Use a tiled kitchen background, bright soft daylight and shallow depth of field. The sphere should feel tactile and carefully balanced. One landscape image.

333 chars
Geometric apple study
Geometric apple study
Geometric apple study
Image16:9

Geometric apple study

Create a realistic still-life photograph of an apple shaped like a triangular pyramid. Preserve red-yellow apple skin, tiny pores, natural blemishes and a short brown stem. Place it on a muted ceramic plate against white kitchen tiles. Use side daylight, shallow depth of field and a close landscape composition.

312 chars

Seedream 4.0 API · Pricing

Output prices compare one 1:1 image at the same resolution with zero reference images. Prices are in USD.

+10%
Top up $1,500+ and get 10% bonus credits.
View top-up options
ResolutionAPIstable standardOfficial fallbackWaveSpeedfal
1KWith bonus ≈ $0.023 / imageRegular $0.025 / image5 credits / imageWith bonus ≈ $0.036 / imageRegular $0.04 / image8 credits / image$0.027 / image18.8% more than APIstable$0.03 / image32% more than APIstable
2KWith bonus ≈ $0.023 / imageRegular $0.025 / image5 credits / imageWith bonus ≈ $0.036 / imageRegular $0.04 / image8 credits / image$0.027 / image18.8% more than APIstable$0.03 / image32% more than APIstable
4KWith bonus ≈ $0.023 / imageRegular $0.025 / image5 credits / imageWith bonus ≈ $0.036 / imageRegular $0.04 / image8 credits / image$0.027 / image18.8% more than APIstable$0.03 / image32% more than APIstable
  • Reference images are included in the generation price.
  • Fallback is optional and charged only if that tier succeeds. Failed items release their reserved credits. — means unavailable for this specification.
/ API

Seedream 4.0 API · Integration

The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.

  1. Prepare input

    Write a prompt and optionally add references.

  2. Review the quote

    Choose resolution, output count and optional fallback. Review the account quote before submitting.

  3. Retrieve images

    Query the returned task ID or receive a signed callback. Save result images within 14 days.

Parameter
Description
modelseedream-4-0
inputImage generation parameters.
input.promptDescribe the image or edit. Limits depend on the model; see the schema.
input.resolution1K / 2K / 4K
input.aspect_ratioAuto / 1:1 / 4:3 / 3:4 / 16:9 / 9:16 / 3:2 / 2:3 / 21:9 / 2:1 / 1:2 / 9:21
input.sizeExact dimensions override the resolution and aspect ratio presets. Width × height must be 921,600–16,777,216 total pixels. Width ÷ height must be between 1/16 and 16. Enable fallback to use exact dimensions with Seedream 4.0.
{
  "model": "seedream-4-0",
  "input": {
    "prompt": "Photograph a neighborhood produce market just after sunrise. Vendors arrange leafy vegetables and colorful fruit while shoppers talk naturally between the stalls. Let low warm sunlight pass through a little atmospheric haze, with soft foreground blur and detailed wooden crates. Use a candid eye-level view and restrained film colors. Avoid posed figures or advertising text.",
    "resolution": "2K",
    "aspect_ratio": "16:9",
    "image_urls": [],
    "optimize_prompt": false,
    "official_fallback": false,
    "nsfw_check": true
  }
}

The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.

/ Compare

Seedream 4.0 API · Compare

Choose by the asset you need, output size and editing controls. All six models support text prompts and reference images through APIstable.

ModelStrengths and best usesOutput size
Seedream 5.5More stable successive edits, improved realism and dense text, plus transparent PNGs and layer decomposition. Suits product retouching, marketing posters and reusable design assets.1K / 1.5K / 2K
Seedream 5.0 FlashAffordable reference-based editing, with one standard output price from 1K to 2K and no separate reference-image fee. Suits ad drafts, product-scene variations and social media visuals.1K / 1.5K / 2K
Seedream 5.0 ProHandles complex layouts, multilingual text and transparent layer decomposition. Suits infographics, localized campaigns and extracting assets from approved designs.1K / 1.5K / 2K
Seedream 5.0 LiteImproved instruction understanding, visual reasoning and reference-style transfer, with output up to 4K. Suits educational diagrams, presentation visuals, multi-subject compositions and large illustrations.2K / 3K / 4K
Seedream 4.5Focuses on preserving faces, lighting and color from references, with improved small text and poster layouts. Suits product scene changes, portrait revisions, brand posters and 4K campaign assets.2K / 4K
Seedream 4.0You’re hereCombines text-to-image creation with natural-language editing, broad style coverage and output up to 4K. Suits everyday visuals, illustration styles, background swaps and character concepts.1K / 2K / 4K
/ FAQ

Seedream 4.0 API · FAQ

Find answers about pricing, generation results, and API access.

Should I replace an existing 4.0 workflow with 4.5 or 5.x?

A newer version alone is not a reason to switch. APIstable supports 4.0 text-to-image and reference editing from 1K to 4K, so you can keep a working prompt workflow. Compare 5.5, Lite or 4.5 when you need transparency, format controls or a different visual result.

Which resolutions and aspect ratios does Seedream 4.0 support?

Choose 1K / 2K / 4K with a fixed ratio (1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 2:1, 1:2, 9:21). Auto matches a reference image and requires one. The default ratio is 1:1. Enter widthxheight under Exact dimensions to override both presets. Enable fallback to use exact dimensions.

What is the 4.0 prompt limit, and how can I shorten a complex brief?

Prompts must contain 5–1000 characters on APIstable. Prioritize the subject, action, composition and required edits before style. Remove repetition and conflicting directions. If a reference already conveys an appearance clearly, use the remaining space to explain what should change.

Which reference files can I use, and how many?

APIstable accepts up to 10 references. The generation provider determines which files it accepts. Upload local files in the workbench or supply publicly readable HTTPS URLs through the API. Login-protected, expired or unsupported files may be rejected. References are optional for text-to-image.

Can I use the same character in different 4.0 scenes?

Reuse a clear character reference with stable appearance, clothing and style descriptions, changing the scene or action one step at a time. Inspect faces, hands and recurring props. APIstable does not automatically store character identity across requests or guarantee a perfectly consistent set.

Does the model remember the previous image when I continue editing?

No. Include the image to edit in each request and specify the change and what to preserve. You can reuse the previous output, but save originals and reintroduce them if revisions drift. Successive editing does not guarantee that every untouched region remains identical.

Can 4.0 make interfaces, diagrams or posters with lettering?

It can create visual drafts, but an interface image is not runnable code and a diagram is not automatically factually correct. Supply exact wording and relationships, avoid dense tiny text, and proofread or replace important buttons, numbers and labels in a design editor.

Can I set the image format or transparent background for 4.0?

APIstable does not expose output_format or background for 4.0; use the format of the returned result. Choose a model such as Lite for JPEG/PNG selection, or 5.5 for explicit transparency. Seedream versions do not all accept the same parameters.

How do I generate a related image set?

The default is one image. Add at least one reference and turn on Generate a related image set in Advanced settings. Describe the number you want in your prompt and set the maximum. The model can return fewer. The default limit is 15 minus your reference count.

Do 1K, 2K and 4K cost the same for 4.0?

The per-image rate is the same at all three resolutions and includes references. For an image set, the workbench reserves credits up to the limit and charges for the images returned. The fallback rate applies only when the final tier succeeds.

What should I check if a photographic result turns illustrative or blurry?

Look for conflicting illustration or soft-focus instructions and inspect reference quality. Compare identical inputs, aspect ratios and resolutions using the original downloaded files. If the issue persists, retain task IDs for support. Another platform’s style presets do not establish what settings were used here.

How do I call Seedream 4.0, and how long are results retained?

Use an APIstable key with POST /api/v1/tasks/create_task, set model to seedream-4-0 and place parameters in input. Save task_id and query GET /api/v1/tasks/{task_id}. Successful image URLs are in result.urls. Generated results are retained for 14 days; download files you need to keep.

Why is my task still processing, and will closing the page cancel it?

Generation is asynchronous and timing depends on settings, load and provider state. Closing the page does not cancel a task; resume querying instead of submitting again. At 00:00 Beijing time each day, unfinished items submitted more than 24 hours earlier are failed and their reserved credits released.

How are failed, partially successful or fallback requests billed?

Credits are reserved at submission, then settled only for successful items; failed items release their reservation. Enabling fallback does not automatically apply its price: that tier must succeed. For partial success, check each item and its charge. Successful images stay charged when other items fail.

Why can an ordinary prompt be blocked, and can I turn screening off in the Playground?

Both prompts and references can affect screening, and false positives are possible. The Playground enables NSFW screening by default. API clients can control APIstable’s pre-check with nsfw_check, but provider screening still applies. Keep the error details for support if you suspect a mistake rather than repeatedly submitting paid requests.

CREATE IMAGES

Try Seedream 4.0 now

Write a prompt or add references to generate an image.