Seedream 4.0
ImageNot available
Bytedance Seedream 4.0 Edit. Image editing and transformation with up to 10 reference images.
- Type
- Image Edit
- Billed
- per img
- Provider
- Bytedance
Pricing
/ imgResolution: 1K$4.00 / img
Resolution: 2K$5.50 / img
Resolution: 4K$7.50 / img
Supported parameters
modelSettings- Promptprompt
- Image Inputimage_urls
- Sizeimage_size
- Resolutionimage_resolution
- Max Imagesmax_images
- Seedseed
- Nsfw Checkernsfw_checker
Code examples
POST /v1/generationsGenerations are async — the request returns immediately with an id; poll for the result.
python
import requests
response = requests.post(
"https://api.modelstack.cc/v1/generations",
headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
json={
"type": "IMAGE_TO_IMAGE_EDIT",
"prompt": "A serene mountain landscape at sunset",
"model": "bytedance/seedream-v4"
},
)
generation_id = response.json()["data"]["id"]
# Poll for the result
result = requests.get(
f"https://api.modelstack.cc/v1/generations/{generation_id}",
headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
).json()
print(result["data"]["status"])Related models
Other generation types for this model
More from Bytedance
Frequently asked questions
How is Seedream 4.0 billed on ModelStack?expand_more
Seedream 4.0 (Image Edit) is billed at a flat, prepaid rate of $4.00 / img — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Seedream 4.0 support?expand_more
Besides Image Edit, Seedream 4.0 also supports: Text to Image.
Which parameters does Seedream 4.0 support?expand_more
Seedream 4.0 supports: Prompt, Image Input, Size, Resolution, Max Images, Seed, Nsfw Checker.
How can I generate with Seedream 4.0?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `bytedance/seedream-v4` and type `IMAGE_TO_IMAGE_EDIT` — see the code example above.