Image Generation Model
Seedream 4 Image Generation
In the current project's public model list, `doubao-seedream-4-0-250828` / `seedream-4-0-250828` is visible; calls the unified image API and returns results synchronously.
- Route:
POST /v1/images/generations - Returns
ImageResponsesynchronously on success
Recommended Request Example
curl --request POST \
--url https://api.magickapi.com/v1/images/generations \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "seedream-4-0-250828",
"prompt": "A cute panda playing in a bamboo forest",
"n": 1,
"response_format": "url"
}'Successful Response Example
{
"created": 1712345678,
"data": [
{
"url": "https://example.com/seedream-image.png",
"b64_json": "",
"revised_prompt": ""
}
]
}Fields Guaranteed by the Current Project's Public API
modelpromptnsizequalityresponse_format
Compatibility Notes
- If you need image editing, please use
/v1/images/editsor/v1/edits
Last updated on
BFL FLUX Official Models
Routes, parameters, and examples for calling BFL official FLUX image generation, image editing, Fill, and Erase models through Magick API.
Seedream 4.5
Describes the integration status of Seedream 4.5 in the current project, and the public design of the unified image interface.