From d2e3191433aa7bd7304cc400331a126776047560 Mon Sep 17 00:00:00 2001 From: StanAIML Date: Wed, 8 Jul 2026 22:44:25 +0500 Subject: [PATCH] docs: add bytedance/dola-seedream-5-0-pro --- docs/SUMMARY.md | 1 + .../image-models/ByteDance/README.md | 2 + .../ByteDance/dola-seedream-5-0-pro.json | 194 ++++++++++++++++++ .../ByteDance/dola-seedream-5-0-pro.md | 126 ++++++++++++ docs/api-references/model-database.md | 2 +- 5 files changed, 324 insertions(+), 1 deletion(-) create mode 100644 docs/api-references/image-models/ByteDance/README.md create mode 100644 docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.json create mode 100644 docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.md diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 5cd2adec6..69b305fe2 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -347,6 +347,7 @@ * [Seedream 4.5](api-references/image-models/bytedance/seedream-4-5.md) * [Dreamina Creative Upscale](api-references/image-models/bytedance/dreamina-creative-upscale.md) * [Seedream 5.0 Lite Preview](api-references/image-models/bytedance/seedream-5.0-lite-preview.md) + * [Seedream 5.0 Pro](api-references/image-models/ByteDance/dola-seedream-5-0-pro.md) * [Flux](api-references/image-models/flux/README.md) * [Flux Pro](api-references/image-models/flux/flux-pro.md) * [Flux Pro v1.1](api-references/image-models/flux/flux-pro-v1.1.md) diff --git a/docs/api-references/image-models/ByteDance/README.md b/docs/api-references/image-models/ByteDance/README.md new file mode 100644 index 000000000..c6443c0f2 --- /dev/null +++ b/docs/api-references/image-models/ByteDance/README.md @@ -0,0 +1,2 @@ +# ByteDance + diff --git a/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.json b/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.json new file mode 100644 index 000000000..da07b5889 --- /dev/null +++ b/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.json @@ -0,0 +1,194 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "AIML API", + "version": "1.0.0" + }, + "servers": [ + { + "url": "https://api.aimlapi.com" + } + ], + "paths": { + "/v1/images/generations": { + "post": { + "operationId": "_v1_images_generations", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "model": { + "type": "string", + "enum": [ + "bytedance/dola-seedream-5-0-pro" + ] + }, + "prompt": { + "type": "string", + "description": "The text prompt describing the content, style, or composition of the image to be generated." + }, + "image_urls": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "minItems": 1, + "maxItems": 14, + "description": "List of URLs or local Base64 encoded images to edit." + }, + "image_size": { + "anyOf": [ + { + "type": "object", + "properties": { + "width": { + "type": "integer", + "minimum": 1024, + "maximum": 2752 + }, + "height": { + "type": "integer", + "minimum": 1024, + "maximum": 2752 + } + }, + "required": [ + "width", + "height" + ] + }, + { + "type": "string", + "enum": [ + "1.5K", + "2K" + ] + } + ], + "default": "1.5K", + "description": "The size of the generated image." + }, + "response_format": { + "type": "string", + "enum": [ + "url", + "b64_json" + ], + "default": "url", + "description": "The format in which the generated images are returned." + }, + "seed": { + "type": "integer", + "description": "The same seed and the same prompt given to the same version of the model will output the same image every time." + }, + "watermark": { + "type": "boolean", + "default": false, + "description": "Add an invisible watermark to the generated images." + } + }, + "required": [ + "model", + "prompt" + ], + "title": "bytedance/dola-seedream-5-0-pro" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "url": { + "type": "string", + "nullable": true, + "description": "The URL where the file can be downloaded from.", + "example": "https://cdn.aimlapi.com/generations/hedgehog/1749730923700-29fe35d2-4aef-4bc5-a911-6c39884d16a8.png" + }, + "b64_json": { + "type": "string", + "nullable": true, + "description": "The base64-encoded JSON of the generated image.", + "example": null + } + } + }, + "description": "The list of generated images." + }, + "meta": { + "type": "object", + "nullable": true, + "properties": { + "usage": { + "type": "object", + "nullable": true, + "properties": { + "credits_used": { + "type": "number", + "description": "The number of tokens consumed during generation.", + "example": 120000 + }, + "usd_spent": { + "type": "number", + "description": "The total amount of money spent by the user in USD.", + "example": 0.06 + } + }, + "required": [ + "credits_used", + "usd_spent" + ] + } + }, + "description": "Additional details about the generation." + } + } + } + } + }, + "description": "Successful response." + } + }, + "x-hideTryItPanel": true, + "x-codeSamples": [ + { + "lang": "cURL", + "source": "curl --request POST \\\n --url 'https://api.aimlapi.com/v1/images/generations' \\\n --header 'Authorization: Bearer ' \\\n --header 'Content-Type: application/json' \\\n --data '{\"model\": \"bytedance/dola-seedream-5-0-pro\", \"prompt\": \"Describe what you want the model to generate.\"}'" + }, + { + "lang": "JavaScript", + "source": "const response = await fetch('https://api.aimlapi.com/v1/images/generations', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer ',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n \"model\": \"bytedance/dola-seedream-5-0-pro\",\n \"prompt\": \"Describe what you want the model to generate.\"\n}),\n});\n\nconsole.log(await response.json());" + }, + { + "lang": "Python", + "source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/images/generations\",\n headers={\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\",\n },\n json={'model': 'bytedance/dola-seedream-5-0-pro', 'prompt': 'Describe what you want the model to generate.'},\n)\n\nprint(response.json())" + } + ] + } + } + }, + "components": { + "securitySchemes": { + "access-token": { + "scheme": "bearer", + "bearerFormat": "", + "type": "http", + "description": "Bearer key" + } + } + } +} diff --git a/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.md b/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.md new file mode 100644 index 000000000..8c1ec34d9 --- /dev/null +++ b/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.md @@ -0,0 +1,126 @@ +# Seedream 5.0 Pro + +{% columns %} +{% column width="66.66666666666666%" %} +{% hint style="info" %} +This documentation is valid for the following list of our models: + +* `bytedance/dola-seedream-5-0-pro` +{% endhint %} +{% endcolumn %} + +{% column width="33.33333333333334%" %} +Try in Playground +{% endcolumn %} +{% endcolumns %} + +## Model Overview + +Seedream 5.0 Pro is ByteDance flagship text-to-image model with high-resolution output up to 2048x2048 (up to ~2.7K at 16:9) and multi-image reference support. + +{% hint style="success" %} +[Create AI/ML API Key](https://aimlapi.com/app/keys) +{% endhint %} + +
+ +How to make the first API call + +**1️⃣ Required setup (don’t skip this)**\ +▪ **Create an account:** Sign up on the AI/ML API website (if you don’t have one yet).\ +▪ **Generate an API key:** In your account dashboard, create an API key and make sure it’s **enabled** in the UI. + +**2️ Copy the code example**\ +At the bottom of this page, pick the snippet for your preferred programming language (Python / Node.js) and copy it into your project. + +**3️ Update the snippet for your use case**\ +▪ **Insert your API key:** replace `` with your real AI/ML API key.\ +▪ **Select a model:** set the `model` field to the model you want to call.\ +▪ **Provide input:** fill in the request input field(s) shown in the example. + +**4️ (Optional) Tune the request**\ +See the API schema below for optional generation settings. + +**5️ Run your code**\ +Run the updated code in your development environment. + +{% hint style="success" %} +For a detailed walkthrough, use our [Quickstart guide](https://docs.aimlapi.com/quickstart/setting-up). +{% endhint %} + +
+ +## API Schema + +{% openapi-operation spec="dola-seedream-5-0-pro" path="/v1/images/generations" method="post" %} +[OpenAPI dola-seedream-5-0-pro](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/image-models/ByteDance/dola-seedream-5-0-pro.json) +{% endopenapi-operation %} + +## Code Example + +{% tabs %} +{% tab title="Python" %} +{% code overflow="wrap" %} +```python +import requests + +response = requests.post( + "https://api.aimlapi.com/v1/images/generations", + headers={ + "Authorization": "Bearer ", + "Content-Type": "application/json", + }, + json={'model': 'bytedance/dola-seedream-5-0-pro', 'prompt': 'Describe what you want the model to generate.'}, +) + +print(response.json()) +``` +{% endcode %} +{% endtab %} + +{% tab title="JavaScript" %} +{% code overflow="wrap" %} +```javascript +const response = await fetch('https://api.aimlapi.com/v1/images/generations', { + method: 'POST', + headers: { + 'Authorization': 'Bearer ', + 'Content-Type': 'application/json', + }, + body: JSON.stringify({ + "model": "bytedance/dola-seedream-5-0-pro", + "prompt": "Describe what you want the model to generate." +}), +}); + +console.log(await response.json()); +``` +{% endcode %} +{% endtab %} +{% endtabs %} + +
+ +Response + +{% code overflow="wrap" %} +```json +{ + "data": [ + { + "url": "https://cdn.aimlapi.com/generations/hedgehog/1749730923700-29fe35d2-4aef-4bc5-a911-6c39884d16a8.png", + "b64_json": null + } + ], + "meta": { + "usage": { + "credits_used": 120000, + "usd_spent": 0.06 + } + }, + "model": "bytedance/dola-seedream-5-0-pro" +} +``` +{% endcode %} + +
diff --git a/docs/api-references/model-database.md b/docs/api-references/model-database.md index 02da1fbb1..1ca733cf3 100644 --- a/docs/api-references/model-database.md +++ b/docs/api-references/model-database.md @@ -50,7 +50,7 @@ Can't find the model you need? Join our [Discord community](https://discord.gg/8 ## Image Models -
Model ID + API Reference linkDeveloperContextModel Card
alibaba/qwen-imageAlibaba CloudQwen Image
alibaba/qwen-image-editAlibaba CloudQwen Image Edit
alibaba/z-image-turboAlibaba CloudZ-Image Turbo
alibaba/z-image-turbo-loraAlibaba CloudZ-Image Turbo LoRA
alibaba/wan2.2-t2i-plusAlibaba CloudWan 2.2 Plus
alibaba/wan2.2-t2i-flashAlibaba CloudWan 2.2 Flash
alibaba/wan2.5-t2i-previewAlibaba CloudWan 2.5 Preview
alibaba/wan-2-6-imageAlibaba CloudWan 2.6
alibaba/wan-2-7-imageAlibaba CloudWan 2.7 Image
alibaba/wan-2-7-image-proAlibaba CloudWan 2.7 Image Pro
alibaba/qwen-image-2-0Alibaba CloudQwen Image 2.0
alibaba/qwen-image-2-0-proAlibaba CloudQwen Image 2.0 Pro
bytedance/dreamina-creative-upscaleByteDanceDreamina Creative Upscale
bytedance/seedream-v4-text-to-imageByteDanceSeedream 4 Text-to-Image
bytedance/seedream-v4-editByteDanceSeedream 4 Edit
bytedance/usoByteDanceUSO
bytedance/seedream-4-5ByteDanceSeedream 4.5
bytedance/seedream-5-0-lite-previewByteDanceSeadream 5.0 Lite
flux-proFluxFLUX.1 [pro]
flux-pro/v1.1FluxFLUX 1.1 [pro]
flux-pro/v1.1-ultraFluxFLUX 1.1 [pro ultra]
flux-realismFluxFLUX Realism LoRA
flux/devFluxFLUX.1 [dev]
flux/dev/image-to-imageFlux-
flux/schnellFluxFLUX.1 [schnell]
flux/kontext-max/text-to-imageFluxFLUX.1 Kontext [max]
flux/kontext-max/image-to-imageFluxFLUX.1 Kontext [max]
flux/kontext-pro/text-to-imageFluxFlux.1 Kontext [pro]
flux/kontext-pro/image-to-imageFluxFlux.1 Kontext [pro]
beeble/switchx-image-to-imageBeeble-
flux/srpoFluxFLUX.1 SRPO Text-to-Image
flux/srpo/image-to-imageFluxFLUX.1 SRPO Image-to-Image
blackforestlabs/flux-2FluxFLUX.2
blackforestlabs/flux-2-editFluxFLUX.2 Edit
blackforestlabs/flux-2-loraFluxFlux 2 LoRA
blackforestlabs/flux-2-lora-editFluxFlux 2 LoRA Edit
blackforestlabs/flux-2-proFluxFLUX.2 [pro]
blackforestlabs/flux-2-pro-editFluxFLUX.2 [pro] Edit
imagen-3.0-generate-002GoogleImagen 3
google/imagen4/previewGoogleImagen 4 Preview
google/imagen-4.0-generate-001GoogleImagen 4.0 Generate
google/imagen-4.0-fast-generate-001GoogleImagen 4.0 Fast Generate
google/imagen-4.0-ultra-generate-001GoogleImagen 4.0 Ultra Generate
google/gemini-2.5-flash-imageGoogleGemini 2.5 Flash Image
google/gemini-2.5-flash-image-editGoogleGemini 2.5 Flash Image Edit
google/nano-banana-pro
google/gemini-3-pro-image-preview
GoogleGemini 3 Pro Image (Nano Banana Pro)
google/nano-banana-pro-edit
google/gemini-3-pro-image-preview-edit
GoogleGemini 3 Pro Image Edit (Nano Banana Pro)
google/nano-banana-2
google/gemini-3-1-flash-image-preview
GoogleGemini 3.1 Flash Image (Nano Banana 2)
google/gemini-3-1-flash-lite-imageGoogle-
klingai/image-o1Kling AIKling Image O1
luma/uni-1Luma AI-
luma/uni-1-maxLuma AI-
microsoft/mai-image-2.5MicrosoftMAI-Image 2.5
openai/gpt-image-1OpenAIgpt-image-1
openai/gpt-image-1-miniOpenAIGPT Image 1 Mini
openai/gpt-image-1-5OpenAIGPT Image 1.5
openai/gpt-image-2OpenAIGPT Image 2
recraft-v3Recraft AIRecraft v3
reve/create-imageReveReve Create Image
reve/edit-imageReveReve Edit Image
reve/remix-edit-imageReveReve Remix Image
stable-diffusion-v3-mediumStability AIStable Diffusion 3
stable-diffusion-v35-largeStability AIStable Diffusion 3.5 Large
hunyuan/hunyuan-image-v3-text-to-imageTencentHunyuanImage 3.0
topaz-labs/sharpenTopaz LabsSharpen
topaz-labs/sharpen-genTopaz LabsSharpen Generative
x-ai/grok-imagine-imagexAIGrok Imagine
x-ai/grok-imagine-image-proxAIGrok Imagine Image Pro
+
Model ID + API Reference linkDeveloperContextModel Card
alibaba/qwen-imageAlibaba CloudQwen Image
alibaba/qwen-image-editAlibaba CloudQwen Image Edit
alibaba/z-image-turboAlibaba CloudZ-Image Turbo
alibaba/z-image-turbo-loraAlibaba CloudZ-Image Turbo LoRA
alibaba/wan2.2-t2i-plusAlibaba CloudWan 2.2 Plus
alibaba/wan2.2-t2i-flashAlibaba CloudWan 2.2 Flash
alibaba/wan2.5-t2i-previewAlibaba CloudWan 2.5 Preview
alibaba/wan-2-6-imageAlibaba CloudWan 2.6
alibaba/wan-2-7-imageAlibaba CloudWan 2.7 Image
alibaba/wan-2-7-image-proAlibaba CloudWan 2.7 Image Pro
alibaba/qwen-image-2-0Alibaba CloudQwen Image 2.0
alibaba/qwen-image-2-0-proAlibaba CloudQwen Image 2.0 Pro
bytedance/dreamina-creative-upscaleByteDanceDreamina Creative Upscale
bytedance/seedream-v4-text-to-imageByteDanceSeedream 4 Text-to-Image
bytedance/seedream-v4-editByteDanceSeedream 4 Edit
bytedance/usoByteDanceUSO
bytedance/seedream-4-5ByteDanceSeedream 4.5
bytedance/seedream-5-0-lite-previewByteDanceSeadream 5.0 Lite
bytedance/dola-seedream-5-0-proByteDance-
flux-proFluxFLUX.1 [pro]
flux-pro/v1.1FluxFLUX 1.1 [pro]
flux-pro/v1.1-ultraFluxFLUX 1.1 [pro ultra]
flux-realismFluxFLUX Realism LoRA
flux/devFluxFLUX.1 [dev]
flux/dev/image-to-imageFlux-
flux/schnellFluxFLUX.1 [schnell]
flux/kontext-max/text-to-imageFluxFLUX.1 Kontext [max]
flux/kontext-max/image-to-imageFluxFLUX.1 Kontext [max]
flux/kontext-pro/text-to-imageFluxFlux.1 Kontext [pro]
flux/kontext-pro/image-to-imageFluxFlux.1 Kontext [pro]
beeble/switchx-image-to-imageBeeble-
flux/srpoFluxFLUX.1 SRPO Text-to-Image
flux/srpo/image-to-imageFluxFLUX.1 SRPO Image-to-Image
blackforestlabs/flux-2FluxFLUX.2
blackforestlabs/flux-2-editFluxFLUX.2 Edit
blackforestlabs/flux-2-loraFluxFlux 2 LoRA
blackforestlabs/flux-2-lora-editFluxFlux 2 LoRA Edit
blackforestlabs/flux-2-proFluxFLUX.2 [pro]
blackforestlabs/flux-2-pro-editFluxFLUX.2 [pro] Edit
imagen-3.0-generate-002GoogleImagen 3
google/imagen4/previewGoogleImagen 4 Preview
google/imagen-4.0-generate-001GoogleImagen 4.0 Generate
google/imagen-4.0-fast-generate-001GoogleImagen 4.0 Fast Generate
google/imagen-4.0-ultra-generate-001GoogleImagen 4.0 Ultra Generate
google/gemini-2.5-flash-imageGoogleGemini 2.5 Flash Image
google/gemini-2.5-flash-image-editGoogleGemini 2.5 Flash Image Edit
google/nano-banana-pro
google/gemini-3-pro-image-preview
GoogleGemini 3 Pro Image (Nano Banana Pro)
google/nano-banana-pro-edit
google/gemini-3-pro-image-preview-edit
GoogleGemini 3 Pro Image Edit (Nano Banana Pro)
google/nano-banana-2
google/gemini-3-1-flash-image-preview
GoogleGemini 3.1 Flash Image (Nano Banana 2)
google/gemini-3-1-flash-lite-imageGoogle-
klingai/image-o1Kling AIKling Image O1
luma/uni-1Luma AI-
luma/uni-1-maxLuma AI-
microsoft/mai-image-2.5MicrosoftMAI-Image 2.5
openai/gpt-image-1OpenAIgpt-image-1
openai/gpt-image-1-miniOpenAIGPT Image 1 Mini
openai/gpt-image-1-5OpenAIGPT Image 1.5
openai/gpt-image-2OpenAIGPT Image 2
recraft-v3Recraft AIRecraft v3
reve/create-imageReveReve Create Image
reve/edit-imageReveReve Edit Image
reve/remix-edit-imageReveReve Remix Image
stable-diffusion-v3-mediumStability AIStable Diffusion 3
stable-diffusion-v35-largeStability AIStable Diffusion 3.5 Large
hunyuan/hunyuan-image-v3-text-to-imageTencentHunyuanImage 3.0
topaz-labs/sharpenTopaz LabsSharpen
topaz-labs/sharpen-genTopaz LabsSharpen Generative
x-ai/grok-imagine-imagexAIGrok Imagine
x-ai/grok-imagine-image-proxAIGrok Imagine Image Pro
### Video Models