# BytePlus

<figure><img src="/files/Udes6vcHRtEpMgnzFK5f" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fiXM5PM2xoNXXnus2nIz" alt=""><figcaption></figcaption></figure>

## Description

**What it does**: The BytePlus component integrates a powerful suite of AI models from ByteDance, capable of handling various tasks ranging from advanced text generation to high-quality image and video synthesis. It provides users with access to Large Language Models (LLMs) for complex reasoning, as well as specialized generative models for visual media.

The BytePlus component allows you to seamlessly switch between different model types (Text, Image, Video) within your workflow. You can customize parameters such as resolution, aspect ratio, and duration depending on the selected model.

The BytePlus component has the identifier of byteplus-X, where X represents the instance number of the component.

## Inputs

The BytePlus component has the following input connections:

| Input Name                     | Description                                                                                     | Constraints                                                                                    |
| ------------------------------ | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| **From Data Source / Trigger** | This input connection represents the context information or file inputs (images) for the model. | It can originate from a Trigger (e.g., uploaded files), Data Loader, or previous node outputs. |
| **From Input**                 | This input connection represents the user query or prompt                                       | It typically originates from a Text Input component or a string output from another node.      |

## Component settings

| Parameter Name                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Model                                                           | <p></p><p>This parameter specifies the specific BytePlus model version that the component should use.<br><br>The available options cover text, image, and video generation.<br><br>List: </p><ul><li><strong>DeepSeek V3.2:</strong> A high-performance Large Language Model (LLM) for text generation and reasoning.</li><li><strong>Seed 1.6:</strong> A versatile generative model.</li><li><strong>Seedream 4.5</strong>: Specialized for high-quality Image Generation.</li><li><strong>Seedance 1.0 Pro / 1.5 Pro</strong>: Specialized for Video Generation.</li></ul> |
| Prompt                                                          | <p>Describes how you want the model to respond or what content you want to generate. <br><br>You can use the "Use AI" feature to help refine your prompt.</p>                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Image source (Applicable for Image/Video models)                | <p>Select a source image to perform Image-to-Image or Image-to-Video generation. <br><br>Supports formats like .jpg and .png.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Resolution / Size *(Applicable for Seedance & Seedream models)* | <p>Defines the quality or pixel dimensions of the output.<br><br></p><ul><li>Video (Seedance): e.g., 720p.</li><li>Image (Seedream): e.g., 4k.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Aspect ratio                                                    | <p>Defines the dimensions of the generated visual content.<br><br><strong>Apply for Video (Seedance)</strong></p><ul><li>16:9</li><li>4:3</li><li>1:1</li><li>3:4</li><li>9:16</li><li>21:9<br></li></ul><p><strong>Apply for Image (Seedream)</strong></p><ul><li>1:1</li><li>2:3</li><li>3:2</li><li>3:4</li><li>4:3</li><li>4:5</li><li>5:4</li><li>9:16</li><li>16:9</li><li>21:9</li></ul>                                                                                                                                                                               |
| Duration (Applicable for Seedance video models)                 | <p>Specifies the length of the generated video<br><br>List</p><ul><li>5s (Default)</li><li>12s<br></li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Number of images *(Applicable for Seedream image models)*       | <p>Specifies how many variations of the image to generate in a single run<br><br></p><p>Available values:</p><ul><li>1 (Default)</li><li>2</li><li>3</li><li>4</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p></p><p>Switches / Toggles</p>                                | <p></p><p><strong>Audio</strong>: Enable audio generation for video.</p><p><br><strong>Enhancement</strong>: Enable AI enhancement for better visual clarity.</p><p><br><strong>Compression</strong>: Optimize the output file size.</p><p><br><strong>Watermark</strong>: Toggle watermarking on the output.</p>                                                                                                                                                                                                                                                             |

## Outputs

The BytePlus component has the following output connections:

This output connection contains the result of the BytePlus component.

* **For DeepSeek**: Returns a text string.
* **For Seedream**: Returns an Image URL.
* **For Seedance**: Returns a Video URL.

## Use case

**Input:**

* Model = BytePlus - Seedream 4.5
* Prompt = "A cute 3D render of a robot holding a flower, pastel colors, white background"
* Aspect ratio = 1:1
* Size = 4k
* Number of images = 1
* Watermark = On

<figure><img src="/files/OaofZxAwKjRcCHpOgAiI" alt=""><figcaption></figcaption></figure>

**Output:**

Once the node executes successfully, it will return an Image URL (or a list of URLs if multiple images were requested). You can map this output to subsequent nodes<br>

<figure><img src="/files/5kVAtjJ0sk3kUdKESmKa" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.diaflow.io/workflow-builder/nodes/private-ai-llm-models/byteplus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
