{"id":52,"date":"2025-03-01T14:25:41","date_gmt":"2025-03-01T14:25:41","guid":{"rendered":"https:\/\/blog.janeano.com\/?p=52"},"modified":"2025-03-01T14:25:42","modified_gmt":"2025-03-01T14:25:42","slug":"como-conectar-tu-cliente-ai-con-alibaba","status":"publish","type":"post","link":"https:\/\/blog.janeano.com\/index.php\/2025\/03\/01\/como-conectar-tu-cliente-ai-con-alibaba\/","title":{"rendered":"Como conectar tu cliente AI con Alibaba"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>C\u00f3mo Hacer tu Primera Llamada API a Qwen de Alibaba y Conectarlo con MSTY<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Si est\u00e1s interesado en utilizar el modelo Qwen de Alibaba y conectarlo con <strong>MSTY<\/strong>, sigue estos pasos detallados. Esto te permitir\u00e1 configurar tu entorno y hacer una llamada API exitosa.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39 <strong>1. Crear una Cuenta en Alibaba Cloud<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Si a\u00fan no tienes una cuenta en <strong>Alibaba Cloud<\/strong>, reg\u00edstrate en su portal. Aseg\u00farate de activar <strong>Model Studio<\/strong> para obtener la cuota gratuita y crear tus credenciales de API.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39 <strong>2. Obtener la Clave API<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Dir\u00edgete a la consola de <strong>Model Studio<\/strong>.<\/li>\n\n\n\n<li>En la parte superior derecha, selecciona <strong>API-KEY<\/strong>.<\/li>\n\n\n\n<li>Crea una nueva <strong>API Key<\/strong>. Si est\u00e1s utilizando un espacio de trabajo subalterno, aseg\u00farate de que est\u00e9 autorizado para usar los modelos.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd39 <strong>3. Configurar la Clave API como Variable de Entorno<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Para mantener segura tu clave API, es recomendable configurarla como una variable de entorno. Esto reduce el riesgo de exposici\u00f3n en el c\u00f3digo.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"104\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-1024x104.png\" alt=\"\" class=\"wp-image-55\" srcset=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-1024x104.png 1024w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-300x31.png 300w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-768x78.png 768w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-370x38.png 370w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-760x77.png 760w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-600x61.png 600w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1.png 1266w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">agregamos la url:<br>https:\/\/dashscope-intl.aliyuncs.com\/compatible-mode\/v1<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"593\" height=\"1005\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image.png\" alt=\"\" class=\"wp-image-54\" style=\"width:454px;height:auto\" srcset=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image.png 593w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-177x300.png 177w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-370x627.png 370w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Presionamos <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"117\" height=\"30\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-2.png\" alt=\"\" class=\"wp-image-56\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">y cargaran  lo modelos.<br>Para obtener la API de Aliaba y usar Qwen Max \/ Plus y Turbo<br>nos dirigimos a<br><a href=\"https:\/\/bailian.console.alibabacloud.com\/?spm=a3c0i.29328889.9325669630.7.4a912d2fnsTc5H\">https:\/\/bailian.console.alibabacloud.com\/?spm=a3c0i.29328889.9325669630.7.4a912d2fnsTc5H<\/a><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"233\" height=\"183\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-57\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ahora agregas dicha API a Msty y listo<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><br><strong>How to Make Your First API Call to Qwen from Alibaba and Connect It with MSTY<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re interested in using Alibaba&#8217;s Qwen model and connecting it with MSTY, follow these detailed steps. This will allow you to set up your environment and make a successful API call.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udd39 <strong>1. Create an Account on Alibaba Cloud<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t have an Alibaba Cloud account yet, register on their portal. Be sure to activate Model Studio to get the free quota and create your API credentials.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udd39 <strong>2. Obtain the API Key<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the Model Studio console.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the top right corner, select <strong>API-KEY<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new API Key. If you&#8217;re using a sub-workspace, make sure it is authorized to use the models.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udd39 <strong>3. Set the API Key as an Environment Variable<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To keep your API key secure, it is recommended to set it as an environment variable. This reduces the risk of exposure in the code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"104\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-1024x104.png\" alt=\"\" class=\"wp-image-55\" srcset=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-1024x104.png 1024w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-300x31.png 300w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-768x78.png 768w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-370x38.png 370w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-760x77.png 760w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1-600x61.png 600w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-1.png 1266w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"593\" height=\"1005\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image.png\" alt=\"\" class=\"wp-image-54\" style=\"width:454px;height:auto\" srcset=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image.png 593w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-177x300.png 177w, https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-370x627.png 370w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Add the following URL:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">arduinoCopiarEditar<code>https:\/\/dashscope-intl.aliyuncs.com\/compatible-mode\/v1\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Submit<\/strong>, and the models will load.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"117\" height=\"30\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-2.png\" alt=\"\" class=\"wp-image-56\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To obtain the Alibaba API and use Qwen Max\/Plus and Turbo, go to: <a href=\"https:\/\/bailian.console.alibabacloud.com\/?spm=a3c0i.29328889.9325669630.7.4a912d2fnsTc5H\">Alibaba Console for API<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"233\" height=\"183\" src=\"https:\/\/blog.janeano.com\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-57\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Now, add this API to MSTY, and you&#8217;re all set!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u00f3mo Hacer tu Primera Llamada API a Qwen de Alibaba y Conectarlo con MSTY Si est\u00e1s interesado en utilizar el modelo Qwen de Alibaba y conectarlo con MSTY, sigue estos pasos detallados. Esto te permitir\u00e1 configurar tu entorno y hacer una llamada API exitosa. \ud83d\udd39 1. Crear una Cuenta en Alibaba Cloud Si a\u00fan no tienes una cuenta en Alibaba&hellip;<\/p>\n","protected":false},"author":1,"featured_media":53,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,17],"tags":[50,29,46,53,37,45,32,43,39,30,28,48,31,40,34,49,47,51,42,38,33,44,41,25,26,27,35,52,36],"class_list":["post-52","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-solutions","tag-alibaba-cloud","tag-api-de-alibaba","tag-api-para-empresas","tag-automatizacion-con-ia","tag-desarrollo-de-software","tag-integracion-de-api","tag-inteligencia-artificial","tag-inteligencia-artificial-en-la-nube","tag-llamada-a-la-api","tag-llamada-api-qwen","tag-model-studio","tag-modelos-de-ai","tag-modelos-de-lenguaje","tag-nlp","tag-openai","tag-optimizacion-de-api","tag-procesamiento-de-lenguaje-natural","tag-programacion-con-ai","tag-programacion-python","tag-python-sdk","tag-qwen-api","tag-qwen-chatbot","tag-qwen-integracion","tag-qwen-max","tag-qwen-plus","tag-qwen-turbo","tag-soluciones-de-ia-para-negocios","tag-tecnologia-de-vanguardia","tag-tecnologia-en-la-nube"],"_links":{"self":[{"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":1,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/posts\/52\/revisions\/58"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/media\/53"}],"wp:attachment":[{"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.janeano.com\/index.php\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}