> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Seedream 5.0 Pro t2i

> Generate high-precision images from text with ByteDance Seedream 5.0 Pro.

Seedream 5.0 Pro t2i is ByteDance's high-precision text-to-image workflow, available through the AnyFast API.

Use model ID `doubao-seedream-5-0-pro-260628`.

<Info>
  For specific content requests, select the **Special-Ns** resource group.
</Info>

## Key capabilities

* **Text-to-image** — Generate one image from a text prompt.
* **Native multilingual text** — Generate text in languages such as Russian, Arabic, Filipino, Thai, Turkish, Korean, Malay, Spanish, Portuguese, Indonesian, French, German, Vietnamese, and Japanese.
* **Output control** — Use `size`, `response_format`, `output_format`, and `watermark` to control the generated image.

<Warning>
  Seedream 5.0 Pro does not support grouped image generation, web search, or streaming output. Do not rely on `sequential_image_generation`, `sequential_image_generation_options`, `tools`, or `stream` with this model.
</Warning>

## Quick examples

<CodeGroup>
  ```bash cURL theme={null}
  curl https://www.anyfast.ai/v1/images/generations \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "doubao-seedream-5-0-pro-260628",
      "prompt": "A high-end product hero image for a smart speaker, precise lighting, clean editorial layout, multilingual label text in Japanese and English",
      "size": "2K",
      "output_format": "png",
      "watermark": false
    }'
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://www.anyfast.ai/v1/images/generations",
      headers={
          "Authorization": "Bearer YOUR_API_KEY",
          "Content-Type": "application/json",
      },
      json={
          "model": "doubao-seedream-5-0-pro-260628",
          "prompt": "A high-end product hero image for a smart speaker, precise lighting, clean editorial layout, multilingual label text in Japanese and English",
          "size": "2K",
          "output_format": "png",
          "watermark": False,
      },
  )

  print(response.json())
  ```
</CodeGroup>

## Parameters

| Parameter                 | Type    | Required | Description                                                                                                                                  |
| ------------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`                   | string  | Yes      | Must be `doubao-seedream-5-0-pro-260628`                                                                                                     |
| `prompt`                  | string  | Yes      | Text prompt for image generation or editing. Official guidance recommends keeping prompts concise enough that details do not get diluted.    |
| `size`                    | string  | No       | Output size. Use `1K`, `2K`, or a pixel size such as `2048x1024`. Pixel sizes must satisfy the official total-pixel and aspect-ratio limits. |
| `response_format`         | string  | No       | `url` or `b64_json`. Defaults to `url`. URLs are temporary and should be saved promptly.                                                     |
| `output_format`           | string  | No       | `png` or `jpeg`. Defaults to `jpeg`.                                                                                                         |
| `watermark`               | boolean | No       | Whether to add the AI-generated watermark. Official default is `true`; set `false` to disable it.                                            |
| `optimize_prompt_options` | object  | No       | Prompt optimization options. Use `mode: "standard"`. Official documentation says fast mode is not supported for Seedream 5.0 Pro.            |

## Size notes

Seedream 5.0 Pro supports two size styles:

* Resolution tiers: `1K` and `2K`. Describe the aspect ratio in the prompt when using a tier.
* Explicit pixels: `widthxheight`, such as `2048x1024`. The official total pixel range is from `1280x720` to `2048x2048x1.1025`, and the aspect ratio range is `[1/16, 16]`.

<Card title="API Reference" icon="code" href="/api-reference/model-api/bytedance/doubao-seedream-5-0-pro-260628-t2i">
  View the interactive API playground for Seedream 5.0 Pro t2i.
</Card>

<script src="/feedback.js" />
