Skip to content
Docs menu

Image models

Seedream 4.5

On this page

Seedream 4.5 — fast, high-fidelity AI image generation & editing.

modelIdseedream-4-5-edit
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationEndpointDescription
Text to imagePOST /api/v1/generateBase generation from a text prompt.
Image to imagePOST /api/v1/generateCondition on a reference image — upload it via /api/v1/files/upload and pass the URL.
Poll taskGET /api/v1/task/{id}?model=seedream-4-5-editRetrieve state and result URLs.

Input parameters

FieldTypeRequiredValues / example
prompttextarearequiredEnter your text here...
image_urlsimagerequiredDrag and drop or click to upload your image
aspect_ratioselectrequired1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9
qualityselectrequiredbasic, high
nsfw_checkerselectoptionalfalse, true

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"seedream-4-5-edit","input":{"prompt":"Relight this interior into a cozy loft at golden hour, warm sun raking across exposed brick, dust motes drifting in the air and a soft amber glow pooling on the wooden floor.","aspect_ratio":"1:1","quality":"basic","nsfw_checker":"true"}}'