Skip to content

Seedream 5.0 Lite Edit

Changes or combines images by instruction.

Model ID seedream-5.0-lite-edit
Task edit-image
Output image
Family Seedream
Status Active

Prices are live, so this page does not show them. GET /v1/models/seedream-5.0-lite-edit returns the published price (price), and POST /v1/quotes returns the binding maximum for one request, with the processor that will run it. You are never charged more than the quoted maximum, and failed work is free. See Pricing and quotes.

Send these in input. Omitted parameters take their default; unknown parameters are refused with 422 parameter_unknown. The same schema is input_schema in GET /v1/models/seedream-5.0-lite-edit.

Name Type Default Allowed Required Description
prompt string 1 to 4000 characters Yes Describe the image to make from the references. Refer to them as Image 1, Image 2 and so on.
aspect_ratio string match match, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21, 4:5, 5:4 No Frame shape of the image. “Match” lets the model follow the first reference.
size string 2K 2K, 3K, 4K No Output size. Every size costs the same.
count integer 1 1 to 14 No The most images to make. Above 1 the model makes a related set (a storyboard, variations) and decides how many the prompt needs, up to this. Only the images made are charged. References and images together are at most 15.

Each media input takes an asset ID (asset_…), a generation ID (gen_…, its first output), a public HTTPS URL or a small data: URI. URLs and data URIs are imported into the project first; see Uploading media.

Name Accepts How many Required Notes
references image 1 to 14 Yes

Price the request first. A quote is free and starts nothing:

Quote
curl https://api.halationlab.ai/v1/quotes \
-H "Authorization: Bearer $HALATIONLAB_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d @- <<'JSON'
{
"model": "seedream-5.0-lite-edit",
"input": {
"prompt": "Make the background a sunny beach",
"aspect_ratio": "match",
"references": [
"https://docs.halationlab.ai/media/sample-image.png"
]
}
}
JSON

Then start it, paying at most MAX_COST tokens. If the price is higher, nothing starts and the 402 max_cost_exceeded answer carries the quote:

Generate
MAX_COST=${MAX_COST:?Set MAX_COST to the most you will pay, in tokens}
curl https://api.halationlab.ai/v1/generations \
-H "Authorization: Bearer $HALATIONLAB_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Prefer: wait=60" \
-H "Content-Type: application/json" \
-d @- <<JSON
{
"model": "seedream-5.0-lite-edit",
"input": {
"prompt": "Make the background a sunny beach",
"aspect_ratio": "match",
"references": [
"https://docs.halationlab.ai/media/sample-image.png"
]
},
"max_cost": $MAX_COST
}
JSON

The media URLs point at small sample files on this site. Replace them with your own asset IDs, generation IDs or URLs.