img_uuid, then poll or use an HTTPS callback for the 2K result.Seedream 4.0 API for Image Generation

Choose the Seedream 4.0 Input Mode
Text-to-Image from a Focused Prompt
prompt from 1 to 2,000 characters. Omit image_list for pure text-to-image generation.
Reference-Guided Image Generation
image_list when your workflow needs image-to-image guidance.
One Asynchronous REST Workflow

Seedream 4.0 API Capabilities and Limits
Prompt validation
prompt is required and accepts 1–2,000 characters.Seven documented aspect ratios
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
image_list, each containing a public image URL, or omit the field for text-to-image.2K output
Bearer authentication
Authorization header and keep it out of client-side code and logs.Polling or callback completion
img_uuid, then poll job detail or receive task-state updates at a public HTTPS callback URL.Seedream API Pricing
$0.02 per generated image
Simple request-level budgeting
Check current billing before production runs
Integrate the Seedream 4.0 API
1. Create and protect an API key
2. Build and validate the request
image_list only when you have 1–14 accessible reference URLs.3. Submit and persist img_uuid
https://api.goenhance.ai/api/v1/seedream-4-0. Save the returned img_uuid with your internal job record.4. Poll or receive callbacks
GET https://api.goenhance.ai/api/v1/jobs/detail?img_uuid=..., or provide custom_callback_url for HTTPS state notifications.5. Handle terminal results idempotently
code/msg. Correct invalid requests before resubmitting, and prevent duplicate downstream processing.What Developers Build with Seedream 4.0
Product creative pipelines
Reference-guided brand exploration
Localized campaign variants
Concept art and previsualization
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.
