# AnyWidget Module

`AnyWidgetModule` allows you to utilize any widget in our workshop.

It differs from other modules. Apart from `widget_id` and `output_name`, all other fields are specific to the individual widget in use. Consequently, it is not feasible to list field descriptions in advance. However, we can offer examples using common widgets and instructions on how to determine widget configurations.

Please note that the outcomes generated by the `AnyWidgetModule` are contingent on the specific widget and its underlying AI models. Therefore, we are unable to assure that the widget configuration will consistently yield the anticipated results with your setup.

We advise fine-tuning the parameters on the widget webpage and subsequently incorporating them into your Pro Config settings for optimal results.

<figure><img src="https://2975681513-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDtmZwLatyyBFLUK6P6Pj%2Fuploads%2FgNq0wqzGy6TeKbXeKAaq%2Fmelo_tts.png?alt=media&#x26;token=2eeb0d59-7124-4f9a-b72f-4f20aaf0f5ab" alt=""><figcaption><p>Melo TTS</p></figcaption></figure>

`AnyWidgetConfig`

| Field's Name | JSON Type (Required/Optional) | Description                                                                                                                 | Example               |
| ------------ | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| widget\_id   | string (Required)             | Creators can select their desired widget in the Workshop, and copy the widget id.                                           | '1743340032770445312' |
| output\_name | string (Required)             | Specifies the name of the output in AnyWidgetConfig.                                                                        | 'result'              |
| cache        | boolean (Optional)            | <p>Flag to enable cache mode. When set to true, the state will run only once and store the result.<br>Default to false.</p> |                       |
