curl --request POST \
--url https://api.omniall.ai/v1/images/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "doubao-seedream-5.5",
"prompt": "An orange cat watching rain from a windowsill, warm indoor light, photorealistic",
"n": 1,
"size": "16:9",
"resolution": "2K",
"response_format": "url"
}
'{
"created": 1710000000,
"data": [
{
"url": "https://example.com/image.png"
}
]
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}Jimeng / Seedream
Generations
Seedream 5.5 text-to-image / image-to-image (OpenAI Images generations).
Path: POST https://api.omniall.ai/v1/images/generations
Model must be doubao-seedream-5.5. Pass reference images with image / images / image_urls / reference_images.
Auth: Authorization: Bearer sk-...
POST
/
v1
/
images
/
generations
curl --request POST \
--url https://api.omniall.ai/v1/images/generations \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "doubao-seedream-5.5",
"prompt": "An orange cat watching rain from a windowsill, warm indoor light, photorealistic",
"n": 1,
"size": "16:9",
"resolution": "2K",
"response_format": "url"
}
'{
"created": 1710000000,
"data": [
{
"url": "https://example.com/image.png"
}
]
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}Body
application/json
Seedream 5.5 generation body (POST /v1/images/generations).