Seedream 5 Flash
Seedream 5 Flash generates and edits images in 1K or 2K with up to 10 references; a distinct Flash offering from Seedream 5 Lite.
Cost
2 tokens
Try Seedream 5 Flash in Givon AI
Open a working project for regular creation, or use Playground to inspect the model parameters.
Use through API
Request fields, constraints, and ready-to-use examples for developers. The user workflow starts above.
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"image","model":"seedream-5-flash","input":{"prompt":"studio portrait of a red corgi, soft light","aspectRatio":"1:1","imageSize":"2k","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'Input fields
* required| Field | Type | Default | Allowed |
|---|---|---|---|
prompt* promptImage description. | string | — | up to 10000 chars |
aspectRatio aspectRatio | string | 1:1 | auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9 |
imageSize imageSize | string | 2k | 1k, 2k |
Source image sourceImageAsset used as the source image for image editing. | string | — | image · asset, https, data |
Reference images referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs. Up to 10 input images in total; with sourceImage, up to 9 additional references. | array | — | image · up to 10 · asset, https, data |
promptImage description.
- Type
- string
- Default
- —
- Allowed
- up to 10000 chars
aspectRatio- Type
- string
- Default
- 1:1
- Allowed
- auto, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9
imageSize- Type
- string
- Default
- 2k
- Allowed
- 1k, 2k
sourceImageAsset used as the source image for image editing.
- Type
- string
- Default
- —
- Allowed
- image · asset, https, data
referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs. Up to 10 input images in total; with sourceImage, up to 9 additional references.
- Type
- array
- Default
- —
- Allowed
- image · up to 10 · asset, https, data
Cost
2 tokensThe variant is selected automatically from request fields, so you do not need to send it.
Capabilities
text_to_imageimage_editsourceImage:imagereferenceAssetUris:image[]<=10