Seedream 3.0
Model Overview
This bilingual (Chinese-English) image generation model supports arbitrary image dimensions — as long as the product of width and height remains within a generous limit (up to 2K). It offers faster response times, improved rendering of small text and layouts, stronger visual aesthetics and structural consistency, and high fidelity in fine details.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
The text prompt describing the content, style, or composition of the image to be generated.
The format in which the generated images are returned.
url
Possible values: The total image area (height x width) must be between 262,144 and 4,194,304 pixels.
1024x1024
The same seed and the same prompt given to the same version of the model will output the same image every time.
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
Add an invisible watermark to the generated images.
false
POST /v1/images/generations HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"prompt": "text",
"model": "bytedance/seedream-3.0",
"response_format": "url",
"size": "1024x1024",
"seed": 1,
"guidance_scale": 1,
"watermark": false
}
Successfully generated image
No content
Quick Example
Let's generate an image of the specified size using a simple prompt.
import requests
def main():
response = requests.post(
"https://api.aimlapi.com/v1/images/generations",
headers={
# Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>:
"Authorization": "Bearer <YOUR_AIMLAPI_KEY>",
"Content-Type": "application/json",
},
json={
"prompt": "A T-Rex relaxing on a beach, lying on a sun lounger and wearing sunglasses.",
"model": "bytedance/seedream-3.0",
"size": "1888x301",
"watermark": False
}
)
# response.raise_for_status()
data = response.json()
print("Generation:", data)
if __name__ == "__main__":
main()
We obtained the following 1888x301 image by running this code example:

'A T-Rex relaxing on a beach, lying on a sun lounger and wearing sunglasses.'
Here’s an example of a 555×543 image generated using the same prompt:

'A T-Rex relaxing on a beach, lying on a sun lounger
and wearing sunglasses.'
Last updated
Was this helpful?