Seedream 4.0 Image to Image overview
Seedream 4.0 Image to Image specs
- Model ID
bytedance/seedream-v4-edit- Developer
- ByteDance
- Input
- Image, Text
- Output
- Image
- Endpoint
POST https://api.aimlapi.com/v1/images/generations
What is Seedream 4.0 Image to Image API?
Edit images using ByteDance's SeedDream 4 model.
Seedream 4.0 Image to Image API Pricing
- Pricing on request
Where to Use Seedream 4.0 Image to Image
Use cases
Replacing backgrounds, object addition or removal, and other realistic image edits are documented uses for Seedream V4 Edit.
The model is also documented for product photography work, including colorway changes, material or texture swaps, and packaging updates.
It is documented as useful for fashion and beauty workflows such as outfit swaps, accessory changes, and makeup or hair edits while keeping the subject consistent.
It is also documented for interior and archviz-style edits, including replacing wall, floor, upholstery, or other finish materials while preserving lighting and composition.
Seedream 4.0 Image to Image API pricing
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.03 | per generation |
The final price depends on request parameters such as resolution or duration.
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Seedream 4.0 Image to Image vs other image models: prices
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.03 | |
| $0.031 | |
| $0.035 | |
| $0.04 | |
| $0.045 |
How to use the Seedream 4.0 Image to Image API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "bytedance/seedream-v4-edit",
"image_urls": [
"https://example.com/input.jpg"
],
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "bytedance/seedream-v4-edit",
"image_urls": [
"https://example.com/input.jpg"
],
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "bytedance/seedream-v4-edit",
"image_urls": [
"https://example.com/input.jpg"
],
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
Seedream 4.0 Image to Image FAQ
What inputs and outputs does Seedream 4.0 Image to Image support?
Seedream 4.0 Image to Image takes image, text as input and returns image.
How much does Seedream 4.0 Image to Image cost?
Seedream 4.0 Image to Image costs $0.03 per generation on AI/ML API, billed as you go with no subscription.
How is Seedream 4.0 Image to Image billed?
Seedream 4.0 Image to Image is billed per generation, a fixed charge per output rather than by prompt length.
Can Seedream 4.0 Image to Image take an existing image as input?
Yes, Seedream 4.0 Image to Image accepts image input as well as a text prompt.
Who created Seedream 4.0 Image to Image?
Seedream 4.0 Image to Image was built by ByteDance.
How do I call Seedream 4.0 Image to Image on AI/ML API?
Send a request to https://api.aimlapi.com/v1/images/generations with bytedance/seedream-v4-edit as the model id.
Is Seedream 4.0 Image to Image available through a single API key?
Yes. Seedream 4.0 Image to Image is served through AI/ML API, so the same key and endpoint format used for other models applies.
What kind of model is Seedream 4.0 Image to Image?
It is an image generation model from ByteDance that edits existing images based on text prompts.
What is the Seedream 4.0 Image to Image model ID?
Use bytedance/seedream-v4-edit as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.



.webp)