# BytePlus Cloud

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

### Description <a href="#description" id="description"></a>

The BytePlus Cloud component allows you to integrate your personal BytePlus account directly into your Diaflow workflows. By using your own API credentials ("Bring Your Own Key"), you gain full control over usage limits, billing, and access to specific models available in your BytePlus subscription.

This component is designed to be flexible, allowing you to switch between various models (such as DeepSeek for text or Seedance/Seedream for media) depending on your needs. You can customize the parameters, provide context from previous nodes, and specify the input query to drive the AI's response.

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

### Inputs <a href="#inputs" id="inputs"></a>

The BytePlus Cloud component has the following input connections:

| Input Name                 | Description                                                                            | Constraints                                                                                             |
| -------------------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| From Data Source / Trigger | This input connection represents the context information or file inputs for the model. | Must originate from a Data Loader, Data Source, VectorDB, or Trigger component.                         |
| From Input                 | This input connection represents the user query or prompt for the model.               | Must originate from a component that generates a text string or file output (e.g., Text Input, Python). |

### Component settings <a href="#component-settings" id="component-settings"></a>

| Parameter Name | Description                                                                                                                                                                                                                                                                                                                                                 |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Credentials\*  | You must select or add your own BytePlus API credentials here. This allows Diaflow to authenticate requests using your personal account.                                                                                                                                                                                                                    |
| Model\*        | <p>This parameter specifies the version of the BytePlus model that the component should use.</p><p><br><br></p><p>The list of available models depends on the permissions associated with the connected Credential.</p>                                                                                                                                     |
| Prompt\*       | <p>Describes how you want the model to respond or what content you want to generate.</p><p><br><br></p><p>You can manually type a prompt or use the "Use AI" feature to refine your instructions. You can also reference outputs from previous nodes (e.g., <code>{{trigger.file}}</code> or <code>{{user.message}}</code>) to make the prompt dynamic.</p> |
| Formatted      | *(Visible at the bottom)* This option likely controls the structure of the output, ensuring the response is returned in a specific format (e.g., JSON, Markdown) if supported by the selected model.                                                                                                                                                        |

### Outputs <a href="#outputs" id="outputs"></a>

The BytePlus Cloud component has the following output connections:

| Output Name | Description                                                                                                           | Constraints                                                                                         |
| ----------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| To Output   | This output connection contains the result of the BytePlus component (e.g., generated text, image URL, or video URL). | Can be connected to any component that accepts the corresponding input type (String, Image, Video). |


---

# 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/public-ai-llm-models/byteplus-cloud.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.
