Seedream 4.5

bytedance/seedream-4.5/image_to_image_edit

ByteDanceImageby Bytedance

Bytedance Seedream 4.5 Edit. Latest generation image editing with up to 14 reference images.

Type
Image Edit
Billed
per img
Provider
Bytedance

Pricing

/ img
Quality: Basic$0.10 / img
Quality: High$0.10 / img

Supported parameters

modelSettings
  • Promptprompt
  • Image Inputimage_urls
  • Aspect Ratioaspect_ratio
  • Qualityquality
  • Nsfw Checkernsfw_checker

Code examples

POST /v1/generations

Generations 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-4.5",
        "modelSettings": {
            "aspect_ratio": "16:9"
        }
    },
)
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"])

Frequently asked questions

How is Seedream 4.5 billed on ModelStack?expand_more
Seedream 4.5 (Image Edit) is billed at a flat, prepaid rate of $0.10 / img — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Seedream 4.5 support?expand_more
Besides Image Edit, Seedream 4.5 also supports: Text to Image.
Which parameters does Seedream 4.5 support?expand_more
Seedream 4.5 supports: Prompt, Image Input, Aspect Ratio, Quality, Nsfw Checker.
How can I generate with Seedream 4.5?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `bytedance/seedream-4.5` and type `IMAGE_TO_IMAGE_EDIT` — see the code example above.

Related models