Skip to main content

Seedream 4.0 API - high-fidelity text-to-image generation and image edit API!

Powered by ByteDance, Seedream 4.0 API is the next-generation unified image generation and editing API. Generate photorealistic visuals up to 4K with PiAPI today!

Get Started!

Seedream 4.0 API Pricing

Pay-as-you-go Option

Face references must be uploaded to the Asset Library and verified before use in -less-restriction modes. View Asset Library docs →

Seedream 4.0 API Features

Seedream 4.0 API delivers exceptional quality with accurate rendering and high-precision edits via PiAPI.

Visual Reasoning

Seedream API uses multistep thinking to produce outputs aligned with physical laws.

Real-time Search

ByteDance Seedream API accesses current news and topics to respond to time-sensitive generation needs.

World Knowledge

Seedream 4.0 AI API is equipped with rich world knowledge across technology and humanities domains.

Image editing

Seedream 4.0 API supports image editing tasks with reasoning based on instructions.

Precise Control

Seedream AI API adheres closely to prompts with precise control.

Multimodal Support

Seedream 4.0 supports multimodal input for image generation tasks and flexible workflows.

Enhanced Capabilities

Seedream 4.0 improves over previous models with stronger benchmark performance.

Integrate in Minutes

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "seedream",
    "task_type": "seedream-4.0",
    "input": {
      "prompt": "",
      "size": "2K",
      "aspect": "1:1",
      "image_urls": ""
    }
  }'

# → { "task_id": "9d5a…", "status": "pending" }

Want to know more about Seedream 4.0 API?

What is Seedream 4.0 API?

Released by ByteDance, Seedream 4.0 is a unified image generation model that supports high-quality output and image editing. You can integrate it via PiAPI and build powerful visual generation features with ease.

Can I use multiple input images in one API request?

Yes, we support up to 10 reference images in one API request.

What output formats are available?

Seedream 4.0 supports high-fidelity image generation and editing outputs for production workflows.

Are there refunds?

No, we do not offer refunds. But when you first sign up for an account on PiAPI's Workspace, you will be given free credits to try our API before making payments!

How can I get in touch with your team?

Please email us at support@piapi.ai - we'd love to talk more regarding our product offering!

Is there free access?

Yes! When you sign up on PiAPI, you will receive free credits to try most of our APIs without needing a credit card.

More questions? See the API docs.

Our blog

Seedream 4.0 API