AI Models
Seedream 5.0 Pro
ByteDance's Seedream 5.0 Pro. AI image generation and precise editing for commercial production.
Pricing, live playground and model overview: Seedream 5.0 Pro API on YepAPI
POST
from $0.09/image/v1/media/queueOverview
Image generation and precise editing via ByteDance's Seedream 5.0 Pro, the top tier of the Seedream 5.0 family, for commercial visual production. Async operation — submit a job, poll for completion.
| Property | Value |
|---|---|
| Model ID | bytedance-seed/seedream-5-0-pro |
| Alias | seedream-5, seedream-5-pro |
| Provider | ByteDance |
| Category | Image Generation |
| Aspect Ratios | 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9 |
| Resolutions | 1K, 2K (default), 3K, 4K |
| Output Formats | jpeg (default), png |
| Reference Images | Supported |
| Billing | Per image, by output size |
| Typical Cost | from $0.09 per image (1K); $0.18 at 2K and above |
Usage
All media models use the async job queue. Submit a job, then poll for the result.
Step 1: Submit Job
Text-to-Image
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'bytedance-seed/seedream-5-0-pro',
prompt: 'A linen armchair in a sunlit Scandinavian living room, natural daylight',
}),
});
const { data } = await res.json();
// data.jobId — use this to poll for resultscurl -X POST https://api.yepapi.com/v1/media/queue \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "bytedance-seed/seedream-5-0-pro", "prompt": "A linen armchair in a sunlit Scandinavian living room, natural daylight"}'Image-to-Image (Edit / Transform)
Pass a reference image via imageData alongside your prompt to edit or transform an existing image.
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'bytedance-seed/seedream-5-0-pro',
prompt: 'Make the sky purple and add northern lights',
imageData: {
mimeType: 'image/png',
base64: '...', // Base64-encoded image
},
}),
});Step 2: Poll for Result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.image — { mimeType, base64 } when completedcurl https://api.yepapi.com/v1/media/status/JOB_ID \
-H "x-api-key: YOUR_API_KEY"Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
model | string | Yes | bytedance-seed/seedream-5-0-pro or aliases seedream-5, seedream-5-pro | — |
prompt | string | Yes | Text description of the image to generate or edit | — |
options.aspectRatio | string | No | One of: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9 | 1:1 |
options.resolution | string | No | 1K, 2K, 3K or 4K | 2K |
options.outputFormat | string | No | jpeg or png | jpeg |
imageData.mimeType | string | No | MIME type of input image (image/png, image/jpeg, image/webp) | — |
imageData.base64 | string | No | Base64-encoded input image for image-to-image editing | — |
Features
- Precise editing control via
imageData - Lifelike scenes and natural rendering
- Suited to commercial visual-production workflows
- JPEG output by default
Pricing
Billed per image by output size.
| Resolution | Cost |
|---|---|
| 1K (up to 2.61 MP) | $0.09 per image |
| 2K (default) and above | $0.18 per image |
Info
Image jobs typically complete in 5–60 seconds. Results retained for 1 hour.
Under the Hood
Powered by ByteDance's Seedream 5.0 Pro via our AI provider.