{"id":28103172,"url":"https://github.com/unitygamestudio/alibaba-unity","last_synced_at":"2026-03-11T22:42:01.806Z","repository":{"id":287997979,"uuid":"966494098","full_name":"UnityGameStudio/Alibaba-Unity","owner":"UnityGameStudio","description":"A plugin that allows Qwen to be used inside Unity. An alternative tool to ChatGPT API. ","archived":false,"fork":false,"pushed_at":"2025-05-12T15:18:17.000Z","size":364,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T00:27:03.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UnityGameStudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-15T02:29:30.000Z","updated_at":"2025-05-12T15:18:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"21ffe3b2-7237-498b-a4c3-b1f73f5c3836","html_url":"https://github.com/UnityGameStudio/Alibaba-Unity","commit_stats":null,"previous_names":["unitygamestudio/alibaba-unity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UnityGameStudio/Alibaba-Unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnityGameStudio%2FAlibaba-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnityGameStudio%2FAlibaba-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnityGameStudio%2FAlibaba-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnityGameStudio%2FAlibaba-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnityGameStudio","download_url":"https://codeload.github.com/UnityGameStudio/Alibaba-Unity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnityGameStudio%2FAlibaba-Unity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30405645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T22:36:59.286Z","status":"ssl_error","status_checked_at":"2026-03-11T22:36:57.544Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-13T20:27:09.761Z","updated_at":"2026-03-11T22:42:01.790Z","avatar_url":"https://github.com/UnityGameStudio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alibaba-Unity\n\u003e Currently, this plugin is only suported on versions of Unity 2022.x and above\n\n# Installation\n\nThis plugin is provided as a custom Unity package that you can import into any existing project with the Unity version 2022.x and above.\n\nOnce you've downloaded the Unity package, you can drag the `AlibabaManager.prefab` into your scene (inside the `AlibabaCloud` folder). \n\n---\n\n# Setup\n\nAlibaba Cloud provides an alternative to ChatGPT for Unity developers. Here's a quick guide to setting up the Qwen Model through Alibaba Cloud:\n\n- Setup Guide: [Watch the YouTube tutorial](https://youtu.be/zDNpAP_KSp0)\n\n\n### Step 1: Login to your Alibaba Cloud account and create an application in your dashboard\nTo get started you will first need to fetch your Application ID, which can be found in the Alibaba Cloud Platform under `My Application` (or through [this direct link](https://bailian.console.alibabacloud.com/#/app-center)). Here, you can create a new Application and copy the ID value (you will need this ID for the next step).\n\n![](/AlibabaImages/AlibabaModelStudio.JPG)\n\nYou can select any model for your application. Nevertheless, I recommend using an \"OpenSource\" Model if they are available (Time-limited Free Trial).\n\n![](/AlibabaImages/SelectModel.JPG)\n\nCurrently, the Qwen2.5 Series is on Free Trial (Please, double check the model is on Free Trial before using it). \n\n![](/AlibabaImages/QwenModel.JPG)\n\n### Step 2: Inside your Alibaba Cloud account, create an API key\nTo continue you will need to fetch your API key, which can be found under `API-KEY` (or through [this direct link](https://bailian.console.alibabacloud.com/?tab=app#/api-key). Here, you can create a new API KEY (you will need this API KEY for the next step too).\n\n![](/AlibabaImages/APIKEY.JPG)\n\n![](/AlibabaImages/AlibabaModelStudioAPIKEY.JPG)\n\n### Step 3: Open the Unity Editor, configure the package, and start using Alibaba Cloud\nInside the package, you will find an `AlibabaManager.prefab` that you can drag into your Scene. This prefab contains a `AlibabaAPI.cs` script attach to it. Add your API Secret Key inside the `API Key` field, and your application ID inside the `App ID`. And, you can start using Alibaba Cloud.\n\n![](/AlibabaImages/AlibabaUI.JPG)\n\n\n# Functions\n\nThis plugin provides one main function called `SendPrompt(string promptText)`. This function contains an IEnumerator, `IEnumerator SendPromptRequestToDashScope()`, which sends a prompt to the Alibaba Cloud API and prints the response to the console by calling Debug.Log().\n\nThere is another function called `SendChat()`. This function contains an IEnumerator, `IEnumerator SendChatRequestToDashScope(string message)`, which saves your session_id so you can keep a conversation with the Alibaba Cloud API. All the responses are printed in the console through a Debug.Log().\n\nUnity connects with Alibaba API through https://dashscope-intl.aliyuncs.com/api/v1/apps/{0}/completion. \n\n# Usage\nAfter hitting on play, your Scene grabs the prompt you set inside `Your prompt` variable, and sends it to the Alibaba Cloud API. \n\nThere is an `Example` folder that contains a `Chat` scene. You can use this scene to interact directly with the API in a conversation. \n\n![](/AlibabaImages/ChatScene.JPG)\n\nAlibaba Cloud account offers a Pay-As-You-Go subscription to use the API. Nevertheless, it might be cheaper than ChatGPT API. \n\nAlibaba Cloud might offer you a Free Trial for different models during the first 30 days. \n\n![](/AlibabaImages/FreeTrial.JPG)\n\nAlibaba Cloud might offer you certain Open-source models. \n\n![](/AlibabaImages/FreeModels.JPG)\n\n\u003e Note that Alibaba Cloud is a paid API, I recommend using [Gemini](https://github.com/UnityGameStudio/Gemini-Unity-Package) instead, which is free upon certain amount of requests.\n\u003e Read the pricing details before using any service. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitygamestudio%2Falibaba-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funitygamestudio%2Falibaba-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funitygamestudio%2Falibaba-unity/lists"}