Dola Seedream 5.5
curl --request POST \
--url https://api.mixroute.ai/v1/images/generationsimport requests
url = "https://api.mixroute.ai/v1/images/generations"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.mixroute.ai/v1/images/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mixroute.ai/v1/images/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mixroute.ai/v1/images/generations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mixroute.ai/v1/images/generations")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mixroute.ai/v1/images/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyImage Series
Dola Seedream 5.5
Generate a single image from text or one PNG reference with Dola Seedream 5.5.
Dola Seedream 5.5
curl --request POST \
--url https://api.mixroute.ai/v1/images/generationsimport requests
url = "https://api.mixroute.ai/v1/images/generations"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.mixroute.ai/v1/images/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mixroute.ai/v1/images/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mixroute.ai/v1/images/generations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mixroute.ai/v1/images/generations")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mixroute.ai/v1/images/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyUse
For explicit dimensions, use a lowercase
The formula adds $0.008 per input image. One input and one
POST /v1/images/generations with model: "dola-seedream-5.5" for single-image generation. Send the fields at the top level of the JSON body, without a metadata wrapper.
Send a text prompt with or without a single PNG reference. Multiple references, transparent output, layer decomposition, batch output, and streaming are not covered for this model ID.
Request Parameters
| Field | Type | Description |
|---|---|---|
model | string | Required. Use exactly dola-seedream-5.5. |
prompt | string | Required. A nonempty text description of the image to generate. |
size | string | Use explicit dimensions such as 1024x1024 or 2048x2048. The upstream presets are 1K, 1.5K, and 2K; those labels are not billing tiers. |
response_format | string | Set to url to request a download link. |
watermark | boolean | Set to false to disable the generated-image watermark. |
image | string | Optional. Pass one PNG reference as a Base64 data URI in the form data:image/png;base64,.... Keep prompt in the request to describe the output. |
x. The upstream range is 921,600 to 4,624,220 total pixels, with a width-to-height ratio from 1:16 to 16:1. Requests above the pixel limit are rejected; for example, 2288x2288 returns HTTP 400.
Quick Example
SetMIXROUTE_API_KEY to your MixRoute API key.
curl --request POST 'https://api.mixroute.ai/v1/images/generations' \
--header "Authorization: Bearer $MIXROUTE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "dola-seedream-5.5",
"prompt": "A simple red ceramic mug on a plain white tabletop, front view.",
"size": "2048x2048",
"response_format": "url",
"watermark": false
}'
Response Fields
| Field | Description |
|---|---|
data[].url | Download link for the output image in URL mode. |
data[].size | Returned dimensions as widthxheight. |
usage.input_images, usage.generated_images | Input and generated image counts, not monetary charges. A successful request returns one image. The input count is zero for text-to-image or one with a reference image. |
Published Pricing
The public pricing catalog lists base USD rates. The output tier is based on width × height in pixels, not the request’ssize label. For example, 1024x1024 is in the 1K tier and 2048x2048 is in the 2K tier.
| Item | Pixel Band | Base USD per Image |
|---|---|---|
| Input image | Per image in the pricing formula | $0.008 |
1K | 921,600–2,610,000 pixels | $0.020 |
2K | 2,610,001–4,624,220 pixels | $0.035 |
1024x1024 output have an estimated base price of 0.008 + 0.020 = 0.028 USD.
At the cutoff, a 1568x1664 output (2,609,152 pixels) costs $0.020, and a `1584x1648` output (2,610,432 pixels) costs $0.035, before applying your group multiplier.
This model does not support 4K output. Check Usage Logs for the matched tier, group multiplier, and actual charge.
Model introduction