Tüm Ürünler
Search
Belge Merkezi

:QuerySimilarImageClusters

Son Güncelleme:Oct 10, 2026

Benzer görüntü kümelerinin listesini sorgular.

Operation description

  • Bu işlemi çağırmadan önce, Akıllı Medya Yönetimi (IMM) faturalandırması hakkında bilgi sahibi olduğunuzdan emin olun.****

  • Bu işlemi çağırmadan önce, veri kümesindeki benzer görüntüleri kümelemek için CreateSimilarImageClusteringTask işlemini çağırmanız gerekir.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

imm:QuerySimilarImageClusters

list

*Dataset

acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Projenin adı. Daha fazla bilgi için CreateProject sayfasına bakın.

test-project

DatasetName

string

Yes

Veri kümesinin adı. Daha fazla bilgi için Veri kümesi oluşturma sayfasına bakın.

test-dataset

NextToken

string

No

Sayfalama belirteci.

Toplam küme sayısı MaxResults değerinden büyükse bu parametreyi belirtmeniz gerekir. İşlemin bir sonraki çağrısı, NextToken parametre değerinden sonra sözlük sırasına göre sonuçları döndürür.

Not

Bu işlemi bir sorguda ilk kez çağırırken bu parametreyi null olarak ayarlayın.

CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****

MaxResults

integer

No

Sayfa başına giriş sayısı. Değer aralığı: 0 ile 100 arası. Varsayılan değer: 100.

20

CustomLabels

string

No

Görevleri filtrelemek için kullanılan özel etiketler.

{"key": "val"}

Sort

string

No

Sıralama alanı.

  • CreateTime: Kümelerin oluşturulduğu zaman.

  • UpdateTime: Kümelerin güncellendiği zaman. Bu, varsayılan değerdir.

UpdateTime

Order

string

No

Sıralama düzeni. Geçerli değerler:

  • asc: Artan düzen.

  • desc: Azalan düzen. Bu, varsayılan değerdir.

asc

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

CA995EFD-083D-4F40-BE8A-BDF75FFF****

SimilarImageClusters

array

Benzer görüntü kümelerinin listesi.

SimilarImageCluster

Benzer görüntü kümelerine ilişkin bilgiler.

NextToken

string

Sayfalama belirteci. Toplam küme sayısı MaxResults değerinden büyükse, bir sonraki sayfayı almak için bu belirteç kullanılabilir. Bu parametre, yalnızca koşulu karşılayan kümelerin tamamı döndürülmediğinde bir değere sahip olur.

Sonraki kümeleri döndürmek için bu değeri bir sonraki sorguda NextToken değeri olarak iletin.

CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****

Examples

Success response

JSON format

{
  "RequestId": "CA995EFD-083D-4F40-BE8A-BDF75FFF****\n",
  "SimilarImageClusters": [
    {
      "ObjectId": "SimilarImageCluster-748a041e-4ebc-4487-9e74-9c89b1****",
      "UpdateTime": "2023-02-08T09:42:34.354969088+08:00",
      "CreateTime": "2023-02-08T09:42:34.354969088+08:00",
      "CustomLabels": {
        "test": "test",
        "test2": 1
      },
      "Files": [
        {
          "URI": "oss://test-bucket/test-object",
          "ImageScore": 0.709
        }
      ]
    }
  ],
  "NextToken": "CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.