rry-potter-chamber-of-secrets-concert-civic-center-music-hall-okc/73342973007/",
"title": "'Harry Potter Film Concert Series' to open 'Chamber of Secrets' in OKC: What to know"
},
{
"content": null,
"date": "04/20/2024, 11:35 PM, +0000 UTC",
"link": "https://screenrant.com/harry-potter-movies-deleted-scene-sassy-hbo-remake-struggle/",
"title": "A Deleted Harry Potter Movie Scene Proves Another Way HBO's TV Remake Will Struggle To Match The Books"
},
{
"content": null,
"date": "04/19/2024, 11:13 PM, +0000 UTC",
"link": "https://www.courttv.com/title/chad-daybell-texts-compares-his-life-to-harry-potter-under-the-stairs/",
"title": "Chad Daybell Texts: Compares His Life to Harry Potter Under the Stairs"
}
]
}
```
{% endcode %}
{% endtab %}
{% endtabs %}
# Google Scholar Search
Google Scholar Search. Given a search query, return the searched google scholar information
## Try it in the Widget Center
Click this [url](https://app.myshell.ai/robot-workshop/widget/1781994348505960448) to try this widget and copy the Pro Config template.
## Usage
This widget will use google scholar search and the related results (article title, authors, etc) are returned.
**Input Parameters**
<table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>query</td><td><code>string</code></td><td>The search query string that specifies what the search should be about.</td><td></td><td>true</td></tr><tr><td>num_results</td><td><code>integer</code></td><td>The number of search results to return.</td><td>10</td><td>false</td></tr></tbody></table>
**Output Parameters**
| Name | Type | Description | File Type |
| --------------- | ------- | --------------------------------------------------------------------------------------- | --------- |
| search\_results | `array` | The result of google search, containing the links, titles, and other useful information | |
**Output Example**
{% tabs %}
{% tab title="success" %}
{% code fullWidth="false" %}
```json
{
"search_results": [
{
"authors": [
{
"author_id": "DhtAFkwAAAAJ",
"link": "https://scholar.google.com/citations?user=DhtAFkwAAAAJ\u0026hl=en\u0026oi=sra",
"name": "K He",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=DhtAFkwAAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "yuB-cfoAAAAJ",
"link": "https://scholar.google.com/citations?user=yuB-cfoAAAAJ\u0026hl=en\u0026oi=sra",
"name": "X Zhang",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=yuB-cfoAAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "AUhj438AAAAJ",
"link": "https://scholar.google.com/citations?user=AUhj438AAAAJ\u0026hl=en\u0026oi=sra",
"name": "S Ren",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=AUhj438AAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "ALVSZAYAAAAJ",
"link": "https://scholar.google.com/citations?user=ALVSZAYAAAAJ\u0026hl=en\u0026oi=sra",
"name": "J Sun",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=ALVSZAYAAAAJ\u0026engine=google_scholar_author\u0026hl=en"
}
],
"link": "http://openaccess.thecvf.com/content_cvpr_2016/html/He_Deep_Residual_Learning_CVPR_2016_paper.html",
"title": "Deep residual learning for image recognition"
},
{
"authors": [
{
"author_id": "6k6KEr4AAAAJ",
"link": "https://scholar.google.com/citations?user=6k6KEr4AAAAJ\u0026hl=en\u0026oi=sra",
"name": "H Alaeddine",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=6k6KEr4AAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "258LS50AAAAJ",
"link": "https://scholar.google.com/citations?user=258LS50AAAAJ\u0026hl=en\u0026oi=sra",
"name": "M Jihene",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=258LS50AAAAJ\u0026engine=google_scholar_author\u0026hl=en"
}
],
"link": "https://www.hindawi.com/journals/cin/2021/6659083/",
"title": "Deep residual network in network"
},
{
"authors": [
{
"author_id": "DhtAFkwAAAAJ",
"link": "https://scholar.google.com/citations?user=DhtAFkwAAAAJ\u0026hl=en\u0026oi=sra",
"name": "K He",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=DhtAFkwAAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "yuB-cfoAAAAJ",
"link": "https://scholar.google.com/citations?user=yuB-cfoAAAAJ\u0026hl=en\u0026oi=sra",
"name": "X Zhang",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=yuB-cfoAAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "AUhj438AAAAJ",
"link": "https://scholar.google.com/citations?user=AUhj438AAAAJ\u0026hl=en\u0026oi=sra",
"name": "S Ren",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=AUhj438AAAAJ\u0026engine=google_scholar_author\u0026hl=en"
},
{
"author_id": "ALVSZAYAAAAJ",
"link": "https://scholar.google.com/citations?user=ALVSZAYAAAAJ\u0026hl=en\u0026oi=sra",
"name": "J Sun",
"serpapi_scholar_link": "https://serpapi.com/search.json?author_id=ALVSZAYAAAAJ\u0026engine=google_scholar_author\u0026hl=en"
}
],
"link": "https://link.springer.com/chapter/10.1007/978-3-319-46493-0_38",
"title": "Identity mappings in deep residual networks"
}
]
}
```
{% endcode %}
{% endtab %}
{% endtabs %}
# Google Search
Google Search. Given a search query, return the searched results including title, link, and content of each item.
## Try it in the Widget Center
Click this [url](https://app.myshell.ai/robot-workshop/widget/1781993973191249920) to try this widget and copy the Pro Config template.
## Usage
By default, this widget will use a crawler to get the content inside each searched link. However, if the `follow_links` is unset, it will return the links of the searched items only.
**Input Parameters**
<table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>query</td><td><code>string</code></td><td>The search query string that specifies what the search should be about.</td><td></td><td>true</td></tr><tr><td>num_results</td><td><code>integer</code></td><td>The number of search results to return.</td><td>10</td><td>false</td></tr><tr><td>length_per_result</td><td><code>integer</code></td><td>the maximum token of each search result text.</td><td>300</td><td>false</td></tr><tr><td>follow_links</td><td><code>boolean</code></td><td>A flag indicating whether to follow links within the search results for more detailed information.</td><td>True</td><td>false</td></tr></tbody></table>
**Output Parameters**
| Name | Type | Description | File Type |
| --------------- | ------- | --------------------------------------------------------------------------------------- | --------- |
| search\_results | `array` | The result of google search, containing the links, titles, and other useful information | |
**Output Example**
{% tabs %}
{% tab title="success" %}
{% code fullWidth="false" %}
```json
{
"search_results": [
{
"content": "# Genshin Impact – Step Into a Vast Magical World of Adventure\n## Link\nhttps://genshin.hoyoverse.com/\n## Content\nGenshin Impact – Step Into a Vast Magical World of Adventure...",
"link": "https://genshin.hoyoverse.com/",
"title": "Genshin Impact – Step Into a Vast Magical World of Adventure"
},
{
"content": "# Genshin Impact\n## Link\nhttps://www.youtube.com/c/GenshinImpact\n## Content\nAboutPressCopyrightContact usCreatorsAdvertiseDevelopersTermsPrivacyPolicy \u0026 SafetyHow YouTube worksTest new featuresNFL Sunday Ticket© 2024 Google LLCGenshin Impact - YouTube...",
"link": "https://www.youtube.com/c/GenshinImpact",
"title": "Genshin Impact"
},
{
"content": "# Genshin Impact\n## Link\nhttps://en.wikipedia.org/wiki/Genshin_Impact\n## Content\nGenshin Impact - Wikipedia Jump to content From Wikipedia, the free encyclopedia 2020 action role-playing game 2020 video gameGenshin ImpactDeveloper(s)miHoYoPublisher(s)WW: HoYoverseCHN: miHoYoProducer(s)Cai Haoyu[1]Composer(s)Yu-Peng ChenDimeng YuanQian DingYijun JiangXin ZhaoArcangelo ChenPeijia YouEngineUnityPlatform(s)AndroidiOSPlayStation 4WindowsPlayStation 5ReleaseAndroid, iOS, PlayStation 4, WindowsSeptember 28, 2020PlayStation 5April 28, 2021Genre(s)Action role-playingMode(s)Single-player, multiplayer Genshin Impact [a] is an action role-playing game developed by miHoYo, published by miHoYo in mainland China and worldwide by Cognosphere, d/b/a HoYoverse. It was released for Android, iOS, PlayStation 4, and Windows in 2020, and on PlayStation 5 in 2021. The game features an anime-style open-world environment and an action-based battle system using elemental magic and character-switching. A free-to-play game monetized through gacha game mechanics, Genshin Impact is expanded regularly through patches using the games as a service model. Genshin Impact takes place in the fantasy world of Teyvat, home to seven nations, each of which is tied to a different element...",
"link": "https://en.wikipedia.org/wiki/Genshin_Impact",
"title": "Genshin Impact"
},
{
"content": "# Genshin Impact Wiki | Fandom\n## Link\nhttps://genshin-impact.fandom.com/wiki/Genshin_Impact\n## Content\nGenshin Impact | Genshin Impact Wiki | Fandom Genshin Impact Wiki Don't have an account? Register Sign In Advertisement Sign In Register in: Terminology, HoYoverse, Genshin Impact English Deutsch Español Français Bahasa Indonesia Italiano 日本語 한국어 Polski Português do Brasil Русский ไทย Türkçe Українська Tiếng Việt 中文 Genshin Impact View source View history Talk (0) OverviewBackground Further information: Genshin Impact on Wikipedia Genshin Impact (Chinese: 原神 Yuánshén) is a free-to-play action role-playing game developed and published by miHoYo Co., Ltd. Outside of China, the publisher is miHoYo's subsidiary Cognosphere Pte., Ltd. d/b/a HoYoverse. The game features a fantasy open-world environment and action based combat system using elemental magic, character switching, and a gacha monetization system for players to obtain new characters, weapons, and other resources. The game can only be played with an internet connection and features a limited multiplayer mode allowing up to four players in a world. Contents 1 Gameplay 2 Story 2.1 Setting 2.2 Plot 2.3 Characters 3 Development and Release 4 System Requirements 5 Videos 5.1 Trailers 5.2 Promotional ...",
"link": "https://genshin-impact.fandom.com/wiki/Genshin_Impact",
"title": "Genshin Impact Wiki | Fandom"
},
{
"content": null,
"link": "https://store.epicgames.com/en-US/p/genshin-impact",
"title": "Genshin Impact | Download and Play for Free"
},
{
"content": "# Genshin Impact - V4.5 on the App Store\n## Link\nhttps://apps.apple.com/us/app/genshin-impact-v4-5/id1517783697\n## Content\nâGenshin Impact - V4.5 on the App Store Screenshots Description Step into Teyvat, a vast world teeming with life and flowing with elemental energy.You and your sibling arrived here from another world. Separated by an unknown god, stripped of your powers, and cast into a deep slumber, you now awake to a world very different from when you first arrived.Thus begins your journey across Teyvat to seek answers from The Seven â the gods of each element. Along the way, prepare to explore every inch of this wondrous world, join forces with a diverse range of characters, and unravel the countless mysteries that Teyvat holds...MASSIVE OPEN WORLDClimb any mountain, swim across any river, and glide over the world below, taking in the jaw-dropping scenery each step of the way. And if you stop to investigate a wandering Seelie or strange mechanism, who knows what you might discover?ELEMENTAL COMBAT SYSTEMHarness the seven elements to unleash elemental reactions. Anemo, Electro, Hydro, Pyro, Cryo, Dendro, and Geo interact in all sorts of ways, and Vision wielders have the power to turn this to their advantage.Will you vaporize Hydro with Pyro, electro-charge it with Electro, or freeze it with Cryo? Your mastery of the elements will give you the upper hand in battle and exploration.BEAUTIFUL VISUALS...",
"link": "https://apps.apple.com/us/app/genshin-impact-v4-5/id1517783697",
"title": "Genshin Impact - V4.5 on the App Store"
}
]
}
```
{% endcode %}
{% endtab %}
{% endtabs %}
# GroundedSAM
GroundedSAM takes an input image and prompt to generate a language-guided mask.
## Try it in the Widget Center
Click this [url](https://app.myshell.ai/robot-workshop/widget/1781992144279887872) to try this widget and copy the Pro Config template.
## Usage
\<TODO: enter description here, and remove useless inputs>
**Input Parameters**
<table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>image</td><td><code>string</code></td><td>HTTP url. Input image for Grounded SAM. We will create a mask for the image based on your text prompt.</td><td></td><td>true</td></tr><tr><td>mask_prompt</td><td><code>string</code></td><td>The text prompt for masking</td><td></td><td>true</td></tr><tr><td>negative_mask_prompt</td><td><code>string</code></td><td>The negative text prompt for masking (exclude something here)</td><td></td><td>false</td></tr><tr><td>adjustment_factor</td><td><code>integer</code></td><td>Mask Adjustment Factor</td><td>0</td><td>false</td></tr></tbody></table>
**Output Parameters**
| Name | Type | Description | File Type |
| ---------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| url\_image | `string` | Annotated image with mask bbox and text. The image that was generated has been saved as an online URL. This link is temporary, so please save it for your own use | `image` |
| url\_mask | `string` | The binary mask. The video that was generated has been saved as an online URL. This link is temporary, so please save it for your own use | `image` |
**Output Example**
{% tabs %}
{% tab title="success" %}
{% code fullWidth="false" %}
```json
{ // input image = https://image.myshell.ai/image/chat/embed_obj/40295/20240423/1bfc157b73284d028e9217ce380c8363.png, mask_prompt = person, negative_mask_prompt = pants, adjustment_factor = 0
"url_image": "https://image.myshell.ai/image/chat/embed_obj/40295/20240423/25431166f5d74e058832b0811c04806c.jpg",
"url_mask": "https://image.myshell.ai/image/chat/embed_obj/40295/20240423/4dfc2764d4914460a2ffd8506b328b7d.jpg"
}
```
{% endcode %}
{% endtab %}
{% tab title="fail" %}
{% code fullWidth="false" %}
```json
{
"results": "<the example results of this widget>"
}
```
{% endcode %}
{% endtab %}
{% endtabs %}
# Image Text Fuser
Image Text Fuser
## Try it in the Widget Center
Click this [url](https://app.myshell.ai/robot-workshop/widget/1812381775823757312) to try this widget and copy the Pro Config template.
## Usage
The widget configuration is specified in JSON format within the `config` field:
```json
{
"template_path": "https://image.myshell.ai/image/chat/embed_obj/7758545/202407151553/shell-identity-03.jpg",
"font": "Oswald-Regular.ttf",
"boxes": [
{
"text": "some text here",
"position": [760, 140],
"size": [390, 230],
"font_size": 56,
"font": "Caveat-Regular.ttf"
},
{
"text": "somte other text here",
"position": [815, 470],
"size": [415, 200],
"font_size": 72,
"font": "KronaOne-Regular.ttf"
}
]
}
```
**Parameters**
1. **template\_path**: URL of the base image template.
2. **font**: Default font for text (e.g., "Oswald-Regular.ttf").
3. **emoji\_source**: Source for emoji images. This attribute determines the source of emoji images used in the generated content. Each source provides a different style or set of emoji images. Can be one of the following (default to TwitterEmojiSource):
```json
HTTPBasedSource, DiscordEmojiSourceMixin, EmojiCDNSource,
TwitterEmojiSource, AppleEmojiSource, GoogleEmojiSource,
MicrosoftEmojiSource, FacebookEmojiSource, MessengerEmojiSource,
EmojidexEmojiSource, JoyPixelsEmojiSource, SamsungEmojiSource,
WhatsAppEmojiSource, MozillaEmojiSource, OpenmojiEmojiSource,
TwemojiEmojiSource, FacebookMessengerEmojiSource, Twemoji, Openmoji
```
3. **boxes**: An array of text and image box configurations.
**Text Box Configuration**
Each text box in the `boxes` array can have the following properties:
* **text**: Content to be displayed.
* **position**: `[x, y]` coordinates for the top-left corner of the text box.
* **size**: `[width, height]` of the text box.
* **font\_size**: Size of the font in pixels.
* **font**: Specific font for this text box (overrides the default font).
* **outline\_color**: Specific the outline color of the text.
* **color**: Color of the text. Can be specified as a hex code (e.g., "`#FF0000`")
* **underline**: Whether to add underline for the text (`true/false`).
* **text\_align**: Horizontal alignment of the text within the text box. Options include `"left", "center", or "right"`.
* **vertical\_align**: Vertical alignment of the text within the text box. Options include `"top", "center", or "bottom"`.
* **z\_index**: Determines the stacking order of elements. Higher values are drawn on top of elements with lower values.
* **emoji\_position\_offset**: A float value used to adjust the vertical position of emojis. The actual offset is calculated by multiplying `emoji_position_offset` with the line height. Positive values move emojis down, while negative values move them up. For example, 0.2 will move emojis down by 20% of the line height, while -0.1 will move emojis up by 10% of the line height.
**Image Box Configuration**
Each image box in the `boxes` array can have the following properties:
* **image**: URL or path of the image to be added.
* **position**: \[x, y] coordinates for the top-left corner of the image.
* **size**: \[width, height] to which the image should be resized.
* **rotation**: The rotation angle of the image.
**Usage**
1. The widget uses the specified template image as a base.
2. It then overlays text onto this image according to the `boxes` configuration.
3. Text content can be dynamically populated using variables (e.g., `{{random_text}}`, `{{context.user_name}}`).
**Input Parameters**
<table><thead><tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>config</td><td><code>string</code></td><td>The configuration of the image text fuser</td><td></td><td>true</td></tr></tbody></table>
**Output Parameters**
| Name | Type | Description | File Type |
| ---- | -------- | --------------------------- | --------- |
| url | `string` | The url of the output image | |
**Output Example**
{% tabs %}
{% tab title="success" %}
{% code fullWidth="false" %}
```json
{
"url": "https://object-storage-16oh.lepton.ai/ws-k8d7q1rw/wojak/output/3acf63b5f6f148208ab4d02b0482d72d.png"
}
```
{% endcode %}
{% endtab %}
{% endtabs %}
### Notes
* The supported fonts now: `Oswald-Bold.ttf, Oswald-Regular.ttf, KronaOne-Regular.ttf, Caveat-Regular.ttf`
* Ensure that all specified fonts are available in the system where the widget is running.
* The `{{random_text}}` and `{{context.user_name}}` placeholders should be replaced with actual values before processing.
* Adjust text and image box sizes and positions as needed.
* When configuring this widget in a pro config, the entire `config` object needs to be written as a single line with proper escape characters. For example:
```json
{
"name": "any_module_example_task",
"module_type": "AnyWidgetModule",
"module_config": {
"widget_id": "1812381775823757312",
"config": "{\"template_path\": \"https://image.myshell.ai/image/chat/embed_obj/7758545/202407151553/shell-identity-03.jpg\", \"font\": \"Oswald-Regular.ttf\", \"boxes\": [{\"text\": \"some text here\", \"position\": [760,140], \"size\": [390,230], \"font_size\": 56, \"프로젝트로 돌아가기