Seedream 4.0
Seedream 4.0 is a multimodal image generation model from ByteDance. It natively accepts text, single-image, and multi-image inputs, returns either a single image or a consistent set, and renders up to 4K resolution at $0.03 per image.
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'bytedance/seedream-4.0', prompt: 'A red balloon on a wooden table.'});Frequently Asked Questions
What input types does Seedream 4.0 support?
Text prompts, a single reference image, or multiple reference images in the same request. You can combine modalities to guide composition and subject consistency in one call.
Can Seedream 4.0 return more than one image per request?
Yes. Seedream 4.0 can output a single image or a set of related images that maintain subject consistency, which suits catalog generation and frame-series workflows.
What output resolution does Seedream 4.0 support?
Up to 4K. That removes a separate upscaling step for print layouts, hero imagery, and editorial use.
How fast is Seedream 4.0 per image?
ByteDance reports generation around 1.8 seconds per image in published examples. See live metrics on this page for current throughput across providers.
How do I call Seedream 4.0 through AI Gateway?
Set the model to
bytedance/seedream-4.0and call it through the AI SDK'sgenerateImagefunction. AI Gateway routes the request through bytedance using your API key or OIDC token.What does Seedream 4.0 cost per image?
Seedream 4.0 is listed at $0.03 per image. See N/A for the full pricing breakdown.
Does Vercel AI Gateway support Zero Data Retention for Seedream 4.0?
Zero Data Retention is not currently available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.