Cloud Infinite

Cloud Infinite
Getting Started
Product Documentation©2013-2022 Tencent Cloud. All rights reserved.

Page 1 of 14

Cloud Infinite

Copyright Notice©2013-2024 Tencent Cloud. All rights reserved.
Copyright in this document is exclusively owned by Tencent Cloud. You must not reproduce, modify, copy or distributein any way, in whole or in part, the contents of this document without Tencent Cloud's the prior written consent.
Trademark Notice

All trademarks associated with Tencent Cloud and its services are owned by Tencent Cloud Computing (Beijing)
Company Limited and its affiliated companies. Trademarks of third parties referred to in this document are owned bytheir respective proprietors.
Service Statement
This document is intended to provide users with general information about Tencent Cloud's products and services
only and does not form part of Tencent Cloud's terms and conditions. Tencent Cloud's products or services aresubject to change. Specific products and services and the standards applicable to them are exclusively provided for inTencent Cloud's applicable terms and conditions.

©2013-2022 Tencent Cloud. All rights reserved.

Page 2 of 14

Cloud Infinite

Contents
Getting Started
Registering and Logging In
Bind Bucket
Uploading and Processing File
Downloading and Deleting Images
Unbinding Buckets
Using CI via COS©2013-2022 Tencent Cloud. All rights reserved.

Page 3 of 14

Cloud Infinite

Getting Started
Registering and Logging In：

Last updated 2024-01-31 16:39:39

Signing Up for a Tencent Cloud AccountWhen using Tencent Cloud CI for the first time, you need to sign up for a Tencent Cloud account.
If you already have a Tencent Cloud account, proceed to Logging in to CI Console.
If you have no Tencent Cloud account yet, go to the Tencent Cloud registration page to create one. For detailed
instructions, see Signing Up for a Tencent Cloud Account.

Logging In to CI Console
After completing the registration, log in to CI Console.

©2013-2022 Tencent Cloud. All rights reserved.

Page 4 of 14

Cloud Infinite

Bind Bucket：

Last updated 2024-01-31 16:39:39
CI provides the storage feature based on Cloud Object Storage (COS). A bucket is a carrier that stores images inCOS. You can use the Tencent Cloud console, API, or SDK to create and manage buckets. A bucket can store
multiple objects.

Directions
You can bind or create a bucket in the CI console and customize it after the creation.
1. Log in to the CI console and click Bucket Management in the left sidebar to go to the Bucket Management
page.
2. Click Bind Bucket. The Bind Bucket dialog box appears.
3. Select Bind an existing COS bucket or Create.
If you select Bind an existing COS bucket, specify the bucket name.
If you select Create, enter a custom name for the bucket, select a region and access permission, and set whether toenable CDN acceleration. Then, click OK to create the bucket. For more information on the configuration items, see"Notes".

©2013-2022 Tencent Cloud. All rights reserved.

Page 5 of 14

Cloud Infinite

Notes
Methods of adding a bucket
There are two methods to add a bucket:
Create a bucket. Since the storage feature of CI is based on COS, you can query the newly created bucket in the COS
console.
Select an existing COS bucket. If you choose to use this method, you are actually activating the image processing
service for an existing bucket in COS.
Note:
You can bind up to 200 buckets across regions, but the numbers of directories and files in a bucket are unlimited.

Project©2013-2022 Tencent Cloud. All rights reserved.

Page 6 of 14

Cloud Infinite

A bucket is created under a project and belongs to only one project. The project cannot be changed once it isselected.

Namea. The bucket name is a string with up to 50 characters and contains only digits, lowercase letters, and hyphens (-).
b. The bucket name must be unique across all projects under the same APPID.

RegionCI supports multi-region storage. For more information on regions where this feature is available, see Regions andDomain Names. When creating a bucket, you can select a region for the bucket. The region cannot be changed once
selected. To improve the access speed, we recommend that you select a region close to your location.

Access permissions
The following three access permissions are granted for a bucket by default:
Private Read/Write: only the bucket creator and authorized accounts have permission to read and write objects in thebucket.
Public Read/Private Write: anyone, including anonymous visitors, can read objects in the bucket. However, only thebucket creator and authorized accounts can write objects in the bucket.
Public Read/Write: anyone, including anonymous visitors, can read and write objects in the bucket. We recommendthat you do not select this access permission.
Note:
You can modify the access permission in the COS console later when needed.

CDN acceleration
CDN acceleration is disabled by default. You can enable or disable it as needed. When CDN acceleration is enabled,users can accelerate access by transferring files through Tencent CDN nodes.

©2013-2022 Tencent Cloud. All rights reserved.

Page 7 of 14

Cloud Infinite

Uploading and Processing File：

Last updated 2024-01-31 16:39:39
After successfully creating a bucket, you can upload files to it and process them in the following steps.

Directions
Uploading files
1. Log in to the CI console.
2. Click Bucket Management on the left sidebar to enter the bucket list.
3. Click Manage in the Operation column on the right of the target bucket to enter the bucket management page.
4. Select File Management on the left sidebar and click Upload Files.
5. Click Select Files in the pop-up window and select the target file.
6. Click OK.
If the uploaded file is displayed in the file list, the upload is successful.
Note
If you upload a file that has the same name as an existing file, the existing file will be overwritten.

Processing files
Note
The following is the image scaling procedure. For more file processing operations, see the CI API documentation.
1. Log in to the CI console.
2. Click Bucket Management on the left sidebar to enter the bucket list.
3. Click Manage in the Operation column on the right of the target bucket to enter the bucket management page.
4. In the file list, find the target file and click Details on the right.
5. In the pop-up window, copy the URL of the image.
6. Open your browser and add processing parameters in the following format in the address bar.

©2013-2022 Tencent Cloud. All rights reserved.

Page 8 of 14

Cloud Infinite

Image URL?processing API name/processing operation name/processing parameter
Note:
If the access permission on the image file is private-read, you need to add image processing parameters to the signedaddress.
Scaling API: imageMogr2
Scaling operation name: thumbnail
Processing parameter: !50p©2013-2022 Tencent Cloud. All rights reserved.

Page 9 of 14

Cloud Infinite

The address with parameters added is https://examplebucket-1250000000.cos.apchengdu.myqcloud.com/sample.jpeg?imageMogr2/thumbnail/!50p .
Paste this URL to your address bar. Then you will see the scaled image shown as below:©2013-2022 Tencent Cloud. All rights reserved.

Page 10 of 14

Cloud Infinite

Downloading and Deleting Images：

Last updated 2024-01-31 16:39:39

Downloading Files
After files are uploaded to a bucket, you can download them as needed. To do this, perform the following steps:
1. Log in to the CI console.
2. Find the bucket where your desired file is located and click Manage in the Operation column to go to the bucket
management page.
3. Select the File Management tab in the left sidebar, find the target file from the file list, and click Download todownload the file.

Deleting Files
To delete files from a bucket, complete the following steps:
1. Log in to the CI console.
2. Find the bucket where your file is located and click Manage in the Operation column to go to the bucket
management page.
3. Select File Management in the left sidebar, find the target file from the file list, and click Delete to delete the file.

©2013-2022 Tencent Cloud. All rights reserved.

Page 11 of 14

Cloud Infinite

4. Click OK to delete the file.

©2013-2022 Tencent Cloud. All rights reserved.

Page 12 of 14

Cloud Infinite

Unbinding Buckets：

Last updated 2024-01-31 16:39:39
If you no longer need a bucket, you can unbind it. This document describes how to unbind buckets that are no longer
needed.
Note:
At present, you cannot delete buckets in CI Console. For information on how to delete buckets, see Deleting Buckets
for COS.

Directions
1. Log in to CI Console, find the bucket that you want to unbind, click Unbind on the right, and the bucket unbinding
dialog box appears.

Note:
After a bucket is unbound, it is removed from the bucket list in CI Console, but COS retains the bucket and all its files,
which can be viewed in COS Console.
2. Click OK to unbind the bucket.

©2013-2022 Tencent Cloud. All rights reserved.

Page 13 of 14

Cloud Infinite

Using CI via COS：

Last updated 2024-01-31 16:39:39

Overview
CI depends on COS to process data. You can use the COS console/SDK to quickly use CI services such as content
moderation and media processing. This document describes the precautions for using CI via COS and how to use it.
Note:
Using CI incurs data processing fees, and the storage and traffic fees incurred will be charged by COS. For detailed
pricing, please see Billing Overview.

Prerequisites
You have activated COS and created a bucket. If you haven’t, go to the COS console to activate COS and create abucket as instructed.
You have activated CI. If you haven’t, go to the CI console to activate it as instructed.

Directions
1. Create a bucket via the COS console and upload the files to process to the bucket.
2. On the left sidebar of the COS console, click Bucket List and then click the name of the created bucket.
3. On the bucket management page, use the following full data processing capabilities of CI:
Content moderation
Data processing
Workflow
4. CI’s data processing capabilities have also been integrated into COS SDKs. For the calling directions, please see
SDK Overview.

©2013-2022 Tencent Cloud. All rights reserved.

Page 14 of 14